Class MAPResetArg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPResetArg extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph1.ResetArg. Generated from the following ASN.1 type definition and the adaptations below.ResetArg ::= SEQUENCE { networkResource NetworkResource, -- Removed between ph1 and ph2. For use only in -v1 contexts. originatingEntityNumber ISDN-AddressString, -- Renamed to hlr-Number between ph1 and ph2. hlrId HLR-List OPTIONAL -- Renamed to hlr-List between ph1 and ph2. } MAP-MS-DataTypes-ph1 { ResetArg { hlrId { @rename hlr-List } originatingEntityNumber { @rename hlr-Number } } }
Present in ph1. Evolved in ph2 by deletion of field networkResource, so this API suffices in -v2 contexts as well as -v1.Used as argument type by
MAPOperations.reset_v1
.Used as argument type by
MAPOperations.reset
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPResetArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPResetArg
clone()
Constructs a copy of this object and everything reachable from it.static MAPResetArg
copyOf(MAPResetArg 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.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.IMSIAddress[]
getHlr_List()
Gets the value of the field hlrId.AddressString
getHlr_Number()
Gets the value of the field originatingEntityNumber.MAPNetworkResource
getNetworkResource()
Gets the value of the field networkResource.boolean
hasHlr_List()
Tests whether the field hlrId has a value.boolean
hasHlr_Number()
Tests whether the field originatingEntityNumber has a value.boolean
hasNetworkResource()
Tests whether the field networkResource has a value.MAPResetArg
setHlr_List(IMSIAddress[] value)
Sets the value of the field hlrId.MAPResetArg
setHlr_Number(AddressString value)
Sets the value of the field originatingEntityNumber.MAPResetArg
setNetworkResource(MAPNetworkResource value)
Sets the value of the field networkResource.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 MAPResetArg 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 MAPResetArg copyOf(MAPResetArg 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:
- MAPResetArg
-
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
-
getHlr_List
public IMSIAddress[] getHlr_List()
Gets the value of the field hlrId.- Returns:
- value of field hlrId, or null if not present
-
getHlr_Number
public AddressString getHlr_Number()
Gets the value of the field originatingEntityNumber.- Returns:
- value of field originatingEntityNumber, or null if not present
-
getNetworkResource
public MAPNetworkResource getNetworkResource()
Gets the value of the field networkResource.- Returns:
- value of field networkResource, or null if not present
-
hasHlr_List
public boolean hasHlr_List()
Tests whether the field hlrId has a value.- Returns:
- whether the field hlrId has a value
-
hasHlr_Number
public boolean hasHlr_Number()
Tests whether the field originatingEntityNumber has a value.- Returns:
- whether the field originatingEntityNumber has a value
-
hasNetworkResource
public boolean hasNetworkResource()
Tests whether the field networkResource has a value.- Returns:
- whether the field networkResource has a value
-
setHlr_List
public MAPResetArg setHlr_List(IMSIAddress[] value) throws IllegalStateException
Sets the value of the field hlrId. 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
-
setHlr_Number
public MAPResetArg setHlr_Number(AddressString value) throws IllegalStateException
Sets the value of the field originatingEntityNumber.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNetworkResource
public MAPResetArg setNetworkResource(MAPNetworkResource value) throws IllegalStateException
Sets the value of the field networkResource.- 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
-
-