com.vmware.vise.data.query
Class PropertyConstraint
java.lang.Object
com.vmware.vise.data.Constraint
com.vmware.vise.data.query.PropertyConstraint
@data
public class PropertyConstraint
- extends Constraint
Defines the matching criteria based on property of the object.
Eg. Virtual machines which are powered on.
propertyName
public String propertyName
- The property to be matched by this constraint
Eg. runtime.host
Wildcards:
The following wildcard can be used "*" to request all properties.
Note that the wildcard "*" represents all properties of the kind implied
by the interpretation context. E.g., if used in a PropertyConstraint with the
operator TEXTUALLY_MATCHES, it'd imply all textual properties.
comparator
public Comparator comparator
- The operator to compare with
comparableValue
public Object comparableValue
- The value to compare with. Could be an array if the operator
is a range operator
PropertyConstraint
public PropertyConstraint()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Constraint
hashCode
public int hashCode()
- Overrides:
hashCode
in class Constraint
Copyright @ 2012 VMware, Inc. All rights reserved.