ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.editors.model 

DataModelFactory  - AS3 Asset Composer

Packagecom.adobe.icc.editors.model
Classpublic class DataModelFactory
InheritanceDataModelFactory Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The factory for creating the module domain object for a module value object.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
createFromVO(dataModule:DataModule, fetchComplete:Boolean = false):ModuleModel
[static] Creates a concrete domain object for the passed data module value object based upon the type of module passed.
DataModelFactory
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Method Detail

createFromVO

()method
public static function createFromVO(dataModule:DataModule, fetchComplete:Boolean = false):ModuleModel

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Creates a concrete domain object for the passed data module value object based upon the type of module passed. For instance, if an object of type TBX is passed to this method, it would return an object of type TextModel.

Parameters

dataModule:DataModule — the value object corresponding to the data module.
 
fetchComplete:Boolean (default = false) — flag to indicate if the shallow value object needs to be fully retrieved.

Returns
ModuleModel — The domain object corresponding to the data module.