Class MAPRequestedNodes
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPRequestedNodes
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPRequestedNodes extends BitStringWithNamedBits
API for MAP-MS-DataTypes.RequestedNodes. Generated from the following ASN.1 type definition.RequestedNodes ::= BIT STRING (SIZE (1..8)) { mme(0), sgsn(1) }Added in release 9. Other bits than are named here shall be discarded.Used as field type by
MAPRequestedInfo.- 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 MAPRequestedNodes()Constructs an object that has no bits set.MAPRequestedNodes(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 MAPRequestedNodesclearMme()Clears the bit for mme to false.MAPRequestedNodesclearSgsn()Clears the bit for sgsn to false.MAPRequestedNodesclone()Constructs a copy of this object and everything reachable from it.static MAPRequestedNodescopyOf(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.booleangetMme()Gets whether the bit for mme is set or not.BitStringWithNamedBits.NamedBit[]getNamedBits()Gets the names of all bits of this type (not just the bits set in this value).booleangetSgsn()Gets whether the bit for sgsn is set or not.MAPRequestedNodessetMme()Sets the bit for mme to true.MAPRequestedNodessetSgsn()Sets the bit for sgsn 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
-
MAPRequestedNodes
public MAPRequestedNodes()
Constructs an object that has no bits set.
-
MAPRequestedNodes
public MAPRequestedNodes(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
-
clearMme
public MAPRequestedNodes clearMme()
Clears the bit for mme to false.- Returns:
- this
-
clearSgsn
public MAPRequestedNodes clearSgsn()
Clears the bit for sgsn to false.- Returns:
- this
-
clone
public MAPRequestedNodes clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classBitString- Returns:
- copy of object
-
copyOf
public static MAPRequestedNodes 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:
- MAPRequestedNodes
-
getMme
public boolean getMme()
Gets whether the bit for mme is set or not.- Returns:
- the named bit's value
-
getNamedBits
public BitStringWithNamedBits.NamedBit[] getNamedBits()
Description copied from class:BitStringWithNamedBitsGets the names of all bits of this type (not just the bits set in this value).- Specified by:
getNamedBitsin classBitStringWithNamedBits- Returns:
- array of NamedBit
-
getSgsn
public boolean getSgsn()
Gets whether the bit for sgsn is set or not.- Returns:
- the named bit's value
-
setMme
public MAPRequestedNodes setMme()
Sets the bit for mme to true.- Returns:
- this
-
setSgsn
public MAPRequestedNodes setSgsn()
Sets the bit for sgsn 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
-
-