Class MAPLSAInformationWithdraw
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPLSAInformationWithdraw
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPLSAInformationWithdraw extends AbstractFieldsObject
API for MAP-MS-DataTypes.LSAInformationWithdraw. Generated from the following ASN.1 type definition.LSAInformationWithdraw ::= CHOICE { allLSAData NULL, lsaIdentityList LSAIdentityList }Added in R98.Used as field type by
MAPDeleteSubscriberDataArg.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMAPLSAInformationWithdraw.ChoiceAPI for MAP-MS-DataTypes.LSAInformationWithdraw.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPLSAInformationWithdraw()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPLSAInformationWithdrawclone()Constructs a copy of this object and everything reachable from it.static MAPLSAInformationWithdrawcopyOf(MAPLSAInformationWithdraw 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.MAPLSAInformationWithdraw.ChoicegetChoice()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.LocalisedServiceAreaId[]getLsaIdentityList()Gets the value of the lsaIdentityList choice.booleanisAllLSADataChosen()Tests whether the choice is allLSAData.booleanisLsaIdentityListChosen()Tests whether the choice is lsaIdentityList.MAPLSAInformationWithdrawsetAllLSAData()Sets the allLSAData choice.MAPLSAInformationWithdrawsetLsaIdentityList(LocalisedServiceAreaId[] value)Sets the value of the lsaIdentityList choice.-
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 MAPLSAInformationWithdraw clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPLSAInformationWithdraw copyOf(MAPLSAInformationWithdraw 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:
- MAPLSAInformationWithdraw
-
getChoice
public MAPLSAInformationWithdraw.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getLsaIdentityList
public LocalisedServiceAreaId[] getLsaIdentityList()
Gets the value of the lsaIdentityList choice.- Returns:
- value of the choice, if choice is lsaIdentityList, else null
-
isAllLSADataChosen
public boolean isAllLSADataChosen()
Tests whether the choice is allLSAData.- Returns:
- true if chosen, false if not
-
isLsaIdentityListChosen
public boolean isLsaIdentityListChosen()
Tests whether the choice is lsaIdentityList.- Returns:
- true if chosen, false if not
-
setAllLSAData
public MAPLSAInformationWithdraw setAllLSAData() throws IllegalStateException
Sets the allLSAData choice.- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLsaIdentityList
public MAPLSAInformationWithdraw setLsaIdentityList(LocalisedServiceAreaId[] value) throws IllegalStateException, NullPointerException
Sets the value of the lsaIdentityList choice.- Parameters:
value- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-onlyNullPointerException- if the given value is null
-
-