vSphere Client SDK API Documentation : version 5.5.0.1300321

com.vmware.vise.data.query
Class PropertyConstraint

java.lang.Object
  extended by com.vmware.vise.data.Constraint
      extended by 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.


Field Summary
 Object comparableValue
          The value to compare with.
 Comparator comparator
          The operator to compare with
 String propertyName
          The property to be matched by this constraint Eg.
 
Fields inherited from class com.vmware.vise.data.Constraint
targetType
 
Constructor Summary
PropertyConstraint()
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

Constructor Detail

PropertyConstraint

public PropertyConstraint()
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Constraint

hashCode

public int hashCode()
Overrides:
hashCode in class Constraint

vSphere Client SDK API Documentation : version 5.5.0.1300321

Copyright @ 2012 VMware, Inc. All rights reserved.