public class CS1RequestedInformationValue extends CCRequestedInformationValue
RequestedInformationValue ::= CHOICE { callAttemptElapsedTimeValue INTEGER (0..255), callStopTimeValue DateAndTime, callConnectedElapsedTimeValue Integer4, calledAddressValue Digits, releaseCauseValue Cause } Core-INAP-CS1-DataTypes { RequestedInformationValue { @parentType com.opencloud.slee.resources.cgin.callcontrol.CCRequestedInformationValue calledAddressValue { @import com.opencloud.slee.resources.in.datatypes.cc.GenericNumber } } }
Modifier and Type | Class and Description |
---|---|
static class |
CS1RequestedInformationValue.Choice
API for Core-INAP-CS1-DataTypes.RequestedInformationValue.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1RequestedInformationValue() |
Modifier and Type | Method and Description |
---|---|
CS1RequestedInformationValue |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1RequestedInformationValue |
copyOf(CCRequestedInformationValue from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
GenericNumber |
getCalledAddressValue()
Gets the value of the calledAddressValue choice.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value.
|
boolean |
isCalledAddressValueChosen()
Tests whether the choice is calledAddressValue.
|
CS1RequestedInformationValue |
setCallAttemptElapsedTimeValue(int value)
Sets the value of the callAttemptElapsedTimeValue choice.
|
CS1RequestedInformationValue |
setCallConnectedElapsedTimeValue(int value)
Sets the value of the callConnectedElapsedTimeValue choice.
|
CS1RequestedInformationValue |
setCalledAddressValue(GenericNumber value)
Sets the value of the calledAddressValue choice.
|
CS1RequestedInformationValue |
setCallStopTimeValue(DateAndTime value)
Sets the value of the callStopTimeValue choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CS1RequestedInformationValue |
setReleaseCauseValue(Cause value)
Sets the value of the releaseCauseValue choice.
|
getCallAttemptElapsedTimeValue, getCallConnectedElapsedTimeValue, getCallStopTimeValue, getChoice, getReleaseCauseValue, isCallAttemptElapsedTimeValueChosen, isCallConnectedElapsedTimeValueChosen, isCallStopTimeValueChosen, isReleaseCauseValueChosen, setChoice
equals, hashCode, toString
checkModify, isReadOnly
public CS1RequestedInformationValue clone()
clone
in interface DataObject
clone
in class CCRequestedInformationValue
public static CS1RequestedInformationValue copyOf(CCRequestedInformationValue from)
from
- the object from which to copypublic GenericNumber getCalledAddressValue()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CCRequestedInformationValue
withAbsents
- ignored, as value cannot be optionalpublic boolean isCalledAddressValueChosen()
public CS1RequestedInformationValue setCallAttemptElapsedTimeValue(int value) throws IllegalStateException
setCallAttemptElapsedTimeValue
in class CCRequestedInformationValue
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlypublic CS1RequestedInformationValue setCallConnectedElapsedTimeValue(int value) throws IllegalStateException
setCallConnectedElapsedTimeValue
in class CCRequestedInformationValue
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlypublic CS1RequestedInformationValue setCallStopTimeValue(DateAndTime value) throws IllegalStateException, NullPointerException
setCallStopTimeValue
in class CCRequestedInformationValue
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic CS1RequestedInformationValue setCalledAddressValue(GenericNumber value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class CCRequestedInformationValue
public CS1RequestedInformationValue setReleaseCauseValue(Cause value) throws IllegalStateException, NullPointerException
setReleaseCauseValue
in class CCRequestedInformationValue
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null