Class CAP4EventSpecificInformationSMS
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP3EventSpecificInformationSMS
-
- CAP4EventSpecificInformationSMS
-
- All Implemented Interfaces:
DataObject,Serializable
public class CAP4EventSpecificInformationSMS extends CAP3EventSpecificInformationSMS
API for CAP-datatypes.EventSpecificInformationSMS. Generated from the following ASN.1 type definition and the adaptations below.EventSpecificInformationSMS ::= CHOICE { o-smsFailureSpecificInfo SEQUENCE { failureCause MO-SMSCause OPTIONAL, ... }, o-smsSubmissionSpecificInfo SEQUENCE { ... }, t-smsFailureSpecificInfo SEQUENCE { failureCause MT-SMSCause OPTIONAL, ... }, t-smsDeliverySpecificInfo SEQUENCE { ... } } CAP-datatypes { EventSpecificInformationSMS { @parentType com.opencloud.slee.resources.cgin.cap_v3.CAP3EventSpecificInformationSMS } }- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCAP4EventSpecificInformationSMS.ChoiceAPI for CAP-datatypes.EventSpecificInformationSMS.Choice.static classCAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfoAPI for CAP-datatypes.EventSpecificInformationSMS.o-smsSubmissionSpecificInfo.static classCAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfoAPI for CAP-datatypes.EventSpecificInformationSMS.t-smsDeliverySpecificInfo.static classCAP4EventSpecificInformationSMS.T_smsFailureSpecificInfoAPI for CAP-datatypes.EventSpecificInformationSMS.t-smsFailureSpecificInfo.-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.cgin.cap_v3.CAP3EventSpecificInformationSMS
CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo, CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4EventSpecificInformationSMS()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4EventSpecificInformationSMSclone()Constructs a copy of this object and everything reachable from it.static CAP4EventSpecificInformationSMScopyOf(CAP3EventSpecificInformationSMS 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.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.CAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfogetO_smsSubmissionSpecificInfo()Gets the value of the o-smsSubmissionSpecificInfo choice.CAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfogetT_smsDeliverySpecificInfo()Gets the value of the t-smsDeliverySpecificInfo choice.CAP4EventSpecificInformationSMS.T_smsFailureSpecificInfogetT_smsFailureSpecificInfo()Gets the value of the t-smsFailureSpecificInfo choice.booleanisO_smsSubmissionSpecificInfoChosen()Tests whether the choice is o-smsSubmissionSpecificInfo.booleanisT_smsDeliverySpecificInfoChosen()Tests whether the choice is t-smsDeliverySpecificInfo.booleanisT_smsFailureSpecificInfoChosen()Tests whether the choice is t-smsFailureSpecificInfo.CAP4EventSpecificInformationSMSsetO_smsFailureSpecificInfo(CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo value)Sets the value of the o-smsFailureSpecificInfo choice.CAP4EventSpecificInformationSMSsetO_smsSubmissionSpecificInfo(CAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfo value)Sets the value of the o-smsSubmissionSpecificInfo choice.voidsetReadOnly()Sets this and all its fields to be immutable.CAP4EventSpecificInformationSMSsetT_smsDeliverySpecificInfo(CAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfo value)Sets the value of the t-smsDeliverySpecificInfo choice.CAP4EventSpecificInformationSMSsetT_smsFailureSpecificInfo(CAP4EventSpecificInformationSMS.T_smsFailureSpecificInfo value)Sets the value of the t-smsFailureSpecificInfo choice.-
Methods inherited from class com.opencloud.slee.resources.cgin.cap_v3.CAP3EventSpecificInformationSMS
getChoice, getO_smsFailureSpecificInfo, getO_smsSubmittedSpecificInfo, isO_smsFailureSpecificInfoChosen, isO_smsSubmittedSpecificInfoChosen, setChoice, setO_smsSubmittedSpecificInfo
-
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 CAP4EventSpecificInformationSMS clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classCAP3EventSpecificInformationSMS- Returns:
- copy of object
-
copyOf
public static CAP4EventSpecificInformationSMS copyOf(CAP3EventSpecificInformationSMS 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:
- CAP4EventSpecificInformationSMS
-
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.- Overrides:
getFieldsMapin classCAP3EventSpecificInformationSMS- Parameters:
withAbsents- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getO_smsSubmissionSpecificInfo
public CAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfo getO_smsSubmissionSpecificInfo()
Gets the value of the o-smsSubmissionSpecificInfo choice.- Returns:
- value of the choice, if choice is o-smsSubmissionSpecificInfo, else null
-
getT_smsDeliverySpecificInfo
public CAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfo getT_smsDeliverySpecificInfo()
Gets the value of the t-smsDeliverySpecificInfo choice.- Returns:
- value of the choice, if choice is t-smsDeliverySpecificInfo, else null
-
getT_smsFailureSpecificInfo
public CAP4EventSpecificInformationSMS.T_smsFailureSpecificInfo getT_smsFailureSpecificInfo()
Gets the value of the t-smsFailureSpecificInfo choice.- Returns:
- value of the choice, if choice is t-smsFailureSpecificInfo, else null
-
isO_smsSubmissionSpecificInfoChosen
public boolean isO_smsSubmissionSpecificInfoChosen()
Tests whether the choice is o-smsSubmissionSpecificInfo.- Returns:
- true if chosen, false if not
-
isT_smsDeliverySpecificInfoChosen
public boolean isT_smsDeliverySpecificInfoChosen()
Tests whether the choice is t-smsDeliverySpecificInfo.- Returns:
- true if chosen, false if not
-
isT_smsFailureSpecificInfoChosen
public boolean isT_smsFailureSpecificInfoChosen()
Tests whether the choice is t-smsFailureSpecificInfo.- Returns:
- true if chosen, false if not
-
setO_smsFailureSpecificInfo
public CAP4EventSpecificInformationSMS setO_smsFailureSpecificInfo(CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo value) throws IllegalStateException, NullPointerException
Sets the value of the o-smsFailureSpecificInfo choice.- Overrides:
setO_smsFailureSpecificInfoin classCAP3EventSpecificInformationSMS- 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
-
setO_smsSubmissionSpecificInfo
public CAP4EventSpecificInformationSMS setO_smsSubmissionSpecificInfo(CAP4EventSpecificInformationSMS.O_smsSubmissionSpecificInfo value) throws IllegalStateException, NullPointerException
Sets the value of the o-smsSubmissionSpecificInfo 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classCAP3EventSpecificInformationSMS
-
setT_smsDeliverySpecificInfo
public CAP4EventSpecificInformationSMS setT_smsDeliverySpecificInfo(CAP4EventSpecificInformationSMS.T_smsDeliverySpecificInfo value) throws IllegalStateException, NullPointerException
Sets the value of the t-smsDeliverySpecificInfo 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
-
setT_smsFailureSpecificInfo
public CAP4EventSpecificInformationSMS setT_smsFailureSpecificInfo(CAP4EventSpecificInformationSMS.T_smsFailureSpecificInfo value) throws IllegalStateException, NullPointerException
Sets the value of the t-smsFailureSpecificInfo 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
-
-