Class BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
- java.lang.Object
-
- java.lang.Number
-
- com.opencloud.util.NamedInteger
-
- com.opencloud.slee.resources.in.datatypes.cc.BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
- Enclosing class:
- BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem
public static final class BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity extends NamedInteger
ITU-T Parity constants.The API offered by this class is as if the type were specified in ASN.1 as follows.
Parity ::= ENUMERATED { ODD (0), ... , EVEN (2), NONE (3), FORCED_TO_0 (4), FORCED_TO_1 (5), ... }
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_EVEN
ITU-T Parity constant corresponding to Even.static int
_FORCED_TO_0
ITU-T Parity constant corresponding to Forced to 0.static int
_FORCED_TO_1
ITU-T Parity constant corresponding to Forced to 1.static int
_NONE
ITU-T Parity constant corresponding to None.static int
_ODD
ITU-T Parity constant corresponding to Odd.static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
EVEN
ITU-T Parity constant corresponding to Even.static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
FORCED_TO_0
ITU-T Parity constant corresponding to Forced to 0.static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
FORCED_TO_1
ITU-T Parity constant corresponding to Forced to 1.static int
MAX_VALUE
Maximum value that a Parity instance may take (7).static int
MIN_VALUE
Minimum value that a Parity instance may take (0).static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
NONE
ITU-T Parity constant corresponding to None.static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
ODD
ITU-T Parity constant corresponding to Odd.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity
fromValue(int value)
Returns a Parity for a particular integer value.static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity[]
namedValues()
Returns an array containing all of Parity's named numbers.-
Methods inherited from class com.opencloud.util.NamedInteger
byteValue, clone, doubleValue, equals, floatValue, hashCode, intValue, isReadOnly, longValue, setReadOnly, shortValue, toString, valueOf
-
-
-
-
Field Detail
-
_ODD
public static final int _ODD
ITU-T Parity constant corresponding to Odd.- See Also:
- Constant Field Values
-
_EVEN
public static final int _EVEN
ITU-T Parity constant corresponding to Even.- See Also:
- Constant Field Values
-
_NONE
public static final int _NONE
ITU-T Parity constant corresponding to None.- See Also:
- Constant Field Values
-
_FORCED_TO_0
public static final int _FORCED_TO_0
ITU-T Parity constant corresponding to Forced to 0.- See Also:
- Constant Field Values
-
_FORCED_TO_1
public static final int _FORCED_TO_1
ITU-T Parity constant corresponding to Forced to 1.- See Also:
- Constant Field Values
-
ODD
public static final BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity ODD
ITU-T Parity constant corresponding to Odd.
-
EVEN
public static final BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity EVEN
ITU-T Parity constant corresponding to Even.
-
NONE
public static final BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity NONE
ITU-T Parity constant corresponding to None.
-
FORCED_TO_0
public static final BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity FORCED_TO_0
ITU-T Parity constant corresponding to Forced to 0.
-
FORCED_TO_1
public static final BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity FORCED_TO_1
ITU-T Parity constant corresponding to Forced to 1.
-
MIN_VALUE
public static final int MIN_VALUE
Minimum value that a Parity instance may take (0).- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
Maximum value that a Parity instance may take (7).- See Also:
- Constant Field Values
-
-
Method Detail
-
fromValue
public static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity fromValue(int value)
Returns a Parity for a particular integer value.- Returns:
- any known instance, or a new object
-
namedValues
public static BearerCapability.ITU_T.Layer1Capability.Details.ParityAndModem.Parity[] namedValues()
Returns an array containing all of Parity's named numbers.- Returns:
- a new Parity[]
-
-