Class MAPSendIdentificationArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSendIdentificationArgSeq
-
- MAPSendIdentificationArg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSendIdentificationArg extends MAPSendIdentificationArgSeq
API for MAP-MS-DataTypes.SendIdentificationArg. Generated from the following ASN.1 type definition and the adaptations below.SendIdentificationArg ::= SEQUENCE { tmsi TMSI, numberOfRequestedVectors NumberOfRequestedVectors OPTIONAL, -- Within a dialogue numberOfRequestedVectors shall be present in the first service request and shall not be present in subsequent service requests. If received in a subsequent service request it shall be discarded. segmentationProhibited NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... msc-Number ISDN-AddressString OPTIONAL, -- Added in release 6. previous-LAI LAIFixedLength OPTIONAL, -- Added in release 6. hopCounter HopCounter OPTIONAL -- Added in release 6. } MAP-MS-DataTypes { SendIdentificationArg { @parentASN1Type MAP-MobileServiceOperations-R98.sendIdentification.ArgumentType } }
Extended in R99.Used as argument type by
MAPOperations.sendIdentification_v3
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSendIdentificationArg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSendIdentificationArg
clone()
Constructs a copy of this object and everything reachable from it.static MAPSendIdentificationArg
copyOf(MAPSendIdentificationArgSeq 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.int
getHopCounter()
Gets the value of the field hopCounter.AddressString
getMsc_Number()
Gets the value of the field msc-Number.int
getNumberOfRequestedVectors()
Gets the value of the field numberOfRequestedVectors.LocationAreaId
getPrevious_LAI()
Gets the value of the field previous-LAI.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasHopCounter()
Tests whether the field hopCounter has a value.boolean
hasMsc_Number()
Tests whether the field msc-Number has a value.boolean
hasNumberOfRequestedVectors()
Tests whether the field numberOfRequestedVectors has a value.boolean
hasPrevious_LAI()
Tests whether the field previous-LAI has a value.boolean
hasSegmentationProhibited()
Tests whether the field segmentationProhibited is present.MAPSendIdentificationArg
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPSendIdentificationArg
setHopCounter(int value)
Sets the value of the field hopCounter and marks the field as present.MAPSendIdentificationArg
setHopCounterPresent(boolean flag)
Sets the presence or absence of the optional field hopCounter.MAPSendIdentificationArg
setMsc_Number(AddressString value)
Sets the value of the field msc-Number.MAPSendIdentificationArg
setNumberOfRequestedVectors(int value)
Sets the value of the field numberOfRequestedVectors and marks the field as present.MAPSendIdentificationArg
setNumberOfRequestedVectorsPresent(boolean flag)
Sets the presence or absence of the optional field numberOfRequestedVectors.MAPSendIdentificationArg
setPrevious_LAI(LocationAreaId value)
Sets the value of the field previous-LAI.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSendIdentificationArg
setSegmentationProhibitedPresent(boolean flag)
Sets the presence or absence of the optional field segmentationProhibited.MAPSendIdentificationArg
setTmsi(byte[] value)
Sets the value of the field tmsi.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPSendIdentificationArgSeq
getTmsi, hasTmsi
-
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 MAPSendIdentificationArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classMAPSendIdentificationArgSeq
- Returns:
- copy of object
-
copyOf
public static MAPSendIdentificationArg copyOf(MAPSendIdentificationArgSeq 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:
- MAPSendIdentificationArg
-
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.- Overrides:
getFieldsMap
in classMAPSendIdentificationArgSeq
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getHopCounter
public int getHopCounter()
Gets the value of the field hopCounter.- Returns:
- value of field hopCounter
-
getMsc_Number
public AddressString getMsc_Number()
Gets the value of the field msc-Number.- Returns:
- value of field msc-Number, or null if not present
-
getNumberOfRequestedVectors
public int getNumberOfRequestedVectors()
Gets the value of the field numberOfRequestedVectors.- Returns:
- value of field numberOfRequestedVectors
-
getPrevious_LAI
public LocationAreaId getPrevious_LAI()
Gets the value of the field previous-LAI.- Returns:
- value of field previous-LAI, or null if not present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasHopCounter
public boolean hasHopCounter()
Tests whether the field hopCounter has a value.- Returns:
- whether the field hopCounter has a value
-
hasMsc_Number
public boolean hasMsc_Number()
Tests whether the field msc-Number has a value.- Returns:
- whether the field msc-Number has a value
-
hasNumberOfRequestedVectors
public boolean hasNumberOfRequestedVectors()
Tests whether the field numberOfRequestedVectors has a value.- Returns:
- whether the field numberOfRequestedVectors has a value
-
hasPrevious_LAI
public boolean hasPrevious_LAI()
Tests whether the field previous-LAI has a value.- Returns:
- whether the field previous-LAI has a value
-
hasSegmentationProhibited
public boolean hasSegmentationProhibited()
Tests whether the field segmentationProhibited is present.- Returns:
- whether the field segmentationProhibited is present
-
setExtensionContainer
public MAPSendIdentificationArg 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
-
setHopCounter
public MAPSendIdentificationArg setHopCounter(int value) throws IllegalStateException
Sets the value of the field hopCounter and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setHopCounterPresent
public MAPSendIdentificationArg setHopCounterPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field hopCounter.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setMsc_Number
public MAPSendIdentificationArg setMsc_Number(AddressString value) throws IllegalStateException
Sets the value of the field msc-Number. 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
-
setNumberOfRequestedVectors
public MAPSendIdentificationArg setNumberOfRequestedVectors(int value) throws IllegalStateException
Sets the value of the field numberOfRequestedVectors and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setNumberOfRequestedVectorsPresent
public MAPSendIdentificationArg setNumberOfRequestedVectorsPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field numberOfRequestedVectors.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPrevious_LAI
public MAPSendIdentificationArg setPrevious_LAI(LocationAreaId value) throws IllegalStateException
Sets the value of the field previous-LAI. 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
-
setSegmentationProhibitedPresent
public MAPSendIdentificationArg setSegmentationProhibitedPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field segmentationProhibited.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setTmsi
public MAPSendIdentificationArg setTmsi(byte[] value) throws IllegalStateException
Sets the value of the field tmsi.- Overrides:
setTmsi
in classMAPSendIdentificationArgSeq
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-