Class MAPExternalClient
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPExternalClient
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPExternalClient extends AbstractFieldsObject
API for MAP-MS-DataTypes.ExternalClient. Generated from the following ASN.1 type definition.ExternalClient ::= SEQUENCE { clientIdentity LCSClientExternalID, 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 R98.Used in array as field type by
MAPLCS_PrivacyClass
.Used in array as field type by
MAPLCS_PrivacyClass
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPExternalClient()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPExternalClient
clone()
Constructs a copy of this object and everything reachable from it.static MAPExternalClient
copyOf(MAPExternalClient 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.MAPLCSClientExternalID
getClientIdentity()
Gets the value of the field clientIdentity.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.boolean
hasClientIdentity()
Tests whether the field clientIdentity has a value.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.MAPExternalClient
setClientIdentity(MAPLCSClientExternalID value)
Sets the value of the field clientIdentity.MAPExternalClient
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPExternalClient
setGmlc_Restriction(MAPGMLC_Restriction value)
Sets the value of the field gmlc-Restriction.MAPExternalClient
setNotificationToMSUser(MAPNotificationToMSUser value)
Sets the value of the field notificationToMSUser.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPExternalClient clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPExternalClient copyOf(MAPExternalClient 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.- Parameters:
from
- the object from which to copy- Returns:
- MAPExternalClient
-
getClientIdentity
public MAPLCSClientExternalID getClientIdentity()
Gets the value of the field clientIdentity.- Returns:
- value of field clientIdentity, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getGmlc_Restriction
public MAPGMLC_Restriction getGmlc_Restriction()
Gets the value of the field gmlc-Restriction.- Returns:
- value of field gmlc-Restriction, or null if not present
-
getNotificationToMSUser
public MAPNotificationToMSUser getNotificationToMSUser()
Gets the value of the field notificationToMSUser.- Returns:
- value of field notificationToMSUser, or null if not present
-
hasClientIdentity
public boolean hasClientIdentity()
Tests whether the field clientIdentity has a value.- Returns:
- whether the field clientIdentity has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasGmlc_Restriction
public boolean hasGmlc_Restriction()
Tests whether the field gmlc-Restriction has a value.- Returns:
- whether the field gmlc-Restriction has a value
-
hasNotificationToMSUser
public boolean hasNotificationToMSUser()
Tests whether the field notificationToMSUser has a value.- Returns:
- whether the field notificationToMSUser has a value
-
setClientIdentity
public MAPExternalClient setClientIdentity(MAPLCSClientExternalID value) throws IllegalStateException
Sets the value of the field clientIdentity.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPExternalClient setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setGmlc_Restriction
public MAPExternalClient setGmlc_Restriction(MAPGMLC_Restriction value) throws IllegalStateException
Sets the value of the field gmlc-Restriction. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNotificationToMSUser
public MAPExternalClient setNotificationToMSUser(MAPNotificationToMSUser value) throws IllegalStateException
Sets the value of the field notificationToMSUser. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-