public class CAP1ExtensionField extends AbstractFieldsObject
ExtensionField ::=
SEQUENCE {
type Code,
criticality CriticalityType,
value OpenType
}
CAP-DataTypes {
ExtensionField {
criticality {
@forceOptional
}
}
}
Used in array as field type by CAP1EventReportBCSMArg.
Used in array as field type by CAP1InitialDPArg.
Used in array as field type by CAP1RequestReportBCSMEventArg.
Used in array as field type by CAP1ConnectArg.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP1ExtensionField()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP1ExtensionField |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP1ExtensionField |
copyOf(CAP1ExtensionField 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.
|
CAP1CriticalityType |
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.
|
CAP1ExtensionField |
setCriticality(CAP1CriticalityType value)
Sets the value of the field criticality.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP1ExtensionField |
setType(OpenId value)
Sets the value of the field type.
|
CAP1ExtensionField |
setValue(ContainingOctetString value)
Sets the value of the field value.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP1ExtensionField()
public CAP1ExtensionField clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP1ExtensionField copyOf(CAP1ExtensionField from)
from - the object from which to copypublic CAP1CriticalityType getCriticality()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic OpenId getType()
public ContainingOctetString getValue()
public boolean hasCriticality()
public boolean hasType()
public boolean hasValue()
public CAP1ExtensionField setCriticality(CAP1CriticalityType value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObjectpublic CAP1ExtensionField setType(OpenId value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP1ExtensionField setValue(ContainingOctetString value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only