vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.data.query
Enum Comparator

java.lang.Object
  extended by java.lang.Enum<Comparator>
      extended by com.vmware.vise.data.query.Comparator
All Implemented Interfaces:
Serializable, Comparable<Comparator>

public enum Comparator
extends Enum<Comparator>

Defines the allowable comparisons to be done Eg. For comparing property values in PropertyConstraints

Author:
VMware

Enum Constant Summary
CONTAINS
           
CONTAINS_ANY_OF
           
ENDS_WITH
           
EQUALS
           
EQUALS_ANY_OF
           
GREATER
           
MATCHES
           
NOT_EQUALS
           
RANGES_BETWEEN
           
SMALLER
           
STARTS_WITH
           
TEXTUALLY_MATCHES
           
 
Method Summary
static Comparator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Comparator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQUALS

public static final Comparator EQUALS

EQUALS_ANY_OF

public static final Comparator EQUALS_ANY_OF

NOT_EQUALS

public static final Comparator NOT_EQUALS

GREATER

public static final Comparator GREATER

SMALLER

public static final Comparator SMALLER

STARTS_WITH

public static final Comparator STARTS_WITH

ENDS_WITH

public static final Comparator ENDS_WITH

CONTAINS

public static final Comparator CONTAINS

CONTAINS_ANY_OF

public static final Comparator CONTAINS_ANY_OF

MATCHES

public static final Comparator MATCHES

TEXTUALLY_MATCHES

public static final Comparator TEXTUALLY_MATCHES

RANGES_BETWEEN

public static final Comparator RANGES_BETWEEN
Method Detail

values

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

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

valueOf

public static Comparator valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.