Packagecom.vmware.core.model
Classpublic class NumberDataObject
InheritanceNumberDataObject Inheritance DataObject Inheritance Object
Implements flash.utils.IExternalizable

DataObject wrapper for a Number value.



Public Properties
 PropertyDefined By
 InheritedisUnset : Boolean
Indicates whether the contained value(s) or the data properties of this object are unset.
DataObject
 InheritedsourceInfo_ : SourceInfo
Source information containing extra details for this reference.
DataObject
  value : Number
Returns the value wrapped in the DataObject.
NumberDataObject
Public Methods
 MethodDefined By
  
Empty constructor
NumberDataObject
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
DataObject
  
[static] Creates a new instance with the given value and provider.
NumberDataObject
 Inherited
dispatchEvent(evt:Event):Boolean
DataObject
 Inherited
hasEventListener(type:String):Boolean
DataObject
  
readExternal(input:IDataInput):void
Called to read the property values from the input stream.
NumberDataObject
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
DataObject
 Inherited
willTrigger(type:String):Boolean
DataObject
  
writeExternal(output:IDataOutput):void
Called to store the property values to the output stream.
NumberDataObject
Protected Methods
 MethodDefined By
 Inherited
fireUpdateEvent(property:String, oldValue:Object, newValue:Object):void
Called to fire an update event if the value is changed.
DataObject
Property Detail
valueproperty
value:Number

Returns the value wrapped in the DataObject.


Implementation
    public function get value():Number
    public function set value(value:Number):void
Constructor Detail
NumberDataObject()Constructor
public function NumberDataObject()

Empty constructor

Method Detail
createNewInstance()method
public static function createNewInstance(value:Number, provider:IResourceReference = null):NumberDataObject

Creates a new instance with the given value and provider.

Parameters

value:Number — Value to wrap.
 
provider:IResourceReference (default = null) — Server object the value comes from.

Returns
NumberDataObject — The newly created instance.
readExternal()method 
public function readExternal(input:IDataInput):void

Called to read the property values from the input stream.

Parameters

input:IDataInput — The input stream to read data.

writeExternal()method 
public function writeExternal(output:IDataOutput):void

Called to store the property values to the output stream.

Parameters

output:IDataOutput — The output stream to write data.