Packageorg.omoa.datamodel
Classpublic class DataModel
InheritanceDataModel Inheritance AbstractDataModel Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 Inheritedid : String
[read-only]
AbstractDataModel
 InheritedisComplete : Boolean
[read-only]
AbstractDataModel
 InheritedisRemote : Boolean
[read-only]
AbstractDataModel
Protected Properties
 PropertyDefined By
  data : Vector.<Number>
DataModel
 Inherited_id : String
AbstractDataModel
 Inherited_isComplete : Boolean = false
AbstractDataModel
 Inherited_isRemote : Boolean = false
AbstractDataModel
 InheritedpropertyDimensions : Vector.<ModelDimension>
AbstractDataModel
 InheritedvalueDimensions : Vector.<ModelDimension>
AbstractDataModel
Public Methods
 MethodDefined By
  
DataModel(id:String)
DataModel
  
addDatum(datum:Datum):void
[override]
DataModel
  
addPropertyDimension(propertyDimension:ModelDimension):void
[override]
DataModel
  
addValueDimension(valueDimension:ModelDimension):void
[override]
DataModel
 Inherited
createDescription(descriptionString:String = null):Description
AbstractDataModel
  
[override]
DataModel
 Inherited
AbstractDataModel
 Inherited
AbstractDataModel
 Inherited
AbstractDataModel
  
toString():String
[override]
DataModel
  
updateDatum(datum:Datum):void
[override] Updates a Datum with the data value according to the Description.
DataModel
 Inherited
AbstractDataModel
 Inherited
AbstractDataModel
Property Detail
dataproperty
protected var data:Vector.<Number>

Constructor Detail
DataModel()Constructor
public function DataModel(id:String)



Parameters
id:String
Method Detail
addDatum()method
override public function addDatum(datum:Datum):void

Parameters

datum:Datum

addPropertyDimension()method 
override public function addPropertyDimension(propertyDimension:ModelDimension):void

Parameters

propertyDimension:ModelDimension

addValueDimension()method 
override public function addValueDimension(valueDimension:ModelDimension):void

Parameters

valueDimension:ModelDimension

getDatum()method 
override public function getDatum(description:Description):Datum

Parameters

description:Description

Returns
Datum
toString()method 
override public function toString():String

Returns
String
updateDatum()method 
override public function updateDatum(datum:Datum):void

Updates a Datum with the data value according to the Description. This is the fastest way to request a data value, since it does not create any object. The description of the datum needs to point to a scalar value, otherwise the value property of the datum will be NaN.

Parameters

datum:Datum — The Datum you want to be updated according to the description property (Description).