Packagecom.vmware.data
Classpublic class ResourceSpec
InheritanceResourceSpec Inheritance Object
Implements flash.events.IEventDispatcher

Represents the specification of a set of resources. A resource is always referred to as a property of some object, hence the resulting resource set is equivalent to union of (object, property) tuples.

Note: this class was generated from its Java counterpart ResourceSpec



Public Properties
 PropertyDefined By
  constraint : Constraint
The criteria for matching objects that provide properties for the resource set.
ResourceSpec
  propertySpecs : Array
The list of properties on the set of objects identified by the constraint.
ResourceSpec
Public Methods
 MethodDefined By
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
ResourceSpec
  
dispatchEvent(event:Event):Boolean
ResourceSpec
  
hasEventListener(type:String):Boolean
ResourceSpec
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
ResourceSpec
  
willTrigger(type:String):Boolean
ResourceSpec
Property Detail
constraintproperty
constraint:Constraint

The criteria for matching objects that provide properties for the resource set.

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


Implementation
    public function get constraint():Constraint
    public function set constraint(value:Constraint):void
propertySpecsproperty 
propertySpecs:Array

The list of properties on the set of objects identified by the constraint.

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


Implementation
    public function get propertySpecs():Array
    public function set propertySpecs(value:Array):void

See also

Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean