Class MAPENB_InterfaceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPENB_InterfaceList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPENB_InterfaceList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.ENB-InterfaceList. Generated from the following ASN.1 type definition.ENB-InterfaceList ::= BIT STRING (SIZE (3..8)) { s1-mme(0), x2(1), uu(2) }
Added in release 8. 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 MAPENB_InterfaceList()
Constructs an object that has no bits set.MAPENB_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 MAPENB_InterfaceList
clearS1_mme()
Clears the bit for s1_mme to false.MAPENB_InterfaceList
clearUu()
Clears the bit for uu to false.MAPENB_InterfaceList
clearX2()
Clears the bit for x2 to false.MAPENB_InterfaceList
clone()
Constructs a copy of this object and everything reachable from it.static MAPENB_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.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).boolean
getS1_mme()
Gets whether the bit for s1_mme is set or not.boolean
getUu()
Gets whether the bit for uu is set or not.boolean
getX2()
Gets whether the bit for x2 is set or not.MAPENB_InterfaceList
setS1_mme()
Sets the bit for s1_mme to true.MAPENB_InterfaceList
setUu()
Sets the bit for uu to true.MAPENB_InterfaceList
setX2()
Sets the bit for x2 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
-
MAPENB_InterfaceList
public MAPENB_InterfaceList()
Constructs an object that has no bits set.
-
MAPENB_InterfaceList
public MAPENB_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
-
clearS1_mme
public MAPENB_InterfaceList clearS1_mme()
Clears the bit for s1_mme to false.- Returns:
- this
-
clearUu
public MAPENB_InterfaceList clearUu()
Clears the bit for uu to false.- Returns:
- this
-
clearX2
public MAPENB_InterfaceList clearX2()
Clears the bit for x2 to false.- Returns:
- this
-
clone
public MAPENB_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 MAPENB_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:
- MAPENB_InterfaceList
-
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
-
getS1_mme
public boolean getS1_mme()
Gets whether the bit for s1_mme is set or not.- Returns:
- the named bit's value
-
getUu
public boolean getUu()
Gets whether the bit for uu is set or not.- Returns:
- the named bit's value
-
getX2
public boolean getX2()
Gets whether the bit for x2 is set or not.- Returns:
- the named bit's value
-
setS1_mme
public MAPENB_InterfaceList setS1_mme()
Sets the bit for s1_mme to true.- Returns:
- this
-
setUu
public MAPENB_InterfaceList setUu()
Sets the bit for uu to true.- Returns:
- this
-
setX2
public MAPENB_InterfaceList setX2()
Sets the bit for x2 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
-
-