Package | com.vmware.data.query |
Class | public class ResultSet |
Inheritance | ResultSet ![]() |
Implements | flash.events.IEventDispatcher |
Note: this class was generated from its Java counterpart ResultSet
Property | Defined By | ||
---|---|---|---|
error : Error
An error that might have occurred while executing the query. | ResultSet | ||
facets : Array
The retrieved facets (internal use only). | ResultSet | ||
items : Array
The matched objects and the requested data on them. | ResultSet | ||
queryName : String
The name of the QuerySpec that resulted in this
ResultSet, if a name was specified to begin with. | ResultSet | ||
totalMatchedObjectCount : Number
The total number of objects that matched the given query, regardless of the actual
number that is returned in items. | ResultSet |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void | ResultSet | ||
dispatchEvent(event:Event):Boolean | ResultSet | ||
hasEventListener(type:String):Boolean | ResultSet | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | ResultSet | ||
willTrigger(type:String):Boolean | ResultSet |
error | property |
error:Error
An error that might have occurred while executing the query.
The result of any given query can be coming from one or more data sources (a combination of data adapters and property providers), the error property can be either:
DataException
to represent the failure to fetch data for
some objects and properties.CompositeException
to represent a collection of errors
(internal use only).Exception
for other errors (internal use only).This property can be used as the source for data binding.
public function get error():Error
public function set error(value:Error):void
See also
facets | property |
facets:Array
The retrieved facets (internal use only).
This property can be used as the source for data binding.
public function get facets():Array
public function set facets(value:Array):void
items | property |
items:Array
The matched objects and the requested data on them.
This property can be used as the source for data binding.
public function get items():Array
public function set items(value:Array):void
queryName | property |
queryName:String
The name of the QuerySpec
that resulted in this
ResultSet
, if a name was specified to begin with.
This property can be used as the source for data binding.
public function get queryName():String
public function set queryName(value:String):void
totalMatchedObjectCount | property |
totalMatchedObjectCount:Number
The total number of objects that matched the given query, regardless of the actual number that is returned in items.
Important: This value should only be set by adapters that discover new objects, i.e. it should remain zero for all property providers as they are only returning properties for known objects.
This property can be used as the source for data binding.
public function get totalMatchedObjectCount():Number
public function set totalMatchedObjectCount(value:Number):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 |