public class MAPArea extends AbstractFieldsObject
Area ::= SEQUENCE { areaType AreaType, areaIdentification AreaIdentification, ... }Added in release 6.
Used in array as field type by MAPAreaDefinition
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPArea()
Constructs an object with uninitialised state.
|
MAPArea(MAPAreaType AreaType_param,
byte[] AreaIdentification_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPArea |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPArea |
copyOf(MAPArea 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.
|
byte[] |
getAreaIdentification()
Gets the value of the field areaIdentification.
|
MAPAreaType |
getAreaType()
Gets the value of the field areaType.
|
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 |
hasAreaIdentification()
Tests whether the field areaIdentification has a value.
|
boolean |
hasAreaType()
Tests whether the field areaType has a value.
|
MAPArea |
setAreaIdentification(byte[] value)
Sets the value of the field areaIdentification.
|
MAPArea |
setAreaType(MAPAreaType value)
Sets the value of the field areaType.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPArea()
public MAPArea(MAPAreaType AreaType_param, byte[] AreaIdentification_param)
AreaType_param
- value for that fieldAreaIdentification_param
- value for that fieldpublic MAPArea clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPArea copyOf(MAPArea from)
from
- the object from which to copypublic byte[] getAreaIdentification()
public MAPAreaType getAreaType()
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 hasAreaIdentification()
public boolean hasAreaType()
public MAPArea setAreaIdentification(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPArea setAreaType(MAPAreaType value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only