包 | com.adobe.dct.model |
类 | public class DataDictionaryInstanceModel |
继承 | DataDictionaryInstanceModel EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
dataDictionary : DataDictionary
The data dictionary corresponding to the data dictionary instance model. | DataDictionaryInstanceModel | ||
vo : DataDictionaryInstance
The underlying data dictionary instance value object. | DataDictionaryInstanceModel |
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
[静态]
Creates the domain object from the corresponding value object. | DataDictionaryInstanceModel | ||
将事件调度到事件流中。 | EventDispatcher | ||
The value of a data dictionary element given its unique name(referenceName). | DataDictionaryInstanceModel | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
Set the value of a data dictionary element given its unique name(reference name). | DataDictionaryInstanceModel | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
dataDictionary | 属性 |
dataDictionary:DataDictionary
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The data dictionary corresponding to the data dictionary instance model.
实现
public function get dataDictionary():DataDictionary
public function set dataDictionary(value:DataDictionary):void
vo | 属性 |
vo:DataDictionaryInstance
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The underlying data dictionary instance value object.
实现
public function get vo():DataDictionaryInstance
public function set vo(value:DataDictionaryInstance):void
createFromVO | () | 方法 |
public static function createFromVO(vo:DataDictionaryInstance):DataDictionaryInstanceModel
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Creates the domain object from the corresponding value object.
Value Objects are pure data entities mostly acting as parameters to the server apis. Domain objects are build atop to provide more meaningful business data and behavior thereby enabling faster and convenient UI view development.
参数
vo:DataDictionaryInstance — The value object of the type DataDictionaryInstance.
|
DataDictionaryInstanceModel — The Data Element domain object corresponding the passed DataDictionaryElement value object.
|
getValue | () | 方法 |
public function getValue(key:String):Object
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The value of a data dictionary element given its unique name(referenceName).
参数
key:String — reference name of a data dictionary element.
|
Object — value for data dictionary element in the data dictionary instance model.
A value of |
setValue | () | 方法 |
public function setValue(varName:String, value:Object):void
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
Set the value of a data dictionary element given its unique name(reference name). The value of primitive, composite and top Level collection elements can be set using this method. It doesn't allow setting the value inside a collection and there is no support for index.
参数
varName:String — reference name of the data dictionary element.
| |
value:Object — the value of data dictionary element to be set inside the data dictionary instance model.
|
Tue Jun 12 2018, 11:04 AM Z