com.vmware.vcloud.sdk.constants.query
Enum ExpressionType

java.lang.Object
  extended by java.lang.Enum<ExpressionType>
      extended by com.vmware.vcloud.sdk.constants.query.ExpressionType
All Implemented Interfaces:
Serializable, Comparable<ExpressionType>

public enum ExpressionType
extends Enum<ExpressionType>

The enum class represents the operator types.

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering.

Enum Constant Summary
EQUALS
           
GREATER_THAN
          Valid values can be Integer and DateTime
GREATER_THAN_OR_EQUAL
          Valid values can be Integer and DateTime
LESSER_THAN
          Valid values can be Integer and DateTime
LESSER_THAN_OR_EQUAL
          Valid values can be Integer and DateTime
NOT_EQUALS
           
 
Method Summary
static ExpressionType fromValue(String value)
           
 String value()
           
static ExpressionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExpressionType[] 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

EQUALS

public static final ExpressionType EQUALS

NOT_EQUALS

public static final ExpressionType NOT_EQUALS

LESSER_THAN

public static final ExpressionType LESSER_THAN
Valid values can be Integer and DateTime

Since:
API 5.1, SDK 5.1

LESSER_THAN_OR_EQUAL

public static final ExpressionType LESSER_THAN_OR_EQUAL
Valid values can be Integer and DateTime

Since:
API 5.1, SDK 5.1

GREATER_THAN

public static final ExpressionType GREATER_THAN
Valid values can be Integer and DateTime

Since:
API 5.1, SDK 5.1

GREATER_THAN_OR_EQUAL

public static final ExpressionType GREATER_THAN_OR_EQUAL
Valid values can be Integer and DateTime

Since:
API 5.1, SDK 5.1
Method Detail

values

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

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

valueOf

public static ExpressionType 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

value

public String value()

fromValue

public static ExpressionType fromValue(String value)


Copyright © 2016. All Rights Reserved.