Class MAPODB_HPLMN_Data
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPODB_HPLMN_Data
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPODB_HPLMN_Data extends BitStringWithNamedBits
API for MAP-MS-DataTypes.ODB-HPLMN-Data. Generated from the following ASN.1 type definition.ODB-HPLMN-Data ::= BIT STRING (SIZE (4..32)) { plmn-SpecificBarringType1(0), plmn-SpecificBarringType2(1), plmn-SpecificBarringType3(2), plmn-SpecificBarringType4(3) }
Added in ph2. SIZE changed from (4..4) between ph2 and R96. Exception handling: reception of unknown bit assignments in the ODB-HPLMN-Data type shall be treated like unsupported ODB-HPLMN-Data. When the ODB-HPLMN-Data type is removed from the HLR for a given subscriber, in NoteSubscriberDataModified operation sent toward the gsmSCF all bits shall be set to 'O'.Used as field type by
MAPODB_Data
.- 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 MAPODB_HPLMN_Data()
Constructs an object that has no bits set.MAPODB_HPLMN_Data(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 MAPODB_HPLMN_Data
clearPlmn_SpecificBarringType1()
Clears the bit for plmn_SpecificBarringType1 to false.MAPODB_HPLMN_Data
clearPlmn_SpecificBarringType2()
Clears the bit for plmn_SpecificBarringType2 to false.MAPODB_HPLMN_Data
clearPlmn_SpecificBarringType3()
Clears the bit for plmn_SpecificBarringType3 to false.MAPODB_HPLMN_Data
clearPlmn_SpecificBarringType4()
Clears the bit for plmn_SpecificBarringType4 to false.MAPODB_HPLMN_Data
clone()
Constructs a copy of this object and everything reachable from it.static MAPODB_HPLMN_Data
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
getPlmn_SpecificBarringType1()
Gets whether the bit for plmn_SpecificBarringType1 is set or not.boolean
getPlmn_SpecificBarringType2()
Gets whether the bit for plmn_SpecificBarringType2 is set or not.boolean
getPlmn_SpecificBarringType3()
Gets whether the bit for plmn_SpecificBarringType3 is set or not.boolean
getPlmn_SpecificBarringType4()
Gets whether the bit for plmn_SpecificBarringType4 is set or not.MAPODB_HPLMN_Data
setPlmn_SpecificBarringType1()
Sets the bit for plmn_SpecificBarringType1 to true.MAPODB_HPLMN_Data
setPlmn_SpecificBarringType2()
Sets the bit for plmn_SpecificBarringType2 to true.MAPODB_HPLMN_Data
setPlmn_SpecificBarringType3()
Sets the bit for plmn_SpecificBarringType3 to true.MAPODB_HPLMN_Data
setPlmn_SpecificBarringType4()
Sets the bit for plmn_SpecificBarringType4 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
-
MAPODB_HPLMN_Data
public MAPODB_HPLMN_Data()
Constructs an object that has no bits set.
-
MAPODB_HPLMN_Data
public MAPODB_HPLMN_Data(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
-
clearPlmn_SpecificBarringType1
public MAPODB_HPLMN_Data clearPlmn_SpecificBarringType1()
Clears the bit for plmn_SpecificBarringType1 to false.- Returns:
- this
-
clearPlmn_SpecificBarringType2
public MAPODB_HPLMN_Data clearPlmn_SpecificBarringType2()
Clears the bit for plmn_SpecificBarringType2 to false.- Returns:
- this
-
clearPlmn_SpecificBarringType3
public MAPODB_HPLMN_Data clearPlmn_SpecificBarringType3()
Clears the bit for plmn_SpecificBarringType3 to false.- Returns:
- this
-
clearPlmn_SpecificBarringType4
public MAPODB_HPLMN_Data clearPlmn_SpecificBarringType4()
Clears the bit for plmn_SpecificBarringType4 to false.- Returns:
- this
-
clone
public MAPODB_HPLMN_Data 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 MAPODB_HPLMN_Data 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:
- MAPODB_HPLMN_Data
-
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
-
getPlmn_SpecificBarringType1
public boolean getPlmn_SpecificBarringType1()
Gets whether the bit for plmn_SpecificBarringType1 is set or not.- Returns:
- the named bit's value
-
getPlmn_SpecificBarringType2
public boolean getPlmn_SpecificBarringType2()
Gets whether the bit for plmn_SpecificBarringType2 is set or not.- Returns:
- the named bit's value
-
getPlmn_SpecificBarringType3
public boolean getPlmn_SpecificBarringType3()
Gets whether the bit for plmn_SpecificBarringType3 is set or not.- Returns:
- the named bit's value
-
getPlmn_SpecificBarringType4
public boolean getPlmn_SpecificBarringType4()
Gets whether the bit for plmn_SpecificBarringType4 is set or not.- Returns:
- the named bit's value
-
setPlmn_SpecificBarringType1
public MAPODB_HPLMN_Data setPlmn_SpecificBarringType1()
Sets the bit for plmn_SpecificBarringType1 to true.- Returns:
- this
-
setPlmn_SpecificBarringType2
public MAPODB_HPLMN_Data setPlmn_SpecificBarringType2()
Sets the bit for plmn_SpecificBarringType2 to true.- Returns:
- this
-
setPlmn_SpecificBarringType3
public MAPODB_HPLMN_Data setPlmn_SpecificBarringType3()
Sets the bit for plmn_SpecificBarringType3 to true.- Returns:
- this
-
setPlmn_SpecificBarringType4
public MAPODB_HPLMN_Data setPlmn_SpecificBarringType4()
Sets the bit for plmn_SpecificBarringType4 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
-
-