Class MAPPGW_InterfaceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPPGW_InterfaceList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPPGW_InterfaceList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.PGW-InterfaceList. Generated from the following ASN.1 type definition.PGW-InterfaceList ::= BIT STRING (SIZE (8..16)) { s2a(0), s2b(1), s2c(2), s5(3), s6b(4), gx(5), s8b(6), sgi(7) }
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 MAPPGW_InterfaceList()
Constructs an object that has no bits set.MAPPGW_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 MAPPGW_InterfaceList
clearGx()
Clears the bit for gx to false.MAPPGW_InterfaceList
clearS2a()
Clears the bit for s2a to false.MAPPGW_InterfaceList
clearS2b()
Clears the bit for s2b to false.MAPPGW_InterfaceList
clearS2c()
Clears the bit for s2c to false.MAPPGW_InterfaceList
clearS5()
Clears the bit for s5 to false.MAPPGW_InterfaceList
clearS6b()
Clears the bit for s6b to false.MAPPGW_InterfaceList
clearS8b()
Clears the bit for s8b to false.MAPPGW_InterfaceList
clearSgi()
Clears the bit for sgi to false.MAPPGW_InterfaceList
clone()
Constructs a copy of this object and everything reachable from it.static MAPPGW_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
getGx()
Gets whether the bit for gx 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
getS2a()
Gets whether the bit for s2a is set or not.boolean
getS2b()
Gets whether the bit for s2b is set or not.boolean
getS2c()
Gets whether the bit for s2c is set or not.boolean
getS5()
Gets whether the bit for s5 is set or not.boolean
getS6b()
Gets whether the bit for s6b is set or not.boolean
getS8b()
Gets whether the bit for s8b is set or not.boolean
getSgi()
Gets whether the bit for sgi is set or not.MAPPGW_InterfaceList
setGx()
Sets the bit for gx to true.MAPPGW_InterfaceList
setS2a()
Sets the bit for s2a to true.MAPPGW_InterfaceList
setS2b()
Sets the bit for s2b to true.MAPPGW_InterfaceList
setS2c()
Sets the bit for s2c to true.MAPPGW_InterfaceList
setS5()
Sets the bit for s5 to true.MAPPGW_InterfaceList
setS6b()
Sets the bit for s6b to true.MAPPGW_InterfaceList
setS8b()
Sets the bit for s8b to true.MAPPGW_InterfaceList
setSgi()
Sets the bit for sgi 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
-
MAPPGW_InterfaceList
public MAPPGW_InterfaceList()
Constructs an object that has no bits set.
-
MAPPGW_InterfaceList
public MAPPGW_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
-
clearGx
public MAPPGW_InterfaceList clearGx()
Clears the bit for gx to false.- Returns:
- this
-
clearS2a
public MAPPGW_InterfaceList clearS2a()
Clears the bit for s2a to false.- Returns:
- this
-
clearS2b
public MAPPGW_InterfaceList clearS2b()
Clears the bit for s2b to false.- Returns:
- this
-
clearS2c
public MAPPGW_InterfaceList clearS2c()
Clears the bit for s2c to false.- Returns:
- this
-
clearS5
public MAPPGW_InterfaceList clearS5()
Clears the bit for s5 to false.- Returns:
- this
-
clearS6b
public MAPPGW_InterfaceList clearS6b()
Clears the bit for s6b to false.- Returns:
- this
-
clearS8b
public MAPPGW_InterfaceList clearS8b()
Clears the bit for s8b to false.- Returns:
- this
-
clearSgi
public MAPPGW_InterfaceList clearSgi()
Clears the bit for sgi to false.- Returns:
- this
-
clone
public MAPPGW_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 MAPPGW_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:
- MAPPGW_InterfaceList
-
getGx
public boolean getGx()
Gets whether the bit for gx 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
-
getS2a
public boolean getS2a()
Gets whether the bit for s2a is set or not.- Returns:
- the named bit's value
-
getS2b
public boolean getS2b()
Gets whether the bit for s2b is set or not.- Returns:
- the named bit's value
-
getS2c
public boolean getS2c()
Gets whether the bit for s2c 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
-
getS6b
public boolean getS6b()
Gets whether the bit for s6b 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
-
getSgi
public boolean getSgi()
Gets whether the bit for sgi is set or not.- Returns:
- the named bit's value
-
setGx
public MAPPGW_InterfaceList setGx()
Sets the bit for gx to true.- Returns:
- this
-
setS2a
public MAPPGW_InterfaceList setS2a()
Sets the bit for s2a to true.- Returns:
- this
-
setS2b
public MAPPGW_InterfaceList setS2b()
Sets the bit for s2b to true.- Returns:
- this
-
setS2c
public MAPPGW_InterfaceList setS2c()
Sets the bit for s2c to true.- Returns:
- this
-
setS5
public MAPPGW_InterfaceList setS5()
Sets the bit for s5 to true.- Returns:
- this
-
setS6b
public MAPPGW_InterfaceList setS6b()
Sets the bit for s6b to true.- Returns:
- this
-
setS8b
public MAPPGW_InterfaceList setS8b()
Sets the bit for s8b to true.- Returns:
- this
-
setSgi
public MAPPGW_InterfaceList setSgi()
Sets the bit for sgi 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
-
-