Class CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo
public static class CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents extends AbstractFieldsObject
API for CAP-datatypes.EventSpecificInformationBCSM.oMidCallSpecificInfo.midCallEvents. Generated from the following ASN.1 type definition and the adaptations below.midCallEvents ::= CHOICE { dTMFDigitsCompleted Digits, dTMFDigitsTimeOut Digits } CAP-datatypes { EventSpecificInformationBCSM { oMidCallSpecificInfo { midCallEvents { dTMFDigitsCompleted { @import com.opencloud.slee.resources.in.datatypes.cc.GenericDigitsWithStarHash @api { @useAPIType com.opencloud.slee.resources.in.datatypes.cc.GenericDigits } } dTMFDigitsTimeOut { @import com.opencloud.slee.resources.in.datatypes.cc.GenericDigitsWithStarHash @api { @useAPIType com.opencloud.slee.resources.in.datatypes.cc.GenericDigits } } } } } }
Used as field type by
CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents.Choice
API for CAP-datatypes.EventSpecificInformationBCSM.oMidCallSpecificInfo.midCallEvents.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MidCallEvents()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
clone()
Constructs a copy of this object and everything reachable from it.static CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
copyOf(CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents 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.CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents.Choice
getChoice()
Gets the discriminant of the current choice.GenericDigits
getDTMFDigitsCompleted()
Gets the value of the dTMFDigitsCompleted choice.GenericDigits
getDTMFDigitsTimeOut()
Gets the value of the dTMFDigitsTimeOut 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
isDTMFDigitsCompletedChosen()
Tests whether the choice is dTMFDigitsCompleted.boolean
isDTMFDigitsTimeOutChosen()
Tests whether the choice is dTMFDigitsTimeOut.CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
setDTMFDigitsCompleted(GenericDigits value)
Sets the value of the dTMFDigitsCompleted choice.CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
setDTMFDigitsTimeOut(GenericDigits value)
Sets the value of the dTMFDigitsTimeOut choice.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents copyOf(CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents 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.- Parameters:
from
- the object from which to copy- Returns:
- CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents
-
getChoice
public CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getDTMFDigitsCompleted
public GenericDigits getDTMFDigitsCompleted()
Gets the value of the dTMFDigitsCompleted choice.- Returns:
- value of the choice, if choice is dTMFDigitsCompleted, else null
-
getDTMFDigitsTimeOut
public GenericDigits getDTMFDigitsTimeOut()
Gets the value of the dTMFDigitsTimeOut choice.- Returns:
- value of the choice, if choice is dTMFDigitsTimeOut, else null
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
isDTMFDigitsCompletedChosen
public boolean isDTMFDigitsCompletedChosen()
Tests whether the choice is dTMFDigitsCompleted.- Returns:
- true if chosen, false if not
-
isDTMFDigitsTimeOutChosen
public boolean isDTMFDigitsTimeOutChosen()
Tests whether the choice is dTMFDigitsTimeOut.- Returns:
- true if chosen, false if not
-
setDTMFDigitsCompleted
public CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents setDTMFDigitsCompleted(GenericDigits value) throws IllegalStateException, NullPointerException
Sets the value of the dTMFDigitsCompleted choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setDTMFDigitsTimeOut
public CAP4EventSpecificInformationBCSM.OMidCallSpecificInfo.MidCallEvents setDTMFDigitsTimeOut(GenericDigits value) throws IllegalStateException, NullPointerException
Sets the value of the dTMFDigitsTimeOut choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-