Class MAPSupportedRAT_Types
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPSupportedRAT_Types
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSupportedRAT_Types extends BitStringWithNamedBits
API for MAP-MS-DataTypes.SupportedRAT-Types. Generated from the following ASN.1 type definition.SupportedRAT-Types ::= BIT STRING (SIZE (2..8)) { utran(0), geran(1), gan(2), i-hspa-evolution(3), e-utran(4) -- Added in release 8. }
Added in release 7. Exception handling: bits 5 to 7 shall be ignored if received and not understood.Used as field type by
MAPVLR_Capability
.Used as field type by
MAPSGSN_Capability
.- 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 MAPSupportedRAT_Types()
Constructs an object that has no bits set.MAPSupportedRAT_Types(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 MAPSupportedRAT_Types
clearE_utran()
Clears the bit for e_utran to false.MAPSupportedRAT_Types
clearGan()
Clears the bit for gan to false.MAPSupportedRAT_Types
clearGeran()
Clears the bit for geran to false.MAPSupportedRAT_Types
clearI_hspa_evolution()
Clears the bit for i_hspa_evolution to false.MAPSupportedRAT_Types
clearUtran()
Clears the bit for utran to false.MAPSupportedRAT_Types
clone()
Constructs a copy of this object and everything reachable from it.static MAPSupportedRAT_Types
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
getE_utran()
Gets whether the bit for e_utran is set or not.boolean
getGan()
Gets whether the bit for gan is set or not.boolean
getGeran()
Gets whether the bit for geran is set or not.boolean
getI_hspa_evolution()
Gets whether the bit for i_hspa_evolution 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
getUtran()
Gets whether the bit for utran is set or not.MAPSupportedRAT_Types
setE_utran()
Sets the bit for e_utran to true.MAPSupportedRAT_Types
setGan()
Sets the bit for gan to true.MAPSupportedRAT_Types
setGeran()
Sets the bit for geran to true.MAPSupportedRAT_Types
setI_hspa_evolution()
Sets the bit for i_hspa_evolution to true.MAPSupportedRAT_Types
setUtran()
Sets the bit for utran 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
-
MAPSupportedRAT_Types
public MAPSupportedRAT_Types()
Constructs an object that has no bits set.
-
MAPSupportedRAT_Types
public MAPSupportedRAT_Types(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
-
clearE_utran
public MAPSupportedRAT_Types clearE_utran()
Clears the bit for e_utran to false.- Returns:
- this
-
clearGan
public MAPSupportedRAT_Types clearGan()
Clears the bit for gan to false.- Returns:
- this
-
clearGeran
public MAPSupportedRAT_Types clearGeran()
Clears the bit for geran to false.- Returns:
- this
-
clearI_hspa_evolution
public MAPSupportedRAT_Types clearI_hspa_evolution()
Clears the bit for i_hspa_evolution to false.- Returns:
- this
-
clearUtran
public MAPSupportedRAT_Types clearUtran()
Clears the bit for utran to false.- Returns:
- this
-
clone
public MAPSupportedRAT_Types 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 MAPSupportedRAT_Types 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:
- MAPSupportedRAT_Types
-
getE_utran
public boolean getE_utran()
Gets whether the bit for e_utran is set or not.- Returns:
- the named bit's value
-
getGan
public boolean getGan()
Gets whether the bit for gan is set or not.- Returns:
- the named bit's value
-
getGeran
public boolean getGeran()
Gets whether the bit for geran is set or not.- Returns:
- the named bit's value
-
getI_hspa_evolution
public boolean getI_hspa_evolution()
Gets whether the bit for i_hspa_evolution 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
-
getUtran
public boolean getUtran()
Gets whether the bit for utran is set or not.- Returns:
- the named bit's value
-
setE_utran
public MAPSupportedRAT_Types setE_utran()
Sets the bit for e_utran to true.- Returns:
- this
-
setGan
public MAPSupportedRAT_Types setGan()
Sets the bit for gan to true.- Returns:
- this
-
setGeran
public MAPSupportedRAT_Types setGeran()
Sets the bit for geran to true.- Returns:
- this
-
setI_hspa_evolution
public MAPSupportedRAT_Types setI_hspa_evolution()
Sets the bit for i_hspa_evolution to true.- Returns:
- this
-
setUtran
public MAPSupportedRAT_Types setUtran()
Sets the bit for utran 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
-
-