Class MAPServiceIndicator
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPServiceIndicator
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPServiceIndicator extends BitStringWithNamedBits
API for MAP-SS-DataTypes.ServiceIndicator. Generated from the following ASN.1 type definition.ServiceIndicator ::= BIT STRING (SIZE (2..32)) { clir-invoked(0), camel-invoked(1) }
Added in R97. Exception handling: bits 2 to 31 shall be ignored if received and not understood.Used as field type by
MAPCCBS_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 MAPServiceIndicator()
Constructs an object that has no bits set.MAPServiceIndicator(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 MAPServiceIndicator
clearCamel_invoked()
Clears the bit for camel_invoked to false.MAPServiceIndicator
clearClir_invoked()
Clears the bit for clir_invoked to false.MAPServiceIndicator
clone()
Constructs a copy of this object and everything reachable from it.static MAPServiceIndicator
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
getCamel_invoked()
Gets whether the bit for camel_invoked is set or not.boolean
getClir_invoked()
Gets whether the bit for clir_invoked is set or not.BitStringWithNamedBits.NamedBit[]
getNamedBits()
Gets the names of all bits of this type (not just the bits set in this value).MAPServiceIndicator
setCamel_invoked()
Sets the bit for camel_invoked to true.MAPServiceIndicator
setClir_invoked()
Sets the bit for clir_invoked 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
-
MAPServiceIndicator
public MAPServiceIndicator()
Constructs an object that has no bits set.
-
MAPServiceIndicator
public MAPServiceIndicator(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
-
clearCamel_invoked
public MAPServiceIndicator clearCamel_invoked()
Clears the bit for camel_invoked to false.- Returns:
- this
-
clearClir_invoked
public MAPServiceIndicator clearClir_invoked()
Clears the bit for clir_invoked to false.- Returns:
- this
-
clone
public MAPServiceIndicator 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 MAPServiceIndicator 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:
- MAPServiceIndicator
-
getCamel_invoked
public boolean getCamel_invoked()
Gets whether the bit for camel_invoked is set or not.- Returns:
- the named bit's value
-
getClir_invoked
public boolean getClir_invoked()
Gets whether the bit for clir_invoked 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
-
setCamel_invoked
public MAPServiceIndicator setCamel_invoked()
Sets the bit for camel_invoked to true.- Returns:
- this
-
setClir_invoked
public MAPServiceIndicator setClir_invoked()
Sets the bit for clir_invoked 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
-
-