Class MAPSGW_InterfaceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPSGW_InterfaceList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSGW_InterfaceList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.SGW-InterfaceList. Generated from the following ASN.1 type definition.SGW-InterfaceList ::= BIT STRING (SIZE (5..8)) { s4(0), s5(1), s8b(2), s11(3), gxc(4) }
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 MAPSGW_InterfaceList()
Constructs an object that has no bits set.MAPSGW_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 MAPSGW_InterfaceList
clearGxc()
Clears the bit for gxc to false.MAPSGW_InterfaceList
clearS11()
Clears the bit for s11 to false.MAPSGW_InterfaceList
clearS4()
Clears the bit for s4 to false.MAPSGW_InterfaceList
clearS5()
Clears the bit for s5 to false.MAPSGW_InterfaceList
clearS8b()
Clears the bit for s8b to false.MAPSGW_InterfaceList
clone()
Constructs a copy of this object and everything reachable from it.static MAPSGW_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
getGxc()
Gets whether the bit for gxc 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
getS11()
Gets whether the bit for s11 is set or not.boolean
getS4()
Gets whether the bit for s4 is set or not.boolean
getS5()
Gets whether the bit for s5 is set or not.boolean
getS8b()
Gets whether the bit for s8b is set or not.MAPSGW_InterfaceList
setGxc()
Sets the bit for gxc to true.MAPSGW_InterfaceList
setS11()
Sets the bit for s11 to true.MAPSGW_InterfaceList
setS4()
Sets the bit for s4 to true.MAPSGW_InterfaceList
setS5()
Sets the bit for s5 to true.MAPSGW_InterfaceList
setS8b()
Sets the bit for s8b 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
-
MAPSGW_InterfaceList
public MAPSGW_InterfaceList()
Constructs an object that has no bits set.
-
MAPSGW_InterfaceList
public MAPSGW_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
-
clearGxc
public MAPSGW_InterfaceList clearGxc()
Clears the bit for gxc to false.- Returns:
- this
-
clearS11
public MAPSGW_InterfaceList clearS11()
Clears the bit for s11 to false.- Returns:
- this
-
clearS4
public MAPSGW_InterfaceList clearS4()
Clears the bit for s4 to false.- Returns:
- this
-
clearS5
public MAPSGW_InterfaceList clearS5()
Clears the bit for s5 to false.- Returns:
- this
-
clearS8b
public MAPSGW_InterfaceList clearS8b()
Clears the bit for s8b to false.- Returns:
- this
-
clone
public MAPSGW_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 MAPSGW_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:
- MAPSGW_InterfaceList
-
getGxc
public boolean getGxc()
Gets whether the bit for gxc 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
-
getS11
public boolean getS11()
Gets whether the bit for s11 is set or not.- Returns:
- the named bit's value
-
getS4
public boolean getS4()
Gets whether the bit for s4 is set or not.- Returns:
- the named bit's value
-
getS5
public boolean getS5()
Gets whether the bit for s5 is set or not.- Returns:
- the named bit's value
-
getS8b
public boolean getS8b()
Gets whether the bit for s8b is set or not.- Returns:
- the named bit's value
-
setGxc
public MAPSGW_InterfaceList setGxc()
Sets the bit for gxc to true.- Returns:
- this
-
setS11
public MAPSGW_InterfaceList setS11()
Sets the bit for s11 to true.- Returns:
- this
-
setS4
public MAPSGW_InterfaceList setS4()
Sets the bit for s4 to true.- Returns:
- this
-
setS5
public MAPSGW_InterfaceList setS5()
Sets the bit for s5 to true.- Returns:
- this
-
setS8b
public MAPSGW_InterfaceList setS8b()
Sets the bit for s8b 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
-
-