Package com.ibm.maximo
Enum OperandModeType
- java.lang.Object
-
- java.lang.Enum<OperandModeType>
-
- com.ibm.maximo.OperandModeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OperandModeType>
public enum OperandModeType extends java.lang.Enum<OperandModeType>
Java class for OperandModeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OperandModeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="OR"/> <enumeration value="AND"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperandModeType
fromValue(java.lang.String v)
java.lang.String
value()
static OperandModeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OperandModeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR
public static final OperandModeType OR
-
AND
public static final OperandModeType AND
-
-
Method Detail
-
values
public static OperandModeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OperandModeType c : OperandModeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperandModeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static OperandModeType fromValue(java.lang.String v)
-
-