public class CCCollectedDigits extends AbstractFieldsObject
CollectedDigits ::= SEQUENCE { minimumNbOfDigits INTEGER (1..127) DEFAULT 1, maximumNbOfDigits INTEGER (1..127), endOfReplyDigit OCTET STRING (SIZE (1..2)) OPTIONAL, cancelDigit OCTET STRING (SIZE (1..2)) OPTIONAL, startDigit OCTET STRING (SIZE (1..2)) OPTIONAL, firstDigitTimeOut INTEGER (1..127) OPTIONAL, interDigitTimeOut INTEGER (1..127) OPTIONAL, errortreatment ErrorTreatment DEFAULT stdErrorAndInfo, interruptableAnnInd BOOLEAN DEFAULT TRUE, voiceInformation BOOLEAN DEFAULT FALSE, voiceBack BOOLEAN DEFAULT FALSE } CC-DataTypes { CollectedDigits { 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 CCCollectedInfo
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCCollectedDigits()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CCCollectedDigits |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCCollectedDigits |
copyOf(CCCollectedDigits 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.
|
CCErrorTreatment |
getErrortreatment()
Gets the value of the field errortreatment.
|
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 |
getFirstDigitTimeOut()
Gets the value of the field firstDigitTimeOut.
|
int |
getInterDigitTimeOut()
Gets the value of the field interDigitTimeOut.
|
boolean |
getInterruptableAnnInd()
Gets the value of the field interruptableAnnInd.
|
int |
getMaximumNbOfDigits()
Gets the value of the field maximumNbOfDigits.
|
int |
getMinimumNbOfDigits()
Gets the value of the field minimumNbOfDigits.
|
AddressDelimiter |
getStartDigit()
Gets the value of the field startDigit.
|
boolean |
getVoiceBack()
Gets the value of the field voiceBack.
|
boolean |
getVoiceInformation()
Gets the value of the field voiceInformation.
|
boolean |
hasCancelDigit()
Tests whether the field cancelDigit has a value.
|
boolean |
hasEndOfReplyDigit()
Tests whether the field endOfReplyDigit has a value.
|
boolean |
hasErrortreatment()
Tests whether the field errortreatment has a value.
|
boolean |
hasFirstDigitTimeOut()
Tests whether the field firstDigitTimeOut has a value.
|
boolean |
hasInterDigitTimeOut()
Tests whether the field interDigitTimeOut has a value.
|
boolean |
hasInterruptableAnnInd()
Tests whether the field interruptableAnnInd has a value.
|
boolean |
hasMaximumNbOfDigits()
Tests whether the field maximumNbOfDigits has a value.
|
boolean |
hasMinimumNbOfDigits()
Tests whether the field minimumNbOfDigits has a value.
|
boolean |
hasStartDigit()
Tests whether the field startDigit has a value.
|
boolean |
hasVoiceBack()
Tests whether the field voiceBack has a value.
|
boolean |
hasVoiceInformation()
Tests whether the field voiceInformation has a value.
|
CCCollectedDigits |
setCancelDigit(AddressDelimiter value)
Sets the value of the field cancelDigit.
|
CCCollectedDigits |
setEndOfReplyDigit(AddressDelimiter value)
Sets the value of the field endOfReplyDigit.
|
CCCollectedDigits |
setErrortreatment(CCErrorTreatment value)
Sets the value of the field errortreatment.
|
CCCollectedDigits |
setFirstDigitTimeOut(int value)
Sets the value of the field firstDigitTimeOut and marks the field as present.
|
CCCollectedDigits |
setFirstDigitTimeOutPresent(boolean flag)
Sets the presence or absence of the optional field firstDigitTimeOut.
|
CCCollectedDigits |
setInterDigitTimeOut(int value)
Sets the value of the field interDigitTimeOut and marks the field as present.
|
CCCollectedDigits |
setInterDigitTimeOutPresent(boolean flag)
Sets the presence or absence of the optional field interDigitTimeOut.
|
CCCollectedDigits |
setInterruptableAnnInd(boolean value)
Sets the value of the field interruptableAnnInd and marks the field as present.
|
CCCollectedDigits |
setInterruptableAnnIndPresent(boolean flag)
Sets the presence or absence of the optional field interruptableAnnInd.
|
CCCollectedDigits |
setMaximumNbOfDigits(int value)
Sets the value of the field maximumNbOfDigits and marks the field as present.
|
CCCollectedDigits |
setMinimumNbOfDigits(int value)
Sets the value of the field minimumNbOfDigits and marks the field as present.
|
CCCollectedDigits |
setMinimumNbOfDigitsPresent(boolean flag)
Sets the presence or absence of the optional field minimumNbOfDigits.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CCCollectedDigits |
setStartDigit(AddressDelimiter value)
Sets the value of the field startDigit.
|
CCCollectedDigits |
setVoiceBack(boolean value)
Sets the value of the field voiceBack and marks the field as present.
|
CCCollectedDigits |
setVoiceBackPresent(boolean flag)
Sets the presence or absence of the optional field voiceBack.
|
CCCollectedDigits |
setVoiceInformation(boolean value)
Sets the value of the field voiceInformation and marks the field as present.
|
CCCollectedDigits |
setVoiceInformationPresent(boolean flag)
Sets the presence or absence of the optional field voiceInformation.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCCollectedDigits()
public CCCollectedDigits clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCCollectedDigits copyOf(CCCollectedDigits from)
from
- the object from which to copypublic AddressDelimiter getCancelDigit()
public AddressDelimiter getEndOfReplyDigit()
public CCErrorTreatment getErrortreatment()
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 getFirstDigitTimeOut()
public int getInterDigitTimeOut()
public boolean getInterruptableAnnInd()
public int getMaximumNbOfDigits()
public int getMinimumNbOfDigits()
public AddressDelimiter getStartDigit()
public boolean getVoiceBack()
public boolean getVoiceInformation()
public boolean hasCancelDigit()
public boolean hasEndOfReplyDigit()
public boolean hasErrortreatment()
public boolean hasFirstDigitTimeOut()
public boolean hasInterDigitTimeOut()
public boolean hasInterruptableAnnInd()
public boolean hasMaximumNbOfDigits()
public boolean hasMinimumNbOfDigits()
public boolean hasStartDigit()
public boolean hasVoiceBack()
public boolean hasVoiceInformation()
public CCCollectedDigits setCancelDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setEndOfReplyDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setErrortreatment(CCErrorTreatment value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setFirstDigitTimeOut(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setFirstDigitTimeOutPresent(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 CCCollectedDigits setInterDigitTimeOut(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits 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 CCCollectedDigits setInterruptableAnnInd(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setInterruptableAnnIndPresent(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 CCCollectedDigits setMaximumNbOfDigits(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setMinimumNbOfDigits(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setMinimumNbOfDigitsPresent(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 CCCollectedDigits setStartDigit(AddressDelimiter value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setVoiceBack(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setVoiceBackPresent(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 CCCollectedDigits setVoiceInformation(boolean value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCCollectedDigits setVoiceInformationPresent(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