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

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

public enum QueryEventField
extends Enum<QueryEventField>
implements QueryField

Constants for the QueryParams's fields, sort ascending and sort descending properties.

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering

Enum Constant Summary
ENTITY
           
ENTITYNAME
           
ENTITYTYPE
           
EVENTSTATUS
           
EVENTTYPE
           
HREF
           
ID
           
ORGNAME
           
SERVICENAMESPACE
           
TIMESTAMP
           
USERNAME
           
 
Method Summary
static QueryEventField fromValue(String value)
           
 String value()
           
static QueryEventField valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryEventField[] 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

ID

public static final QueryEventField ID
Since:
API 5.1, SDK 5.1

HREF

public static final QueryEventField HREF
Since:
API 5.1, SDK 5.1

ENTITY

public static final QueryEventField ENTITY

ENTITYNAME

public static final QueryEventField ENTITYNAME

ENTITYTYPE

public static final QueryEventField ENTITYTYPE

EVENTSTATUS

public static final QueryEventField EVENTSTATUS

EVENTTYPE

public static final QueryEventField EVENTTYPE

ORGNAME

public static final QueryEventField ORGNAME

SERVICENAMESPACE

public static final QueryEventField SERVICENAMESPACE
Since:
API 5.1, SDK 5.1

TIMESTAMP

public static final QueryEventField TIMESTAMP

USERNAME

public static final QueryEventField USERNAME
Method Detail

values

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

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

valueOf

public static QueryEventField 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()
Specified by:
value in interface QueryField

fromValue

public static QueryEventField fromValue(String value)


Copyright © 2016. All Rights Reserved.