public class MAPMAP_DialoguePDU extends AbstractFieldsObject
MAP-DialoguePDU ::=
CHOICE {
map-open MAP-OpenInfo,
map-accept MAP-AcceptInfo,
map-close MAP-CloseInfo,
map-refuse MAP-RefuseInfo,
map-userAbort MAP-UserAbortInfo,
map-providerAbort MAP-ProviderAbortInfo
}
Added in ph2. Spelt MAPMAP_DialoguePDU because it's generated from something in the MAP spec that's called MAP-DialoguePDU.| Modifier and Type | Class and Description |
|---|---|
static class |
MAPMAP_DialoguePDU.Choice
API for MAP-DialogueInformation.MAP-DialoguePDU.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPMAP_DialoguePDU() |
| Modifier and Type | Method and Description |
|---|---|
MAPMAP_DialoguePDU |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPMAP_DialoguePDU |
copyOf(MAPMAP_DialoguePDU 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.
|
MAPMAP_DialoguePDU.Choice |
getChoice()
Gets the discriminant of the current choice.
|
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 :discriminant-name to associated-value.
|
MAPMAP_AcceptInfo |
getMap_accept()
Gets the value of the map-accept choice.
|
MAPMAP_CloseInfo |
getMap_close()
Gets the value of the map-close choice.
|
MAPMAP_OpenInfo |
getMap_open()
Gets the value of the map-open choice.
|
MAPMAP_ProviderAbortInfo |
getMap_providerAbort()
Gets the value of the map-providerAbort choice.
|
MAPMAP_RefuseInfo |
getMap_refuse()
Gets the value of the map-refuse choice.
|
MAPMAP_UserAbortInfo |
getMap_userAbort()
Gets the value of the map-userAbort choice.
|
boolean |
isMap_acceptChosen()
Tests whether the choice is map-accept.
|
boolean |
isMap_closeChosen()
Tests whether the choice is map-close.
|
boolean |
isMap_openChosen()
Tests whether the choice is map-open.
|
boolean |
isMap_providerAbortChosen()
Tests whether the choice is map-providerAbort.
|
boolean |
isMap_refuseChosen()
Tests whether the choice is map-refuse.
|
boolean |
isMap_userAbortChosen()
Tests whether the choice is map-userAbort.
|
MAPMAP_DialoguePDU |
setMap_accept(MAPMAP_AcceptInfo value)
Sets the value of the map-accept choice.
|
MAPMAP_DialoguePDU |
setMap_close(MAPMAP_CloseInfo value)
Sets the value of the map-close choice.
|
MAPMAP_DialoguePDU |
setMap_open(MAPMAP_OpenInfo value)
Sets the value of the map-open choice.
|
MAPMAP_DialoguePDU |
setMap_providerAbort(MAPMAP_ProviderAbortInfo value)
Sets the value of the map-providerAbort choice.
|
MAPMAP_DialoguePDU |
setMap_refuse(MAPMAP_RefuseInfo value)
Sets the value of the map-refuse choice.
|
MAPMAP_DialoguePDU |
setMap_userAbort(MAPMAP_UserAbortInfo value)
Sets the value of the map-userAbort choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPMAP_DialoguePDU clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPMAP_DialoguePDU copyOf(MAPMAP_DialoguePDU from)
from - the object from which to copypublic MAPMAP_DialoguePDU.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic MAPMAP_AcceptInfo getMap_accept()
public MAPMAP_CloseInfo getMap_close()
public MAPMAP_OpenInfo getMap_open()
public MAPMAP_ProviderAbortInfo getMap_providerAbort()
public MAPMAP_RefuseInfo getMap_refuse()
public MAPMAP_UserAbortInfo getMap_userAbort()
public boolean isMap_acceptChosen()
public boolean isMap_closeChosen()
public boolean isMap_openChosen()
public boolean isMap_providerAbortChosen()
public boolean isMap_refuseChosen()
public boolean isMap_userAbortChosen()
public MAPMAP_DialoguePDU setMap_accept(MAPMAP_AcceptInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPMAP_DialoguePDU setMap_close(MAPMAP_CloseInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPMAP_DialoguePDU setMap_open(MAPMAP_OpenInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPMAP_DialoguePDU setMap_providerAbort(MAPMAP_ProviderAbortInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPMAP_DialoguePDU setMap_refuse(MAPMAP_RefuseInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPMAP_DialoguePDU setMap_userAbort(MAPMAP_UserAbortInfo value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject