public class CAP2NA_Info extends AbstractFieldsObject
NA-Info ::= SEQUENCE { naCarrierInformation NACarrierInformation OPTIONAL, naOliInfo NAOliInfo OPTIONAL, naChargeNumber NAChargeNumber OPTIONAL, ... }
Used as field type by CAP2EstablishTemporaryConnectionArg
.
Used as field type by CAP2ConnectArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP2NA_Info()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP2NA_Info |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP2NA_Info |
copyOf(CAP2NA_Info 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.
|
CAP2NACarrierInformation |
getNaCarrierInformation()
Gets the value of the field naCarrierInformation.
|
byte[] |
getNaChargeNumber()
Gets the value of the field naChargeNumber.
|
byte[] |
getNaOliInfo()
Gets the value of the field naOliInfo.
|
boolean |
hasNaCarrierInformation()
Tests whether the field naCarrierInformation has a value.
|
boolean |
hasNaChargeNumber()
Tests whether the field naChargeNumber has a value.
|
boolean |
hasNaOliInfo()
Tests whether the field naOliInfo has a value.
|
CAP2NA_Info |
setNaCarrierInformation(CAP2NACarrierInformation value)
Sets the value of the field naCarrierInformation.
|
CAP2NA_Info |
setNaChargeNumber(byte[] value)
Sets the value of the field naChargeNumber.
|
CAP2NA_Info |
setNaOliInfo(byte[] value)
Sets the value of the field naOliInfo.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP2NA_Info clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP2NA_Info copyOf(CAP2NA_Info 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 CAP2NACarrierInformation getNaCarrierInformation()
public byte[] getNaChargeNumber()
public byte[] getNaOliInfo()
public boolean hasNaCarrierInformation()
public boolean hasNaChargeNumber()
public boolean hasNaOliInfo()
public CAP2NA_Info setNaCarrierInformation(CAP2NACarrierInformation value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2NA_Info setNaChargeNumber(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP2NA_Info setNaOliInfo(byte[] 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