Class MAPRequestedEquipmentInfo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPRequestedEquipmentInfo
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPRequestedEquipmentInfo extends BitStringWithNamedBits
API for MAP-MS-DataTypes.RequestedEquipmentInfo. Generated from the following ASN.1 type definition.RequestedEquipmentInfo ::= BIT STRING (SIZE (2..8)) { equipmentStatus(0), bmuef(1) }
Added in release 5. Exception handling: reception of unknown bit assignments in the RequestedEquipmentInfo data type shall be discarded by the receiver.Used as field type by
MAPCheckIMEI_Arg
.- 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 MAPRequestedEquipmentInfo()
Constructs an object that has no bits set.MAPRequestedEquipmentInfo(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 MAPRequestedEquipmentInfo
clearBmuef()
Clears the bit for bmuef to false.MAPRequestedEquipmentInfo
clearEquipmentStatus()
Clears the bit for equipmentStatus to false.MAPRequestedEquipmentInfo
clone()
Constructs a copy of this object and everything reachable from it.static MAPRequestedEquipmentInfo
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
getBmuef()
Gets whether the bit for bmuef is set or not.boolean
getEquipmentStatus()
Gets whether the bit for equipmentStatus is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).MAPRequestedEquipmentInfo
setBmuef()
Sets the bit for bmuef to true.MAPRequestedEquipmentInfo
setEquipmentStatus()
Sets the bit for equipmentStatus 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
-
MAPRequestedEquipmentInfo
public MAPRequestedEquipmentInfo()
Constructs an object that has no bits set.
-
MAPRequestedEquipmentInfo
public MAPRequestedEquipmentInfo(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
-
clearBmuef
public MAPRequestedEquipmentInfo clearBmuef()
Clears the bit for bmuef to false.- Returns:
- this
-
clearEquipmentStatus
public MAPRequestedEquipmentInfo clearEquipmentStatus()
Clears the bit for equipmentStatus to false.- Returns:
- this
-
clone
public MAPRequestedEquipmentInfo 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 MAPRequestedEquipmentInfo 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:
- MAPRequestedEquipmentInfo
-
getBmuef
public boolean getBmuef()
Gets whether the bit for bmuef is set or not.- Returns:
- the named bit's value
-
getEquipmentStatus
public boolean getEquipmentStatus()
Gets whether the bit for equipmentStatus 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
-
setBmuef
public MAPRequestedEquipmentInfo setBmuef()
Sets the bit for bmuef to true.- Returns:
- this
-
setEquipmentStatus
public MAPRequestedEquipmentInfo setEquipmentStatus()
Sets the bit for equipmentStatus 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
-
-