public class MAPPrivateExtension extends AbstractFieldsObject
PrivateExtension ::= SEQUENCE { extId ExtensionIdType, extType OpenType OPTIONAL }Added in R96.
Used in array as field type by MAPExtensionContainer
.
Used in array as field type by MAPSLR_ArgExtensionContainer
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPPrivateExtension()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPPrivateExtension |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPPrivateExtension |
copyOf(MAPPrivateExtension 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.
|
OpenId |
getExtId()
Gets the value of the field extId.
|
ContainingOctetString |
getExtType()
Gets the value of the field extType.
|
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 |
hasExtId()
Tests whether the field extId has a value.
|
boolean |
hasExtType()
Tests whether the field extType has a value.
|
MAPPrivateExtension |
setExtId(OpenId value)
Sets the value of the field extId.
|
MAPPrivateExtension |
setExtType(ContainingOctetString value)
Sets the value of the field extType.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPPrivateExtension()
public MAPPrivateExtension clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPPrivateExtension copyOf(MAPPrivateExtension from)
from
- the object from which to copypublic OpenId getExtId()
public ContainingOctetString getExtType()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic boolean hasExtId()
public boolean hasExtType()
public MAPPrivateExtension setExtId(OpenId value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPrivateExtension setExtType(ContainingOctetString 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