public class CCRequestedInformation extends AbstractFieldsObject
RequestedInformation ::=
SEQUENCE {
requestedInformationType RequestedInformationType,
requestedInformationValue RequestedInformationValue
}
Used in array as field type by CCCallInformationReportArg.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCRequestedInformation()
Constructs an object with uninitialised state.
|
CCRequestedInformation(CCRequestedInformationType RequestedInformationType_param,
CCRequestedInformationValue RequestedInformationValue_param)
Constructs an object from given values for all fields.
|
| Modifier and Type | Method and Description |
|---|---|
CCRequestedInformation |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCRequestedInformation |
copyOf(CCRequestedInformation 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.
|
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.
|
CCRequestedInformationType |
getRequestedInformationType()
Gets the value of the field requestedInformationType.
|
CCRequestedInformationValue |
getRequestedInformationValue()
Gets the value of the field requestedInformationValue.
|
boolean |
hasRequestedInformationType()
Tests whether the field requestedInformationType has a value.
|
boolean |
hasRequestedInformationValue()
Tests whether the field requestedInformationValue has a value.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CCRequestedInformation |
setRequestedInformationType(CCRequestedInformationType value)
Sets the value of the field requestedInformationType.
|
CCRequestedInformation |
setRequestedInformationValue(CCRequestedInformationValue value)
Sets the value of the field requestedInformationValue.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CCRequestedInformation()
public CCRequestedInformation(CCRequestedInformationType RequestedInformationType_param, CCRequestedInformationValue RequestedInformationValue_param)
RequestedInformationType_param - value for that fieldRequestedInformationValue_param - value for that fieldpublic CCRequestedInformation clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCRequestedInformation copyOf(CCRequestedInformation from)
from - the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic CCRequestedInformationType getRequestedInformationType()
public CCRequestedInformationValue getRequestedInformationValue()
public boolean hasRequestedInformationType()
public boolean hasRequestedInformationValue()
public void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObjectpublic CCRequestedInformation setRequestedInformationType(CCRequestedInformationType value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCRequestedInformation setRequestedInformationValue(CCRequestedInformationValue value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only