Packagecom.vmware.core.model
Classpublic class DataObject
InheritanceDataObject Inheritance Object
Implements IOptional, flash.events.IEventDispatcher
Subclasses ArrayDataObject, BooleanDataObject, DateDataObject, IntDataObject, NumberDataObject, ObjectDataObject, StringDataObject, UintDataObject

Base class for vmodl data objects. Includes a reference to their provider (i.e. the server object).



Public Properties
 PropertyDefined By
  isUnset : Boolean
Indicates whether the contained value(s) or the data properties of this object are unset.
DataObject
  sourceInfo_ : SourceInfo
Source information containing extra details for this reference.
DataObject
Public Methods
 MethodDefined By
  
DataObject
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
DataObject
  
dispatchEvent(evt:Event):Boolean
DataObject
  
hasEventListener(type:String):Boolean
DataObject
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
DataObject
  
willTrigger(type:String):Boolean
DataObject
Protected Methods
 MethodDefined By
  
fireUpdateEvent(property:String, oldValue:Object, newValue:Object):void
Called to fire an update event if the value is changed.
DataObject
Property Detail
isUnsetproperty
isUnset:Boolean

Indicates whether the contained value(s) or the data properties of this object are unset. The notion of unset is synonymous with unspecified or invalid.


Implementation
    public function get isUnset():Boolean
    public function set isUnset(value:Boolean):void
sourceInfo_property 
sourceInfo_:SourceInfo

Source information containing extra details for this reference.


Implementation
    public function get sourceInfo_():SourceInfo
    public function set sourceInfo_(value:SourceInfo):void
Constructor Detail
DataObject()Constructor
public function DataObject()



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

Parameters

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

See also

IEventDispatcher.addEventListener
dispatchEvent()method 
public function dispatchEvent(evt:Event):Boolean

Parameters

evt:Event

Returns
Boolean

See also

IEventDispatcher.dispatchEvent
fireUpdateEvent()method 
protected function fireUpdateEvent(property:String, oldValue:Object, newValue:Object):void

Called to fire an update event if the value is changed.

Parameters

property:String — The property name.
 
oldValue:Object — The old value.
 
newValue:Object — The new value.

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

Parameters

type:String

Returns
Boolean

See also

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

Parameters

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

See also

IEventDispatcher.removeEventListener
willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean

See also

IEventDispatcher.willTrigger