Class MAPGGSN_InterfaceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPGGSN_InterfaceList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPGGSN_InterfaceList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.GGSN-InterfaceList. Generated from the following ASN.1 type definition.GGSN-InterfaceList ::= BIT STRING (SIZE (3..8)) { gn(0), gi(1), gmb(2) }
Added in release 6. Other bits than are named here shall be discarded.Used as field type by
MAPTraceInterfaceList
.- 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 MAPGGSN_InterfaceList()
Constructs an object that has no bits set.MAPGGSN_InterfaceList(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 MAPGGSN_InterfaceList
clearGi()
Clears the bit for gi to false.MAPGGSN_InterfaceList
clearGmb()
Clears the bit for gmb to false.MAPGGSN_InterfaceList
clearGn()
Clears the bit for gn to false.MAPGGSN_InterfaceList
clone()
Constructs a copy of this object and everything reachable from it.static MAPGGSN_InterfaceList
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
getGi()
Gets whether the bit for gi is set or not.boolean
getGmb()
Gets whether the bit for gmb is set or not.boolean
getGn()
Gets whether the bit for gn is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).MAPGGSN_InterfaceList
setGi()
Sets the bit for gi to true.MAPGGSN_InterfaceList
setGmb()
Sets the bit for gmb to true.MAPGGSN_InterfaceList
setGn()
Sets the bit for gn 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
-
MAPGGSN_InterfaceList
public MAPGGSN_InterfaceList()
Constructs an object that has no bits set.
-
MAPGGSN_InterfaceList
public MAPGGSN_InterfaceList(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
-
clearGi
public MAPGGSN_InterfaceList clearGi()
Clears the bit for gi to false.- Returns:
- this
-
clearGmb
public MAPGGSN_InterfaceList clearGmb()
Clears the bit for gmb to false.- Returns:
- this
-
clearGn
public MAPGGSN_InterfaceList clearGn()
Clears the bit for gn to false.- Returns:
- this
-
clone
public MAPGGSN_InterfaceList 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 MAPGGSN_InterfaceList 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:
- MAPGGSN_InterfaceList
-
getGi
public boolean getGi()
Gets whether the bit for gi is set or not.- Returns:
- the named bit's value
-
getGmb
public boolean getGmb()
Gets whether the bit for gmb is set or not.- Returns:
- the named bit's value
-
getGn
public boolean getGn()
Gets whether the bit for gn 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
-
setGi
public MAPGGSN_InterfaceList setGi()
Sets the bit for gi to true.- Returns:
- this
-
setGmb
public MAPGGSN_InterfaceList setGmb()
Sets the bit for gmb to true.- Returns:
- this
-
setGn
public MAPGGSN_InterfaceList setGn()
Sets the bit for gn 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
-
-