public class CAP3EventSpecificInformationSMS extends AbstractFieldsObject
EventSpecificInformationSMS ::=
CHOICE {
o-smsFailureSpecificInfo SEQUENCE {
failureCause SMSCause OPTIONAL,
...
},
o-smsSubmittedSpecificInfo SEQUENCE {
...
}
}
CAP-datatypes {
EventSpecificInformationSMS {
@extendible
}
}
Used as field type by CAP3EventReportSMSArg.
| Modifier and Type | Class and Description |
|---|---|
static class |
CAP3EventSpecificInformationSMS.Choice
API for CAP-datatypes.EventSpecificInformationSMS.Choice.
|
static class |
CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo
API for CAP-datatypes.EventSpecificInformationSMS.o-smsFailureSpecificInfo.
|
static class |
CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo
API for CAP-datatypes.EventSpecificInformationSMS.o-smsSubmittedSpecificInfo.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP3EventSpecificInformationSMS() |
| Modifier and Type | Method and Description |
|---|---|
CAP3EventSpecificInformationSMS |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3EventSpecificInformationSMS |
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.
|
CAP3EventSpecificInformationSMS.Choice |
getChoice()
Gets the discriminant of the current 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.
|
CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo |
getO_smsFailureSpecificInfo()
Gets the value of the o-smsFailureSpecificInfo choice.
|
CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo |
getO_smsSubmittedSpecificInfo()
Gets the value of the o-smsSubmittedSpecificInfo choice.
|
boolean |
isO_smsFailureSpecificInfoChosen()
Tests whether the choice is o-smsFailureSpecificInfo.
|
boolean |
isO_smsSubmittedSpecificInfoChosen()
Tests whether the choice is o-smsSubmittedSpecificInfo.
|
protected void |
setChoice(CAP3EventSpecificInformationSMS.Choice arg)
Sets the discriminant of the current choice.
|
CAP3EventSpecificInformationSMS |
setO_smsFailureSpecificInfo(CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo value)
Sets the value of the o-smsFailureSpecificInfo choice.
|
CAP3EventSpecificInformationSMS |
setO_smsSubmittedSpecificInfo(CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo value)
Sets the value of the o-smsSubmittedSpecificInfo choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP3EventSpecificInformationSMS clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP3EventSpecificInformationSMS copyOf(CAP3EventSpecificInformationSMS from)
from - the object from which to copypublic CAP3EventSpecificInformationSMS.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo getO_smsFailureSpecificInfo()
public CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo getO_smsSubmittedSpecificInfo()
public boolean isO_smsFailureSpecificInfoChosen()
public boolean isO_smsSubmittedSpecificInfoChosen()
protected void setChoice(CAP3EventSpecificInformationSMS.Choice arg)
arg - the new discriminantpublic CAP3EventSpecificInformationSMS setO_smsFailureSpecificInfo(CAP3EventSpecificInformationSMS.O_smsFailureSpecificInfo 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 CAP3EventSpecificInformationSMS setO_smsSubmittedSpecificInfo(CAP3EventSpecificInformationSMS.O_smsSubmittedSpecificInfo 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 DataObjectsetReadOnly in class AbstractDataObject