Class MAPMGW_InterfaceList
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPMGW_InterfaceList
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPMGW_InterfaceList extends BitStringWithNamedBits
API for MAP-OM-DataTypes.MGW-InterfaceList. Generated from the following ASN.1 type definition.MGW-InterfaceList ::= BIT STRING (SIZE (3..8)) { mc(0), nb-up(1), iu-up(2) }
Added in release 6. Other bits than are named here shall be discarded.Used as field type by
MAPTraceInterfaceList
.Used as field type by
MAPTracePropagationList
.- 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 MAPMGW_InterfaceList()
Constructs an object that has no bits set.MAPMGW_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 MAPMGW_InterfaceList
clearIu_up()
Clears the bit for iu_up to false.MAPMGW_InterfaceList
clearMc()
Clears the bit for mc to false.MAPMGW_InterfaceList
clearNb_up()
Clears the bit for nb_up to false.MAPMGW_InterfaceList
clone()
Constructs a copy of this object and everything reachable from it.static MAPMGW_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
getIu_up()
Gets whether the bit for iu_up is set or not.boolean
getMc()
Gets whether the bit for mc 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
getNb_up()
Gets whether the bit for nb_up is set or not.MAPMGW_InterfaceList
setIu_up()
Sets the bit for iu_up to true.MAPMGW_InterfaceList
setMc()
Sets the bit for mc to true.MAPMGW_InterfaceList
setNb_up()
Sets the bit for nb_up 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
-
MAPMGW_InterfaceList
public MAPMGW_InterfaceList()
Constructs an object that has no bits set.
-
MAPMGW_InterfaceList
public MAPMGW_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
-
clearIu_up
public MAPMGW_InterfaceList clearIu_up()
Clears the bit for iu_up to false.- Returns:
- this
-
clearMc
public MAPMGW_InterfaceList clearMc()
Clears the bit for mc to false.- Returns:
- this
-
clearNb_up
public MAPMGW_InterfaceList clearNb_up()
Clears the bit for nb_up to false.- Returns:
- this
-
clone
public MAPMGW_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 MAPMGW_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:
- MAPMGW_InterfaceList
-
getIu_up
public boolean getIu_up()
Gets whether the bit for iu_up is set or not.- Returns:
- the named bit's value
-
getMc
public boolean getMc()
Gets whether the bit for mc 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
-
getNb_up
public boolean getNb_up()
Gets whether the bit for nb_up is set or not.- Returns:
- the named bit's value
-
setIu_up
public MAPMGW_InterfaceList setIu_up()
Sets the bit for iu_up to true.- Returns:
- this
-
setMc
public MAPMGW_InterfaceList setMc()
Sets the bit for mc to true.- Returns:
- this
-
setNb_up
public MAPMGW_InterfaceList setNb_up()
Sets the bit for nb_up 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
-
-