Package | com.vmware.data.query |
Class | public class QuerySpec |
Inheritance | QuerySpec ![]() |
Implements | flash.events.IEventDispatcher |
Note: this class was generated from its Java counterpart QuerySpec
Property | Defined By | ||
---|---|---|---|
name : String
An optional query name given by the client for id purposes. | QuerySpec | ||
options : Object
Optional information for this query's execution. | QuerySpec | ||
resourceSpec : ResourceSpec
Specifies the target set of resources. | QuerySpec | ||
resultSpec : ResultSpec
Additional transformations/filters to be applied on the discovered resource set. | QuerySpec |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void | QuerySpec | ||
dispatchEvent(event:Event):Boolean | QuerySpec | ||
hasEventListener(type:String):Boolean | QuerySpec | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | QuerySpec | ||
willTrigger(type:String):Boolean | QuerySpec |
name | property |
name:String
An optional query name given by the client for id purposes.
This property can be used as the source for data binding.
public function get name():String
public function set name(value:String):void
options | property |
options:Object
Optional information for this query's execution. May contain Data Service options as well as options specific to particular adapter(s).
This property can be used as the source for data binding.
public function get options():Object
public function set options(value:Object):void
resourceSpec | property |
resourceSpec:ResourceSpec
Specifies the target set of resources. This is how you can target specific object types and associated properties.
This property can be used as the source for data binding.
public function get resourceSpec():ResourceSpec
public function set resourceSpec(value:ResourceSpec):void
resultSpec | property |
resultSpec:ResultSpec
Additional transformations/filters to be applied on the discovered resource set.
If you don't specify it in your QuerySpec a default ResultSpec
is
created by the Data Service.
This property can be used as the source for data binding.
public function get resultSpec():ResultSpec
public function set resultSpec(value:ResultSpec):void
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 |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
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 |
Boolean |