Class MAPSupportedCamelPhases
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- BitString
-
- BitStringWithNamedBits
-
- MAPSupportedCamelPhases
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSupportedCamelPhases extends BitStringWithNamedBits
API for MAP-MS-DataTypes.SupportedCamelPhases. Generated from the following ASN.1 type definition.SupportedCamelPhases ::= BIT STRING (SIZE (1..16)) { phase1(0), phase2(1), -- Added in R97. phase3(2), -- Added in R99. phase4(3) -- Added in release 5. }
Added in R96. A node shall mark in the BIT STRING all CAMEL Phases it supports. Other values than are named here shall be discarded.Used as field type by
MAPVLR_Capability
.Used as field type by
MAPInsertSubscriberDataRes
.Used as field type by
MAPProvideRoamingNumberArg_v3
.Used as field type by
MAPCamelInfo
.Used as field type by
MAPSendRoutingInfoRes_v3
.Used as field type by
MAPSGSN_Capability
.Used as field type by
MAPNoteMM_EventArg
.Used as field type by
MAPAnyTimeSubscriptionInterrogationRes
.Used as field type by
MAPAnyTimeSubscriptionInterrogationRes
.- 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 MAPSupportedCamelPhases()
Constructs an object that has no bits set.MAPSupportedCamelPhases(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 MAPSupportedCamelPhases
clearPhase1()
Clears the bit for phase1 to false.MAPSupportedCamelPhases
clearPhase2()
Clears the bit for phase2 to false.MAPSupportedCamelPhases
clearPhase3()
Clears the bit for phase3 to false.MAPSupportedCamelPhases
clearPhase4()
Clears the bit for phase4 to false.MAPSupportedCamelPhases
clone()
Constructs a copy of this object and everything reachable from it.static MAPSupportedCamelPhases
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
getPhase1()
Gets whether the bit for phase1 is set or not.boolean
getPhase2()
Gets whether the bit for phase2 is set or not.boolean
getPhase3()
Gets whether the bit for phase3 is set or not.boolean
getPhase4()
Gets whether the bit for phase4 is set or not.MAPSupportedCamelPhases
setPhase1()
Sets the bit for phase1 to true.MAPSupportedCamelPhases
setPhase2()
Sets the bit for phase2 to true.MAPSupportedCamelPhases
setPhase3()
Sets the bit for phase3 to true.MAPSupportedCamelPhases
setPhase4()
Sets the bit for phase4 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
-
MAPSupportedCamelPhases
public MAPSupportedCamelPhases()
Constructs an object that has no bits set.
-
MAPSupportedCamelPhases
public MAPSupportedCamelPhases(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
-
clearPhase1
public MAPSupportedCamelPhases clearPhase1()
Clears the bit for phase1 to false.- Returns:
- this
-
clearPhase2
public MAPSupportedCamelPhases clearPhase2()
Clears the bit for phase2 to false.- Returns:
- this
-
clearPhase3
public MAPSupportedCamelPhases clearPhase3()
Clears the bit for phase3 to false.- Returns:
- this
-
clearPhase4
public MAPSupportedCamelPhases clearPhase4()
Clears the bit for phase4 to false.- Returns:
- this
-
clone
public MAPSupportedCamelPhases 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 MAPSupportedCamelPhases 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:
- MAPSupportedCamelPhases
-
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
-
getPhase1
public boolean getPhase1()
Gets whether the bit for phase1 is set or not.- Returns:
- the named bit's value
-
getPhase2
public boolean getPhase2()
Gets whether the bit for phase2 is set or not.- Returns:
- the named bit's value
-
getPhase3
public boolean getPhase3()
Gets whether the bit for phase3 is set or not.- Returns:
- the named bit's value
-
getPhase4
public boolean getPhase4()
Gets whether the bit for phase4 is set or not.- Returns:
- the named bit's value
-
setPhase1
public MAPSupportedCamelPhases setPhase1()
Sets the bit for phase1 to true.- Returns:
- this
-
setPhase2
public MAPSupportedCamelPhases setPhase2()
Sets the bit for phase2 to true.- Returns:
- this
-
setPhase3
public MAPSupportedCamelPhases setPhase3()
Sets the bit for phase3 to true.- Returns:
- this
-
setPhase4
public MAPSupportedCamelPhases setPhase4()
Sets the bit for phase4 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
-
-