Class MAPISR_Information
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPISR_Information
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPISR_Information extends BitStringWithNamedBits
API for MAP-MS-DataTypes.ISR-Information. Generated from the following ASN.1 type definition.ISR-Information ::= BIT STRING (SIZE (3..8)) { updateMME(0), cancelSGSN(1), initialAttachIndicator(2) -- Added in release 8. }
Added in release 8. Exception handling: reception of unknown bit assignments in the ISR-Information data type shall be discarded by the receiver.Used as field type by
MAPEPS_Info
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
BitStringWithNamedBits.NamedBit
-
-
Constructor Summary
Constructors Constructor Description MAPISR_Information()
Constructs an object that has no bits set.MAPISR_Information(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPISR_Information
clearCancelSGSN()
Clears the bit for cancelSGSN to false.MAPISR_Information
clearInitialAttachIndicator()
Clears the bit for initialAttachIndicator to false.MAPISR_Information
clearUpdateMME()
Clears the bit for updateMME to false.MAPISR_Information
clone()
Constructs a copy of this object and everything reachable from it.static MAPISR_Information
copyOf(BitString 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.boolean
getCancelSGSN()
Gets whether the bit for cancelSGSN is set or not.boolean
getInitialAttachIndicator()
Gets whether the bit for initialAttachIndicator is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).boolean
getUpdateMME()
Gets whether the bit for updateMME is set or not.MAPISR_Information
setCancelSGSN()
Sets the bit for cancelSGSN to true.MAPISR_Information
setInitialAttachIndicator()
Sets the bit for initialAttachIndicator to true.MAPISR_Information
setUpdateMME()
Sets the bit for updateMME to true.static BitStringWithNamedBits.NamedBit[]
staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).-
Methods inherited from class com.opencloud.slee.resources.cgin.BitStringWithNamedBits
toString
-
Methods inherited from class com.opencloud.slee.resources.cgin.BitString
clear, clear, equals, get, hashCode, length, nextSetBit, set
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
MAPISR_Information
public MAPISR_Information()
Constructs an object that has no bits set.
-
MAPISR_Information
public MAPISR_Information(int nbits)
Constructs an object that has no bits set, initialised to accommodate the given number of bits.- Parameters:
nbits
- initial number of bits
-
-
Method Detail
-
clearCancelSGSN
public MAPISR_Information clearCancelSGSN()
Clears the bit for cancelSGSN to false.- Returns:
- this
-
clearInitialAttachIndicator
public MAPISR_Information clearInitialAttachIndicator()
Clears the bit for initialAttachIndicator to false.- Returns:
- this
-
clearUpdateMME
public MAPISR_Information clearUpdateMME()
Clears the bit for updateMME to false.- Returns:
- this
-
clone
public MAPISR_Information clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classBitString
- Returns:
- copy of object
-
copyOf
public static MAPISR_Information copyOf(BitString 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:
- MAPISR_Information
-
getCancelSGSN
public boolean getCancelSGSN()
Gets whether the bit for cancelSGSN is set or not.- Returns:
- the named bit's value
-
getInitialAttachIndicator
public boolean getInitialAttachIndicator()
Gets whether the bit for initialAttachIndicator is set or not.- Returns:
- the named bit's value
-
getNamedBits
public BitStringWithNamedBits.NamedBit[] getNamedBits()
Description copied from class:BitStringWithNamedBits
Gets the names of all bits of this type (not just the bits set in this value).- Specified by:
getNamedBits
in classBitStringWithNamedBits
- Returns:
- array of NamedBit
-
getUpdateMME
public boolean getUpdateMME()
Gets whether the bit for updateMME is set or not.- Returns:
- the named bit's value
-
setCancelSGSN
public MAPISR_Information setCancelSGSN()
Sets the bit for cancelSGSN to true.- Returns:
- this
-
setInitialAttachIndicator
public MAPISR_Information setInitialAttachIndicator()
Sets the bit for initialAttachIndicator to true.- Returns:
- this
-
setUpdateMME
public MAPISR_Information setUpdateMME()
Sets the bit for updateMME to true.- Returns:
- this
-
staticGetNamedBits
public static BitStringWithNamedBits.NamedBit[] staticGetNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).- Returns:
- array of NamedBit
-
-