public class CCPlayAnnouncementArg extends AbstractFieldsObject
PlayAnnouncementArg ::=
SEQUENCE {
informationToSend InformationToSend,
disconnectFromIPForbidden BOOLEAN DEFAULT TRUE,
requestAnnouncementComplete BOOLEAN DEFAULT TRUE
}
Used as argument type by CCOperations.playAnnouncement.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCPlayAnnouncementArg()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CCPlayAnnouncementArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCPlayAnnouncementArg |
copyOf(CCPlayAnnouncementArg 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.
|
boolean |
getDisconnectFromIPForbidden()
Gets the value of the field disconnectFromIPForbidden.
|
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.
|
CCInformationToSend |
getInformationToSend()
Gets the value of the field informationToSend.
|
boolean |
getRequestAnnouncementComplete()
Gets the value of the field requestAnnouncementComplete.
|
boolean |
hasDisconnectFromIPForbidden()
Tests whether the field disconnectFromIPForbidden has a value.
|
boolean |
hasInformationToSend()
Tests whether the field informationToSend has a value.
|
boolean |
hasRequestAnnouncementComplete()
Tests whether the field requestAnnouncementComplete has a value.
|
CCPlayAnnouncementArg |
setDisconnectFromIPForbidden(boolean value)
Sets the value of the field disconnectFromIPForbidden and marks the field as present.
|
CCPlayAnnouncementArg |
setDisconnectFromIPForbiddenPresent(boolean flag)
Sets the presence or absence of the optional field disconnectFromIPForbidden.
|
CCPlayAnnouncementArg |
setInformationToSend(CCInformationToSend value)
Sets the value of the field informationToSend.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CCPlayAnnouncementArg |
setRequestAnnouncementComplete(boolean value)
Sets the value of the field requestAnnouncementComplete and marks the field as present.
|
CCPlayAnnouncementArg |
setRequestAnnouncementCompletePresent(boolean flag)
Sets the presence or absence of the optional field requestAnnouncementComplete.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CCPlayAnnouncementArg()
public CCPlayAnnouncementArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCPlayAnnouncementArg copyOf(CCPlayAnnouncementArg from)
from - the object from which to copypublic boolean getDisconnectFromIPForbidden()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic CCInformationToSend getInformationToSend()
public boolean getRequestAnnouncementComplete()
public boolean hasDisconnectFromIPForbidden()
public boolean hasInformationToSend()
public boolean hasRequestAnnouncementComplete()
public CCPlayAnnouncementArg setDisconnectFromIPForbidden(boolean value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCPlayAnnouncementArg setDisconnectFromIPForbiddenPresent(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 CCPlayAnnouncementArg setInformationToSend(CCInformationToSend value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObjectpublic CCPlayAnnouncementArg setRequestAnnouncementComplete(boolean value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCPlayAnnouncementArg setRequestAnnouncementCompletePresent(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