public class CAP4MidCallControlInfo extends AbstractFieldsObject
MidCallControlInfo ::= SEQUENCE { minimumNumberOfDigits INTEGER (1..30) DEFAULT 1, maximumNumberOfDigits INTEGER (1..30) DEFAULT 30, endOfReplyDigit OCTET STRING (SIZE (1..2)) OPTIONAL, cancelDigit OCTET STRING (SIZE (1..2)) OPTIONAL, startDigit OCTET STRING (SIZE (1..2)) OPTIONAL, interDigitTimeout INTEGER (1..127) DEFAULT 10, ... } CAP-datatypes { MidCallControlInfo { cancelDigit { @import com.opencloud.slee.resources.in.datatypes.cc.AddressDelimiter } endOfReplyDigit { @import com.opencloud.slee.resources.in.datatypes.cc.AddressDelimiter } startDigit { @import com.opencloud.slee.resources.in.datatypes.cc.AddressDelimiter } } }
Used as field type by CAP4DpSpecificCriteria
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4MidCallControlInfo()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CAP4MidCallControlInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4MidCallControlInfo |
copyOf(CAP4MidCallControlInfo 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.
|
AddressDelimiter |
getCancelDigit()
Gets the value of the field cancelDigit.
|
AddressDelimiter |
getEndOfReplyDigit()
Gets the value of the field endOfReplyDigit.
|
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 |
getMaximumNumberOfDigits()
Gets the value of the field maximumNumberOfDigits.
|
int |
getMinimumNumberOfDigits()
Gets the value of the field minimumNumberOfDigits.
|
AddressDelimiter |
getStartDigit()
Gets the value of the field startDigit.
|
boolean |
hasCancelDigit()
Tests whether the field cancelDigit has a value.
|
boolean |
hasEndOfReplyDigit()
Tests whether the field endOfReplyDigit has a value.
|
boolean |
hasInterDigitTimeout()
Tests whether the field interDigitTimeout has a value.
|
boolean |
hasMaximumNumberOfDigits()
Tests whether the field maximumNumberOfDigits has a value.
|
boolean |
hasMinimumNumberOfDigits()
Tests whether the field minimumNumberOfDigits has a value.
|
boolean |
hasStartDigit()
Tests whether the field startDigit has a value.
|
CAP4MidCallControlInfo |
setCancelDigit(AddressDelimiter value)
Sets the value of the field cancelDigit.
|
CAP4MidCallControlInfo |
setEndOfReplyDigit(AddressDelimiter value)
Sets the value of the field endOfReplyDigit.
|
CAP4MidCallControlInfo |
setInterDigitTimeout(int value)
Sets the value of the field interDigitTimeout and marks the field as present.
|
CAP4MidCallControlInfo |
setInterDigitTimeoutPresent(boolean flag)
Sets the presence or absence of the optional field interDigitTimeout.
|
CAP4MidCallControlInfo |
setMaximumNumberOfDigits(int value)
Sets the value of the field maximumNumberOfDigits and marks the field as present.
|
CAP4MidCallControlInfo |
setMaximumNumberOfDigitsPresent(boolean flag)
Sets the presence or absence of the optional field maximumNumberOfDigits.
|
CAP4MidCallControlInfo |
setMinimumNumberOfDigits(int value)
Sets the value of the field minimumNumberOfDigits and marks the field as present.
|
CAP4MidCallControlInfo |
setMinimumNumberOfDigitsPresent(boolean flag)
Sets the presence or absence of the optional field minimumNumberOfDigits.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP4MidCallControlInfo |
setStartDigit(AddressDelimiter value)
Sets the value of the field startDigit.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP4MidCallControlInfo()
public CAP4MidCallControlInfo clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP4MidCallControlInfo copyOf(CAP4MidCallControlInfo from)
from
- the object from which to copypublic AddressDelimiter getCancelDigit()
public AddressDelimiter getEndOfReplyDigit()
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 getMaximumNumberOfDigits()
public int getMinimumNumberOfDigits()
public AddressDelimiter getStartDigit()
public boolean hasCancelDigit()
public boolean hasEndOfReplyDigit()
public boolean hasInterDigitTimeout()
public boolean hasMaximumNumberOfDigits()
public boolean hasMinimumNumberOfDigits()
public boolean hasStartDigit()
public CAP4MidCallControlInfo setCancelDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4MidCallControlInfo setEndOfReplyDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4MidCallControlInfo setInterDigitTimeout(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4MidCallControlInfo 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 CAP4MidCallControlInfo setMaximumNumberOfDigits(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4MidCallControlInfo setMaximumNumberOfDigitsPresent(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 CAP4MidCallControlInfo setMinimumNumberOfDigits(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CAP4MidCallControlInfo setMinimumNumberOfDigitsPresent(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 void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CAP4MidCallControlInfo setStartDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only