com.hp.ucmdb.api.topology
Enum Operator

java.lang.Object
  extended by java.lang.Enum<Operator>
      extended by com.hp.ucmdb.api.topology.Operator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Operator>

public enum Operator
extends java.lang.Enum<Operator>


Enum Constant Summary
CHANGED_IN_LAST
          True when the property (date) is a value between (now) and (now - X hours), where the number of hours is the given integer value.
CONTAINS
          True when the property (list of values) contains the given (single) value.
EQUALS
          True when the property value is equal to the given value.
EQUALS_CASE_INSENSITIVE
          True when the property (string) equals the given string value, ignoring case.
GREATER
          True when the property value is greater than the given value.
GREATER_OR_EQUAL
          True when the property value is greater than or equal to the given value.
IN
          True when the property (single value) is one of the values in a given list.
IN_IGNORE_CASE
          True when the property (single string value) is one of the values in a given list, ignoring case.
IS_NULL
          Unary operator.
LESS
          True when the property value is less then the given value.
LESS_OR_EQUAL
          True when the property value is less than or equal to the given value.
LIKE
          True when the property (string) equals the given string value, using the '%' char as a wildcard.
LIKE_CASE_INSENSITIVE
          True when the property (string) equals the given string value, using the '%' char as a wildcard, ignoring case.
NOT_EQUALS
          True when the property value is not equal to the given value.
UNCHANGED_IN_LAST
          True when the property (date) is a value outside the (now) and (now - X hours) range, where the number of hours is the given integer value.
 
Method Summary
static Operator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Operator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IS_NULL

public static final Operator IS_NULL
Unary operator. True when the property value is null.


EQUALS

public static final Operator EQUALS
True when the property value is equal to the given value.


NOT_EQUALS

public static final Operator NOT_EQUALS
True when the property value is not equal to the given value.


GREATER

public static final Operator GREATER
True when the property value is greater than the given value.


GREATER_OR_EQUAL

public static final Operator GREATER_OR_EQUAL
True when the property value is greater than or equal to the given value.


LESS

public static final Operator LESS
True when the property value is less then the given value.


LESS_OR_EQUAL

public static final Operator LESS_OR_EQUAL
True when the property value is less than or equal to the given value.


IN

public static final Operator IN
True when the property (single value) is one of the values in a given list.


IN_IGNORE_CASE

@NotFinalAPI
public static final Operator IN_IGNORE_CASE
True when the property (single string value) is one of the values in a given list, ignoring case.


CONTAINS

public static final Operator CONTAINS
True when the property (list of values) contains the given (single) value.


EQUALS_CASE_INSENSITIVE

public static final Operator EQUALS_CASE_INSENSITIVE
True when the property (string) equals the given string value, ignoring case.


LIKE

public static final Operator LIKE
True when the property (string) equals the given string value, using the '%' char as a wildcard.


LIKE_CASE_INSENSITIVE

public static final Operator LIKE_CASE_INSENSITIVE
True when the property (string) equals the given string value, using the '%' char as a wildcard, ignoring case.


CHANGED_IN_LAST

@NotFinalAPI
public static final Operator CHANGED_IN_LAST
True when the property (date) is a value between (now) and (now - X hours), where the number of hours is the given integer value.


UNCHANGED_IN_LAST

@NotFinalAPI
public static final Operator UNCHANGED_IN_LAST
True when the property (date) is a value outside the (now) and (now - X hours) range, where the number of hours is the given integer value.

Method Detail

values

public static Operator[] 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 (Operator c : Operator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Operator 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 name
java.lang.NullPointerException - if the argument is null


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.