public class CCPromptAndCollectUserInformationArg extends AbstractFieldsObject
PromptAndCollectUserInformationArg ::=
SEQUENCE {
collectedInfo CollectedInfo,
disconnectFromIPForbidden BOOLEAN DEFAULT TRUE,
informationToSend InformationToSend OPTIONAL
}
Used as argument type by CCOperations.promptAndCollectUserInformation.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCPromptAndCollectUserInformationArg()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CCPromptAndCollectUserInformationArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCPromptAndCollectUserInformationArg |
copyOf(CCPromptAndCollectUserInformationArg 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.
|
CCCollectedInfo |
getCollectedInfo()
Gets the value of the field collectedInfo.
|
boolean |
getDisconnectFromIPForbidden()
Gets the value of the field disconnectFromIPForbidden.
|
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.
|
CCInformationToSend |
getInformationToSend()
Gets the value of the field informationToSend.
|
boolean |
hasCollectedInfo()
Tests whether the field collectedInfo has a value.
|
boolean |
hasDisconnectFromIPForbidden()
Tests whether the field disconnectFromIPForbidden has a value.
|
boolean |
hasInformationToSend()
Tests whether the field informationToSend has a value.
|
CCPromptAndCollectUserInformationArg |
setCollectedInfo(CCCollectedInfo value)
Sets the value of the field collectedInfo.
|
CCPromptAndCollectUserInformationArg |
setDisconnectFromIPForbidden(boolean value)
Sets the value of the field disconnectFromIPForbidden and marks the field as present.
|
CCPromptAndCollectUserInformationArg |
setDisconnectFromIPForbiddenPresent(boolean flag)
Sets the presence or absence of the optional field disconnectFromIPForbidden.
|
CCPromptAndCollectUserInformationArg |
setInformationToSend(CCInformationToSend value)
Sets the value of the field informationToSend.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CCPromptAndCollectUserInformationArg()
public CCPromptAndCollectUserInformationArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCPromptAndCollectUserInformationArg copyOf(CCPromptAndCollectUserInformationArg from)
from - the object from which to copypublic CCCollectedInfo getCollectedInfo()
public boolean getDisconnectFromIPForbidden()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic CCInformationToSend getInformationToSend()
public boolean hasCollectedInfo()
public boolean hasDisconnectFromIPForbidden()
public boolean hasInformationToSend()
public CCPromptAndCollectUserInformationArg setCollectedInfo(CCCollectedInfo value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCPromptAndCollectUserInformationArg setDisconnectFromIPForbidden(boolean value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCPromptAndCollectUserInformationArg setDisconnectFromIPForbiddenPresent(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 CCPromptAndCollectUserInformationArg setInformationToSend(CCInformationToSend 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