Packagecom.vmware.data.query
Classpublic class RelationalConstraint
InheritanceRelationalConstraint Inheritance Constraint Inheritance Object

Defines the matching criteria based on some relation to the object queried.

Eg. VirtualMachines whose host is esx1.vmware.com

Note: this class was generated from its Java counterpart RelationalConstraint



Public Properties
 PropertyDefined By
  constraintOnRelatedObject : Constraint
A constraint on the related objects by the given relationship.
RelationalConstraint
  hasInverseRelation : Boolean
Indicates whether the constraint given by constraintOnRelatedObject applies to the source, as opposed to the target of the relationship given in this instance.
RelationalConstraint
  relation : String
The relation to match (the source type of the relation is defined by the isSourceConstrainted property).
RelationalConstraint
 InheritedtargetType : String
Type of objects targeted by this constraint.
Constraint
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Constraint
 Inherited
dispatchEvent(event:Event):Boolean
Constraint
 Inherited
hasEventListener(type:String):Boolean
Constraint
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Constraint
 Inherited
willTrigger(type:String):Boolean
Constraint
Property Detail
constraintOnRelatedObjectproperty
constraintOnRelatedObject:Constraint

A constraint on the related objects by the given relationship. This further filtering can be based on either the identity of the related objects or their properties or some further nested relationship.

This property can be used as the source for data binding.


Implementation
    public function get constraintOnRelatedObject():Constraint
    public function set constraintOnRelatedObject(value:Constraint):void
hasInverseRelationproperty 
hasInverseRelation:Boolean

Indicates whether the constraint given by constraintOnRelatedObject applies to the source, as opposed to the target of the relationship given in this instance. It is useful when the client only knows one-way relationship between objects.

If true, the relation defined by constraintOnRelatedObject.targetType.relationship is used. Thus the constraint can be referred to as an inverse-RelationalConstraint (as the inverse relationship is used compared to the normal direction). Make sure to explicitly set the constraintOnRelatedObject.targetType value.

Example: If false (i.e. the target is constrained), the relation defined by this.targetType.relationship is used.

Example: Default value is false.

This property can be used as the source for data binding.


Implementation
    public function get hasInverseRelation():Boolean
    public function set hasInverseRelation(value:Boolean):void
relationproperty 
relation:String

The relation to match (the source type of the relation is defined by the isSourceConstrainted property).

This property can be used as the source for data binding.


Implementation
    public function get relation():String
    public function set relation(value:String):void