public class CS1InformationToSend extends CCInformationToSend
InformationToSend ::= CHOICE { inbandinfo InbandInfo, tone Tone, displayInformation DisplayInformation } Core-INAP-CS1-DataTypes { InformationToSend { @parentType com.opencloud.slee.resources.cgin.callcontrol.CCInformationToSend inbandinfo { @rename inbandInfo } } }
Used as field type by CS1GapTreatment
.
Used as field type by CS1GapTreatment.Both
.
Used as field type by CS1PlayAnnouncementArg
.
Used as field type by CS1PromptAndCollectUserInformationArg
.
Used as field type by CS1FilteredCallTreatment
.
Modifier and Type | Class and Description |
---|---|
static class |
CS1InformationToSend.Choice
API for Core-INAP-CS1-DataTypes.InformationToSend.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CS1InformationToSend() |
Modifier and Type | Method and Description |
---|---|
CS1InformationToSend |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1InformationToSend |
copyOf(CCInformationToSend 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.
|
String |
getDisplayInformation()
Gets the value of the displayInformation choice.
|
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 :discriminant-name to associated-value.
|
boolean |
isDisplayInformationChosen()
Tests whether the choice is displayInformation.
|
CS1InformationToSend |
setDisplayInformation(String value)
Sets the value of the displayInformation choice.
|
CS1InformationToSend |
setInbandInfo(CCInbandInfo value)
Sets the value of the inbandinfo choice.
|
CS1InformationToSend |
setTone(CCTone value)
Sets the value of the tone choice.
|
getChoice, getInbandInfo, getTone, isInbandInfoChosen, isToneChosen, setChoice, setReadOnly
equals, hashCode, toString
checkModify, isReadOnly
public CS1InformationToSend clone()
clone
in interface DataObject
clone
in class CCInformationToSend
public static CS1InformationToSend copyOf(CCInformationToSend from)
from
- the object from which to copypublic String getDisplayInformation()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class CCInformationToSend
withAbsents
- ignored, as value cannot be optionalpublic boolean isDisplayInformationChosen()
public CS1InformationToSend setDisplayInformation(String value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic CS1InformationToSend setInbandInfo(CCInbandInfo value) throws IllegalStateException, NullPointerException
setInbandInfo
in class CCInformationToSend
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic CS1InformationToSend setTone(CCTone value) throws IllegalStateException, NullPointerException
setTone
in class CCInformationToSend
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null