public class MAPVoiceBroadcastData extends AbstractFieldsObject
VoiceBroadcastData ::= SEQUENCE { groupid GroupId, -- groupId shall be filled with six TBCD fillers (1111) if the longGroupId is present. broadcastInitEntitlement NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... longGroupId Long-GroupId OPTIONAL -- Added in release 7. }Added in R96. VoiceBroadcastData containing a longGroupId shall not be sent to VLRs that did not indicate support of long Group IDs within the Update Location or Restore Data request message.
Used in array as field type by MAPInsertSubscriberDataArg
.
Used in array as field type by MAPSubscriberData
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPVoiceBroadcastData()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPVoiceBroadcastData |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPVoiceBroadcastData |
copyOf(MAPVoiceBroadcastData 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.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
byte[] |
getGroupid()
Gets the value of the field groupid.
|
byte[] |
getLongGroupId()
Gets the value of the field longGroupId.
|
boolean |
hasBroadcastInitEntitlement()
Tests whether the field broadcastInitEntitlement is present.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasGroupid()
Tests whether the field groupid has a value.
|
boolean |
hasLongGroupId()
Tests whether the field longGroupId has a value.
|
MAPVoiceBroadcastData |
setBroadcastInitEntitlementPresent(boolean flag)
Sets the presence or absence of the optional field broadcastInitEntitlement.
|
MAPVoiceBroadcastData |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPVoiceBroadcastData |
setGroupid(byte[] value)
Sets the value of the field groupid.
|
MAPVoiceBroadcastData |
setLongGroupId(byte[] value)
Sets the value of the field longGroupId.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPVoiceBroadcastData()
public MAPVoiceBroadcastData clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPVoiceBroadcastData copyOf(MAPVoiceBroadcastData from)
from
- the object from which to copypublic MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic byte[] getGroupid()
public byte[] getLongGroupId()
public boolean hasBroadcastInitEntitlement()
public boolean hasExtensionContainer()
public boolean hasGroupid()
public boolean hasLongGroupId()
public MAPVoiceBroadcastData setBroadcastInitEntitlementPresent(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 MAPVoiceBroadcastData setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPVoiceBroadcastData setGroupid(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPVoiceBroadcastData setLongGroupId(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject