public class MAPBasicServiceCode extends AbstractFieldsObject
BasicServiceCode ::= CHOICE { bearerService BearerServiceCode, teleservice TeleserviceCode } MAP-CommonDataTypes { BasicServiceCode { @extendible } }Present in ph1.
Used as field type by MAPForwardingFeature
.
Used as field type by MAPCallBarringFeature
.
Used in array as field type by MAPSS_Data
.
Used as field type by MAPRegisterSS_Arg
.
Used as field type by MAPSS_IncompatibilityCause
.
Used as field type by MAPSS_ForBS_Code
.
Used in array as field type by MAPInterrogateSS_Res
.
Used as field type by MAPCCBS_Feature
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPBasicServiceCode.Choice
API for MAP-CommonDataTypes.BasicServiceCode.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPBasicServiceCode() |
Modifier and Type | Method and Description |
---|---|
MAPBasicServiceCode |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPBasicServiceCode |
copyOf(MAPBasicServiceCode 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.
|
byte[] |
getBearerService()
Gets the value of the bearerService choice.
|
MAPBasicServiceCode.Choice |
getChoice()
Gets the discriminant of the current 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.
|
byte[] |
getTeleservice()
Gets the value of the teleservice choice.
|
boolean |
isBearerServiceChosen()
Tests whether the choice is bearerService.
|
boolean |
isTeleserviceChosen()
Tests whether the choice is teleservice.
|
MAPBasicServiceCode |
setBearerService(byte[] value)
Sets the value of the bearerService choice.
|
protected void |
setChoice(MAPBasicServiceCode.Choice arg)
Sets the discriminant of the current choice.
|
MAPBasicServiceCode |
setTeleservice(byte[] value)
Sets the value of the teleservice choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPBasicServiceCode clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPBasicServiceCode copyOf(MAPBasicServiceCode from)
from
- the object from which to copypublic byte[] getBearerService()
public MAPBasicServiceCode.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic byte[] getTeleservice()
public boolean isBearerServiceChosen()
public boolean isTeleserviceChosen()
public MAPBasicServiceCode setBearerService(byte[] 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 nullprotected void setChoice(MAPBasicServiceCode.Choice arg)
arg
- the new discriminantpublic MAPBasicServiceCode setTeleservice(byte[] 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 null