public class MAPAreaDefinition extends AbstractFieldsObject
AreaDefinition ::= SEQUENCE { areaList AreaList, ... }Added in release 6.
Used as field type by MAPAreaEventInfo
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAreaDefinition()
Constructs an object with uninitialised state.
|
MAPAreaDefinition(MAPArea[] AreaList_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPAreaDefinition |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAreaDefinition |
copyOf(MAPAreaDefinition 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.
|
MAPArea[] |
getAreaList()
Gets the value of the field areaList.
|
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 |
hasAreaList()
Tests whether the field areaList has a value.
|
MAPAreaDefinition |
setAreaList(MAPArea[] value)
Sets the value of the field areaList.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPAreaDefinition()
public MAPAreaDefinition(MAPArea[] AreaList_param)
AreaList_param
- value for that fieldpublic MAPAreaDefinition clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAreaDefinition copyOf(MAPAreaDefinition from)
from
- the object from which to copypublic MAPArea[] getAreaList()
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 hasAreaList()
public MAPAreaDefinition setAreaList(MAPArea[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only