public class CAP2InitialDPArgExtension extends AbstractFieldsObject
InitialDPArgExtension ::= SEQUENCE { naCarrierInformation NACarrierInformation OPTIONAL, gmscAddress ISDN-AddressString OPTIONAL, ... }
Used as field type by CAP2InitialDPArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP2InitialDPArgExtension()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP2InitialDPArgExtension |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2InitialDPArgExtension |
copyOf(CAP2InitialDPArgExtension 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 field-name to field-value.
|
AddressString |
getGmscAddress()
Gets the value of the field gmscAddress.
|
CAP2NACarrierInformation |
getNaCarrierInformation()
Gets the value of the field naCarrierInformation.
|
boolean |
hasGmscAddress()
Tests whether the field gmscAddress has a value.
|
boolean |
hasNaCarrierInformation()
Tests whether the field naCarrierInformation has a value.
|
CAP2InitialDPArgExtension |
setGmscAddress(AddressString value)
Sets the value of the field gmscAddress.
|
CAP2InitialDPArgExtension |
setNaCarrierInformation(CAP2NACarrierInformation value)
Sets the value of the field naCarrierInformation.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP2InitialDPArgExtension()
public CAP2InitialDPArgExtension clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP2InitialDPArgExtension copyOf(CAP2InitialDPArgExtension from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic AddressString getGmscAddress()
public CAP2NACarrierInformation getNaCarrierInformation()
public boolean hasGmscAddress()
public boolean hasNaCarrierInformation()
public CAP2InitialDPArgExtension setGmscAddress(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2InitialDPArgExtension setNaCarrierInformation(CAP2NACarrierInformation 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