public class MAPAbsentSubscriberSM_Param extends AbstractFieldsObject
AbsentSubscriberSM-Param ::= SEQUENCE { absentSubscriberDiagnosticSM AbsentSubscriberDiagnosticSM OPTIONAL, -- AbsentSubscriberDiagnosticSM can be either for non-GPRS or for GPRS. extensionContainer ExtensionContainer OPTIONAL, ... additionalAbsentSubscriberDiagnosticSM AbsentSubscriberDiagnosticSM OPTIONAL -- Added in R97. If received, additionalAbsentSubscriberDiagnosticSM is for GPRS and absentSubscriberDiagnosticSM is for non-GPRS. }Added in R96.
Used as parameter type by MAPErrors.absentSubscriberSM
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAbsentSubscriberSM_Param()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPAbsentSubscriberSM_Param |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAbsentSubscriberSM_Param |
copyOf(MAPAbsentSubscriberSM_Param 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.
|
int |
getAbsentSubscriberDiagnosticSM()
Gets the value of the field absentSubscriberDiagnosticSM.
|
int |
getAdditionalAbsentSubscriberDiagnosticSM()
Gets the value of the field additionalAbsentSubscriberDiagnosticSM.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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 field-name to field-value.
|
boolean |
hasAbsentSubscriberDiagnosticSM()
Tests whether the field absentSubscriberDiagnosticSM has a value.
|
boolean |
hasAdditionalAbsentSubscriberDiagnosticSM()
Tests whether the field additionalAbsentSubscriberDiagnosticSM has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
MAPAbsentSubscriberSM_Param |
setAbsentSubscriberDiagnosticSM(int value)
Sets the value of the field absentSubscriberDiagnosticSM and marks the field as present.
|
MAPAbsentSubscriberSM_Param |
setAbsentSubscriberDiagnosticSMPresent(boolean flag)
Sets the presence or absence of the optional field absentSubscriberDiagnosticSM.
|
MAPAbsentSubscriberSM_Param |
setAdditionalAbsentSubscriberDiagnosticSM(int value)
Sets the value of the field additionalAbsentSubscriberDiagnosticSM and marks the field as present.
|
MAPAbsentSubscriberSM_Param |
setAdditionalAbsentSubscriberDiagnosticSMPresent(boolean flag)
Sets the presence or absence of the optional field additionalAbsentSubscriberDiagnosticSM.
|
MAPAbsentSubscriberSM_Param |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPAbsentSubscriberSM_Param()
public MAPAbsentSubscriberSM_Param clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAbsentSubscriberSM_Param copyOf(MAPAbsentSubscriberSM_Param from)
from
- the object from which to copypublic int getAbsentSubscriberDiagnosticSM()
public int getAdditionalAbsentSubscriberDiagnosticSM()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic boolean hasAbsentSubscriberDiagnosticSM()
public boolean hasAdditionalAbsentSubscriberDiagnosticSM()
public boolean hasExtensionContainer()
public MAPAbsentSubscriberSM_Param setAbsentSubscriberDiagnosticSM(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAbsentSubscriberSM_Param setAbsentSubscriberDiagnosticSMPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic MAPAbsentSubscriberSM_Param setAdditionalAbsentSubscriberDiagnosticSM(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPAbsentSubscriberSM_Param setAdditionalAbsentSubscriberDiagnosticSMPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-onlypublic MAPAbsentSubscriberSM_Param setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject