com.vmware.vcloud.sdk.constants.query
Enum MetadataExpressionType
java.lang.Object
java.lang.Enum<MetadataExpressionType>
com.vmware.vcloud.sdk.constants.query.MetadataExpressionType
- All Implemented Interfaces:
- Serializable, Comparable<MetadataExpressionType>
public enum MetadataExpressionType
- extends Enum<MetadataExpressionType>
The enum class represents the comparison operator types which are used during the metadata
expression creation.
- Since:
- API 5.1, SDK 5.1
- Author:
- Ecosystem Engineering.
EQUALS
public static final MetadataExpressionType EQUALS
NOT_EQUALS
public static final MetadataExpressionType NOT_EQUALS
LESSER_THAN
public static final MetadataExpressionType LESSER_THAN
LESSER_THAN_OR_EQUAL
public static final MetadataExpressionType LESSER_THAN_OR_EQUAL
GREATER_THAN
public static final MetadataExpressionType GREATER_THAN
GREATER_THAN_OR_EQUAL
public static final MetadataExpressionType GREATER_THAN_OR_EQUAL
values
public static MetadataExpressionType[] 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 (MetadataExpressionType c : MetadataExpressionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MetadataExpressionType 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 MetadataExpressionType fromValue(String value)
Copyright © 2016. All Rights Reserved.