public class MAPMAP_RefuseInfo extends AbstractFieldsObject
MAP-RefuseInfo ::= SEQUENCE { reason Reason, ... extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. alternativeApplicationContext OBJECT IDENTIFIER OPTIONAL -- Added in release 4. }Added in ph2. Spelt MAPMAP_RefuseInfo because it's generated from something in the MAP spec that's called MAP-RefuseInfo.
Used as field type by MAPMAP_DialoguePDU
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPMAP_RefuseInfo()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPMAP_RefuseInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPMAP_RefuseInfo |
copyOf(MAPMAP_RefuseInfo 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.
|
ObjectID |
getAlternativeApplicationContext()
Gets the value of the field alternativeApplicationContext.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
MAPReason |
getReason()
Gets the value of the field reason.
|
boolean |
hasAlternativeApplicationContext()
Tests whether the field alternativeApplicationContext has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasReason()
Tests whether the field reason has a value.
|
MAPMAP_RefuseInfo |
setAlternativeApplicationContext(ObjectID value)
Sets the value of the field alternativeApplicationContext.
|
MAPMAP_RefuseInfo |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPMAP_RefuseInfo |
setReason(MAPReason value)
Sets the value of the field reason.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPMAP_RefuseInfo()
public MAPMAP_RefuseInfo clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPMAP_RefuseInfo copyOf(MAPMAP_RefuseInfo from)
from
- the object from which to copypublic ObjectID getAlternativeApplicationContext()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic MAPReason getReason()
public boolean hasAlternativeApplicationContext()
public boolean hasExtensionContainer()
public boolean hasReason()
public MAPMAP_RefuseInfo setAlternativeApplicationContext(ObjectID value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPMAP_RefuseInfo setExtensionContainer(MAPExtensionContainer 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
public MAPMAP_RefuseInfo setReason(MAPReason value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only