public class MAPLocationType extends AbstractFieldsObject
LocationType ::= SEQUENCE { locationEstimateType LocationEstimateType, ... deferredLocationEventType DeferredLocationEventType OPTIONAL -- Added in release 4. }Added in R98.
Used as field type by MAPProvideSubscriberLocation_Arg
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPLocationType()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPLocationType |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLocationType |
copyOf(MAPLocationType 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.
|
MAPDeferredLocationEventType |
getDeferredLocationEventType()
Gets the value of the field deferredLocationEventType.
|
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.
|
MAPLocationEstimateType |
getLocationEstimateType()
Gets the value of the field locationEstimateType.
|
boolean |
hasDeferredLocationEventType()
Tests whether the field deferredLocationEventType has a value.
|
boolean |
hasLocationEstimateType()
Tests whether the field locationEstimateType has a value.
|
MAPLocationType |
setDeferredLocationEventType(MAPDeferredLocationEventType value)
Sets the value of the field deferredLocationEventType.
|
MAPLocationType |
setLocationEstimateType(MAPLocationEstimateType value)
Sets the value of the field locationEstimateType.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPLocationType()
public MAPLocationType clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPLocationType copyOf(MAPLocationType from)
from
- the object from which to copypublic MAPDeferredLocationEventType getDeferredLocationEventType()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic MAPLocationEstimateType getLocationEstimateType()
public boolean hasDeferredLocationEventType()
public boolean hasLocationEstimateType()
public MAPLocationType setDeferredLocationEventType(MAPDeferredLocationEventType value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPLocationType setLocationEstimateType(MAPLocationEstimateType 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