public class MAPAreaEventInfo extends AbstractFieldsObject
AreaEventInfo ::=
SEQUENCE {
areaDefinition AreaDefinition,
occurrenceInfo OccurrenceInfo OPTIONAL,
intervalTime IntervalTime OPTIONAL,
...
}
Added in release 6.
Used as field type by MAPProvideSubscriberLocation_Arg.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPAreaEventInfo()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
MAPAreaEventInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAreaEventInfo |
copyOf(MAPAreaEventInfo 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.
|
MAPAreaDefinition |
getAreaDefinition()
Gets the value of the field areaDefinition.
|
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.
|
int |
getIntervalTime()
Gets the value of the field intervalTime.
|
MAPOccurrenceInfo |
getOccurrenceInfo()
Gets the value of the field occurrenceInfo.
|
boolean |
hasAreaDefinition()
Tests whether the field areaDefinition has a value.
|
boolean |
hasIntervalTime()
Tests whether the field intervalTime has a value.
|
boolean |
hasOccurrenceInfo()
Tests whether the field occurrenceInfo has a value.
|
MAPAreaEventInfo |
setAreaDefinition(MAPAreaDefinition value)
Sets the value of the field areaDefinition.
|
MAPAreaEventInfo |
setIntervalTime(int value)
Sets the value of the field intervalTime and marks the field as present.
|
MAPAreaEventInfo |
setIntervalTimePresent(boolean flag)
Sets the presence or absence of the optional field intervalTime.
|
MAPAreaEventInfo |
setOccurrenceInfo(MAPOccurrenceInfo value)
Sets the value of the field occurrenceInfo.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPAreaEventInfo()
public MAPAreaEventInfo clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPAreaEventInfo copyOf(MAPAreaEventInfo from)
from - the object from which to copypublic MAPAreaDefinition getAreaDefinition()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic int getIntervalTime()
public MAPOccurrenceInfo getOccurrenceInfo()
public boolean hasAreaDefinition()
public boolean hasIntervalTime()
public boolean hasOccurrenceInfo()
public MAPAreaEventInfo setAreaDefinition(MAPAreaDefinition value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPAreaEventInfo setIntervalTime(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPAreaEventInfo setIntervalTimePresent(boolean flag) throws IllegalStateException
flag - either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException - if this instance has been marked as read-onlypublic MAPAreaEventInfo setOccurrenceInfo(MAPOccurrenceInfo 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 AbstractDataObject