public class MAPServiceType extends AbstractFieldsObject
ServiceType ::= SEQUENCE { serviceTypeIdentity LCSServiceTypeID, gmlc-Restriction GMLC-Restriction OPTIONAL, notificationToMSUser NotificationToMSUser OPTIONAL, -- If notificationToMSUser is not received, the default value according to 3GPP TS 23.271 shall be assumed. extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 5.
Used in array as field type by MAPLCS_PrivacyClass
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPServiceType()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPServiceType |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPServiceType |
copyOf(MAPServiceType 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.
|
MAPGMLC_Restriction |
getGmlc_Restriction()
Gets the value of the field gmlc-Restriction.
|
MAPNotificationToMSUser |
getNotificationToMSUser()
Gets the value of the field notificationToMSUser.
|
int |
getServiceTypeIdentity()
Gets the value of the field serviceTypeIdentity.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasGmlc_Restriction()
Tests whether the field gmlc-Restriction has a value.
|
boolean |
hasNotificationToMSUser()
Tests whether the field notificationToMSUser has a value.
|
boolean |
hasServiceTypeIdentity()
Tests whether the field serviceTypeIdentity has a value.
|
MAPServiceType |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPServiceType |
setGmlc_Restriction(MAPGMLC_Restriction value)
Sets the value of the field gmlc-Restriction.
|
MAPServiceType |
setNotificationToMSUser(MAPNotificationToMSUser value)
Sets the value of the field notificationToMSUser.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPServiceType |
setServiceTypeIdentity(int value)
Sets the value of the field serviceTypeIdentity and marks the field as present.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPServiceType()
public MAPServiceType clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPServiceType copyOf(MAPServiceType 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 MAPGMLC_Restriction getGmlc_Restriction()
public MAPNotificationToMSUser getNotificationToMSUser()
public int getServiceTypeIdentity()
public boolean hasExtensionContainer()
public boolean hasGmlc_Restriction()
public boolean hasNotificationToMSUser()
public boolean hasServiceTypeIdentity()
public MAPServiceType setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPServiceType setGmlc_Restriction(MAPGMLC_Restriction value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPServiceType setNotificationToMSUser(MAPNotificationToMSUser 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
public MAPServiceType setServiceTypeIdentity(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only