public class MAPStateAttributes extends AbstractFieldsObject
StateAttributes ::= SEQUENCE { downlinkAttached NULL OPTIONAL, uplinkAttached NULL OPTIONAL, dualCommunication NULL OPTIONAL, callOriginator NULL OPTIONAL }Added in R99. Refers to 3GPP TS 44.068 for definitions of StateAttributes fields.
Used as field type by MAPForwardGroupCallSignallingArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPStateAttributes()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPStateAttributes |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPStateAttributes |
copyOf(MAPStateAttributes 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.
|
boolean |
hasCallOriginator()
Tests whether the field callOriginator is present.
|
boolean |
hasDownlinkAttached()
Tests whether the field downlinkAttached is present.
|
boolean |
hasDualCommunication()
Tests whether the field dualCommunication is present.
|
boolean |
hasUplinkAttached()
Tests whether the field uplinkAttached is present.
|
MAPStateAttributes |
setCallOriginatorPresent(boolean flag)
Sets the presence or absence of the optional field callOriginator.
|
MAPStateAttributes |
setDownlinkAttachedPresent(boolean flag)
Sets the presence or absence of the optional field downlinkAttached.
|
MAPStateAttributes |
setDualCommunicationPresent(boolean flag)
Sets the presence or absence of the optional field dualCommunication.
|
MAPStateAttributes |
setUplinkAttachedPresent(boolean flag)
Sets the presence or absence of the optional field uplinkAttached.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPStateAttributes()
public MAPStateAttributes clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPStateAttributes copyOf(MAPStateAttributes 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 boolean hasCallOriginator()
public boolean hasDownlinkAttached()
public boolean hasDualCommunication()
public boolean hasUplinkAttached()
public MAPStateAttributes setCallOriginatorPresent(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 MAPStateAttributes setDownlinkAttachedPresent(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 MAPStateAttributes setDualCommunicationPresent(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 MAPStateAttributes setUplinkAttachedPresent(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-only