public class CAP4DpSpecificCriteriaAlt extends AbstractFieldsObject
DpSpecificCriteriaAlt ::= SEQUENCE { changeOfPositionControlInfo ChangeOfPositionControlInfo, numberOfDigits NumberOfDigits OPTIONAL, interDigitTimeout INTEGER (1..127) OPTIONAL }
Used as field type by CAP4DpSpecificCriteria
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4DpSpecificCriteriaAlt()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4DpSpecificCriteriaAlt |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4DpSpecificCriteriaAlt |
copyOf(CAP4DpSpecificCriteriaAlt 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.
|
CAP4ChangeOfLocation[] |
getChangeOfPositionControlInfo()
Gets the value of the field changeOfPositionControlInfo.
|
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.
|
int |
getInterDigitTimeout()
Gets the value of the field interDigitTimeout.
|
int |
getNumberOfDigits()
Gets the value of the field numberOfDigits.
|
boolean |
hasChangeOfPositionControlInfo()
Tests whether the field changeOfPositionControlInfo has a value.
|
boolean |
hasInterDigitTimeout()
Tests whether the field interDigitTimeout has a value.
|
boolean |
hasNumberOfDigits()
Tests whether the field numberOfDigits has a value.
|
CAP4DpSpecificCriteriaAlt |
setChangeOfPositionControlInfo(CAP4ChangeOfLocation[] value)
Sets the value of the field changeOfPositionControlInfo.
|
CAP4DpSpecificCriteriaAlt |
setInterDigitTimeout(int value)
Sets the value of the field interDigitTimeout and marks the field as present.
|
CAP4DpSpecificCriteriaAlt |
setInterDigitTimeoutPresent(boolean flag)
Sets the presence or absence of the optional field interDigitTimeout.
|
CAP4DpSpecificCriteriaAlt |
setNumberOfDigits(int value)
Sets the value of the field numberOfDigits and marks the field as present.
|
CAP4DpSpecificCriteriaAlt |
setNumberOfDigitsPresent(boolean flag)
Sets the presence or absence of the optional field numberOfDigits.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CAP4DpSpecificCriteriaAlt()
public CAP4DpSpecificCriteriaAlt clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP4DpSpecificCriteriaAlt copyOf(CAP4DpSpecificCriteriaAlt from)
from
- the object from which to copypublic CAP4ChangeOfLocation[] getChangeOfPositionControlInfo()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic int getInterDigitTimeout()
public int getNumberOfDigits()
public boolean hasChangeOfPositionControlInfo()
public boolean hasInterDigitTimeout()
public boolean hasNumberOfDigits()
public CAP4DpSpecificCriteriaAlt setChangeOfPositionControlInfo(CAP4ChangeOfLocation[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4DpSpecificCriteriaAlt setInterDigitTimeout(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4DpSpecificCriteriaAlt setInterDigitTimeoutPresent(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 CAP4DpSpecificCriteriaAlt setNumberOfDigits(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4DpSpecificCriteriaAlt setNumberOfDigitsPresent(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-only