Class MAPLCSInformation
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPLCSInformation
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPLCSInformation extends AbstractFieldsObject
API for MAP-MS-DataTypes.LCSInformation. Generated from the following ASN.1 type definition.LCSInformation ::= SEQUENCE { gmlc-List GMLC-List OPTIONAL, lcs-PrivacyExceptionList LCS-PrivacyExceptionList OPTIONAL, molr-List MOLR-List OPTIONAL, ... add-lcs-PrivacyExceptionList LCS-PrivacyExceptionList OPTIONAL -- Added in release 5. }
Added in R98. add-lcs-PrivacyExceptionList may be sent only if lcs-PrivacyExceptionList is present and contains four instances of LCS-PrivacyClass. If the mentioned condition is not satisfied the receiving node shall discard add-lcs-PrivacyExceptionList. If an LCS-PrivacyClass is received both in lcs-PrivacyExceptionList and in add-lcs-PrivacyExceptionList with the same SS-Code, then the error unexpected data value shall be returned.Used as field type by
MAPInsertSubscriberDataArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPLCSInformation()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPLCSInformation
clone()
Constructs a copy of this object and everything reachable from it.static MAPLCSInformation
copyOf(MAPLCSInformation 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.MAPLCS_PrivacyClass[]
getAdd_lcs_PrivacyExceptionList()
Gets the value of the field add-lcs-PrivacyExceptionList.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.AddressString[]
getGmlc_List()
Gets the value of the field gmlc-List.MAPLCS_PrivacyClass[]
getLcs_PrivacyExceptionList()
Gets the value of the field lcs-PrivacyExceptionList.MAPMOLR_Class[]
getMolr_List()
Gets the value of the field molr-List.boolean
hasAdd_lcs_PrivacyExceptionList()
Tests whether the field add-lcs-PrivacyExceptionList has a value.boolean
hasGmlc_List()
Tests whether the field gmlc-List has a value.boolean
hasLcs_PrivacyExceptionList()
Tests whether the field lcs-PrivacyExceptionList has a value.boolean
hasMolr_List()
Tests whether the field molr-List has a value.MAPLCSInformation
setAdd_lcs_PrivacyExceptionList(MAPLCS_PrivacyClass[] value)
Sets the value of the field add-lcs-PrivacyExceptionList.MAPLCSInformation
setGmlc_List(AddressString[] value)
Sets the value of the field gmlc-List.MAPLCSInformation
setLcs_PrivacyExceptionList(MAPLCS_PrivacyClass[] value)
Sets the value of the field lcs-PrivacyExceptionList.MAPLCSInformation
setMolr_List(MAPMOLR_Class[] value)
Sets the value of the field molr-List.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public MAPLCSInformation 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 MAPLCSInformation copyOf(MAPLCSInformation 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:
- MAPLCSInformation
-
getAdd_lcs_PrivacyExceptionList
public MAPLCS_PrivacyClass[] getAdd_lcs_PrivacyExceptionList()
Gets the value of the field add-lcs-PrivacyExceptionList.- Returns:
- value of field add-lcs-PrivacyExceptionList, 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_List
public AddressString[] getGmlc_List()
Gets the value of the field gmlc-List.- Returns:
- value of field gmlc-List, or null if not present
-
getLcs_PrivacyExceptionList
public MAPLCS_PrivacyClass[] getLcs_PrivacyExceptionList()
Gets the value of the field lcs-PrivacyExceptionList.- Returns:
- value of field lcs-PrivacyExceptionList, or null if not present
-
getMolr_List
public MAPMOLR_Class[] getMolr_List()
Gets the value of the field molr-List.- Returns:
- value of field molr-List, or null if not present
-
hasAdd_lcs_PrivacyExceptionList
public boolean hasAdd_lcs_PrivacyExceptionList()
Tests whether the field add-lcs-PrivacyExceptionList has a value.- Returns:
- whether the field add-lcs-PrivacyExceptionList has a value
-
hasGmlc_List
public boolean hasGmlc_List()
Tests whether the field gmlc-List has a value.- Returns:
- whether the field gmlc-List has a value
-
hasLcs_PrivacyExceptionList
public boolean hasLcs_PrivacyExceptionList()
Tests whether the field lcs-PrivacyExceptionList has a value.- Returns:
- whether the field lcs-PrivacyExceptionList has a value
-
hasMolr_List
public boolean hasMolr_List()
Tests whether the field molr-List has a value.- Returns:
- whether the field molr-List has a value
-
setAdd_lcs_PrivacyExceptionList
public MAPLCSInformation setAdd_lcs_PrivacyExceptionList(MAPLCS_PrivacyClass[] value) throws IllegalStateException
Sets the value of the field add-lcs-PrivacyExceptionList. 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_List
public MAPLCSInformation setGmlc_List(AddressString[] value) throws IllegalStateException
Sets the value of the field gmlc-List. 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
-
setLcs_PrivacyExceptionList
public MAPLCSInformation setLcs_PrivacyExceptionList(MAPLCS_PrivacyClass[] value) throws IllegalStateException
Sets the value of the field lcs-PrivacyExceptionList. 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
-
setMolr_List
public MAPLCSInformation setMolr_List(MAPMOLR_Class[] value) throws IllegalStateException
Sets the value of the field molr-List. 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
-
-