Package com.hp.ucmdb.api.types
Enum Class Type
- All Implemented Interfaces:
Serializable
,Comparable<Type>
,java.lang.constant.Constable
Data types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBoolean value.Raw bytes.Date value.Numeric, floating point value.Enum value.Numeric, floating point value.Numeric, integer value.List of integer values.Restricted value.Numeric, integer value.String value.List of string values.String value. -
Method Summary
-
Enum Constant Details
-
INTEGER
Numeric, integer value. Java value type is Integer. Operators: EQUALS(int), NOT_EQUALS(int), GREATER(int), GREATER_OR_EQUAL(int), LESS(int), LESS_OR_EQUAL(int), IS_NULL, IN(list of int / int[]). -
LONG
Numeric, integer value. Java value type is Long. Operators: EQUALS(long), NOT_EQUALS(long), GREATER(long), GREATER_OR_EQUAL(long), LESS(long), LESS_OR_EQUAL(long), IS_NULL, IN(list of long / long[]). -
FLOAT
Numeric, floating point value. Java value type is Float. Operators: EQUALS(float), NOT_EQUALS(float), GREATER(float), GREATER_OR_EQUAL(float), LESS(float), LESS_OR_EQUAL(float), IS_NULL, IN(list of float / float[]). -
DOUBLE
Numeric, floating point value. Java value type is Double. Operators: EQUALS(double), NOT_EQUALS(double), GREATER(double), GREATER_OR_EQUAL(double), LESS(double), LESS_OR_EQUAL(double), IS_NULL, IN(list of double / double[]). -
INTEGER_LIST
List of integer values. Java value type is Listin data out, may be Iterable or Integer[] in data-in. intList refers to either list of ints or int[]. Operators: IS_NULL, CONTAINS(int) -
STRING
String value. Java value type is String. Operators: EQUALS(string), NOT_EQUALS(string), IS_NULL, IN(list of string / string[]), IN_IGNORE_CASE(string), EQUALS_CASE_INSENSITIVE(string), LIKE(string), LIKE_CASE_INSENSITIVE(string) -
STRING_LIST
List of string values. Java value type is Listin data out, may be Iterable or String[] in data-in. stringList refers to either list of strings or string[]. Greater and less operations over strings are performed according to ASCII order. Operators: IS_NULL, CONTAINS(string), GREATER(string), GREATER_OR_EQUAL(string), LESS(string), LESS_OR_EQUAL(string) -
BYTES
Raw bytes. Java value type is byte[]. Operators: IS_NULL, EQUALS(byte[]), NOT_EQUALS(byte[]) -
XML
String value. Java value type is String. Operators: EQUALS(string), NOT_EQUALS(string), IS_NULL, IN(list of string / string[]), IN_IGNORE_CASE(string), EQUALS_CASE_INSENSITIVE(string), LIKE(string), LIKE_CASE_INSENSITIVE(string) -
BOOLEAN
Boolean value. Java value type is Boolean. Operators: EQUALS(boolean), NOT_EQUALS(boolean), IS_NULL -
DATE
Date value. Java value type is Date. Operators: EQUALS(date), NOT_EQUALS(date), GREATER(date), GREATER_OR_EQUAL(date), LESS(date), LESS_OR_EQUAL(date), IS_NULL, IN(list of dates / date[]), CHANGED_IN_LAST(int), UNCHANGED_IN_LAST(int) -
ENUM
Enum value. Java value type in data out is EnumEntry, may be Integer (ordinal value) or String (value) in query, must be Integer (ordinal) in data in. Operators: EQUALS(int), NOT_EQUALS(int), GREATER(int), GREATER_OR_EQUAL(int), LESS(int), LESS_OR_EQUAL(int), IS_NULL, IN(list of int / int[]). In the following operators, the string value is substituted with the mapped ordinal value. Additional operators: EQUALS(string), NOT_EQUALS(string), GREATER(string), GREATER_OR_EQUAL(string), LESS(string), LESS_OR_EQUAL(string) -
LIST
Restricted value. Java value type is either String, Integer or Long. However, the value must be restricted to a specific list of values from the class model. Operators list match the operators for the actual value type.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-