public class CAP3GPRS_QoS extends AbstractFieldsObject
GPRS-QoS ::= CHOICE { short-QoS-format QoS-Subscribed, long-QoS-format Ext-QoS-Subscribed }
Used as field type by CAP3QualityOfService
.
Used as field type by CAP3QualityOfService
.
Used as field type by CAP3QualityOfService
.
Modifier and Type | Class and Description |
---|---|
static class |
CAP3GPRS_QoS.Choice
API for CAP-datatypes.GPRS-QoS.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP3GPRS_QoS() |
Modifier and Type | Method and Description |
---|---|
CAP3GPRS_QoS |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP3GPRS_QoS |
copyOf(CAP3GPRS_QoS 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.
|
CAP3GPRS_QoS.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.
|
byte[] |
getLong_QoS_format()
Gets the value of the long-QoS-format choice.
|
byte[] |
getShort_QoS_format()
Gets the value of the short-QoS-format choice.
|
boolean |
isLong_QoS_formatChosen()
Tests whether the choice is long-QoS-format.
|
boolean |
isShort_QoS_formatChosen()
Tests whether the choice is short-QoS-format.
|
CAP3GPRS_QoS |
setLong_QoS_format(byte[] value)
Sets the value of the long-QoS-format choice.
|
CAP3GPRS_QoS |
setShort_QoS_format(byte[] value)
Sets the value of the short-QoS-format choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CAP3GPRS_QoS clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP3GPRS_QoS copyOf(CAP3GPRS_QoS from)
from
- the object from which to copypublic CAP3GPRS_QoS.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic byte[] getLong_QoS_format()
public byte[] getShort_QoS_format()
public boolean isLong_QoS_formatChosen()
public boolean isShort_QoS_formatChosen()
public CAP3GPRS_QoS setLong_QoS_format(byte[] 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 CAP3GPRS_QoS setShort_QoS_format(byte[] 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 null