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 MAPSendIdentificationArgclone()Constructs a copy of this object and everything reachable from it.static MAPSendIdentificationArgcopyOf(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.MAPExtensionContainergetExtensionContainer()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.intgetHopCounter()Gets the value of the field hopCounter.AddressStringgetMsc_Number()Gets the value of the field msc-Number.intgetNumberOfRequestedVectors()Gets the value of the field numberOfRequestedVectors.LocationAreaIdgetPrevious_LAI()Gets the value of the field previous-LAI.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasHopCounter()Tests whether the field hopCounter has a value.booleanhasMsc_Number()Tests whether the field msc-Number has a value.booleanhasNumberOfRequestedVectors()Tests whether the field numberOfRequestedVectors has a value.booleanhasPrevious_LAI()Tests whether the field previous-LAI has a value.booleanhasSegmentationProhibited()Tests whether the field segmentationProhibited is present.MAPSendIdentificationArgsetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPSendIdentificationArgsetHopCounter(int value)Sets the value of the field hopCounter and marks the field as present.MAPSendIdentificationArgsetHopCounterPresent(boolean flag)Sets the presence or absence of the optional field hopCounter.MAPSendIdentificationArgsetMsc_Number(AddressString value)Sets the value of the field msc-Number.MAPSendIdentificationArgsetNumberOfRequestedVectors(int value)Sets the value of the field numberOfRequestedVectors and marks the field as present.MAPSendIdentificationArgsetNumberOfRequestedVectorsPresent(boolean flag)Sets the presence or absence of the optional field numberOfRequestedVectors.MAPSendIdentificationArgsetPrevious_LAI(LocationAreaId value)Sets the value of the field previous-LAI.voidsetReadOnly()Sets this and all its fields to be immutable.MAPSendIdentificationArgsetSegmentationProhibitedPresent(boolean flag)Sets the presence or absence of the optional field segmentationProhibited.MAPSendIdentificationArgsetTmsi(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:
clonein interfaceDataObject- Overrides:
clonein 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:
getFieldsMapin 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin 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:
setTmsiin classMAPSendIdentificationArgSeq- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-