public class CS1ExtensionField extends AbstractFieldsObject
ExtensionField ::= SEQUENCE { type ExtensionType, criticality Criticality DEFAULT ignore, value OpenType }
Used in array as field type by CS1EventNotificationChargingArg
.
Used in array as field type by CS1EventReportBCSMArg
.
Used in array as field type by CS1CallInformationReportArg
.
Used in array as field type by CS1InitialDPArg
.
Used in array as field type by CS1CallGapArg
.
Used in array as field type by CS1CallInformationRequestArg
.
Used in array as field type by CS1SendChargingInformationArg
.
Used in array as field type by CS1PlayAnnouncementArg
.
Used in array as field type by CS1ResetTimerArg
.
Used in array as field type by CS1ApplyChargingArg
.
Used in array as field type by CS1CollectInformationArg
.
Used in array as field type by CS1ConnectToResourceArg
.
Used in array as field type by CS1PromptAndCollectUserInformationArg
.
Used in array as field type by CS1EstablishTemporaryConnectionArg
.
Used in array as field type by CS1RequestReportBCSMEventArg
.
Used in array as field type by CS1ConnectArg
.
Used in array as field type by CS1AssistRequestInstructionsArg
.
Used in array as field type by CS1InitiateCallAttemptArg
.
Used in array as field type by CS1ActivateServiceFilteringArg
.
Used in array as field type by CS1ServiceFilteringResponseArg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1ExtensionField()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CS1ExtensionField |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1ExtensionField |
copyOf(CS1ExtensionField 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.
|
CS1Criticality |
getCriticality()
Gets the value of the field criticality.
|
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.
|
OpenId |
getType()
Gets the value of the field type.
|
ContainingOctetString |
getValue()
Gets the value of the field value.
|
boolean |
hasCriticality()
Tests whether the field criticality has a value.
|
boolean |
hasType()
Tests whether the field type has a value.
|
boolean |
hasValue()
Tests whether the field value has a value.
|
CS1ExtensionField |
setCriticality(CS1Criticality value)
Sets the value of the field criticality.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CS1ExtensionField |
setType(OpenId value)
Sets the value of the field type.
|
CS1ExtensionField |
setValue(ContainingOctetString value)
Sets the value of the field value.
|
equals, hashCode, toString
checkModify, isReadOnly
public CS1ExtensionField()
public CS1ExtensionField clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CS1ExtensionField copyOf(CS1ExtensionField from)
from
- the object from which to copypublic CS1Criticality getCriticality()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic OpenId getType()
public ContainingOctetString getValue()
public boolean hasCriticality()
public boolean hasType()
public boolean hasValue()
public CS1ExtensionField setCriticality(CS1Criticality 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
public CS1ExtensionField setType(OpenId value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CS1ExtensionField setValue(ContainingOctetString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only