包 | com.adobe.dct.model |
类 | public class DEPDictionaryModel |
继承 | DEPDictionaryModel EventDispatcher Object |
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
DEPDictionaryModel
class represents the domain object for the assets of type DataDictionary
which is used as data provider for DataElementsPanel.
Domain objects can be leveraged to build presentation on top of them. They ease the
process of coding views by abstracting all the service calls and maintaining meaningful
states.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
description : String
The description of the DEPDictionaryModel. | DEPDictionaryModel | ||
name : String
Gets the unique name of the Data Dictionary. | DEPDictionaryModel | ||
rootDataElement : DataElementModel
The root DataElementModel within the data dictionary. | DEPDictionaryModel | ||
type : String
Gets the TYPE of the Data Dictionary. | DEPDictionaryModel | ||
vo : DataDictionary
The underlying Data Dictionary value object. | DEPDictionaryModel |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
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. | DEPDictionaryModel | ||
将事件调度到事件流中。 | EventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
TYPE_PERSISTENT : String = "PERSISTENT" [静态]
The constant corresponding to the persistent data dictionary. | DEPDictionaryModel | ||
TYPE_TRANSIENT : String = "TRANSIENT" [静态]
The constant corresponding to the placeholder DD. | DEPDictionaryModel |
属性详细信息
description | 属性 |
description:String
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The description of the DEPDictionaryModel.
此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange
事件。
实现
public function get description():String
public function set description(value:String):void
name | 属性 |
rootDataElement | 属性 |
rootDataElement:DataElementModel
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The root DataElementModel within the data dictionary.
实现
public function get rootDataElement():DataElementModel
public function set rootDataElement(value:DataElementModel):void
相关 API 元素
type | 属性 |
vo | 属性 |
vo:DataDictionary
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The underlying Data Dictionary value object.
实现
public function get vo():DataDictionary
public function set vo(value:DataDictionary):void
方法详细信息
createFromVO | () | 方法 |
public static function createFromVO(dataDictionaryVO:DataDictionary):DEPDictionaryModel
语言版本: | 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.
参数
dataDictionaryVO:DataDictionary — The value object of the type Category
|
DEPDictionaryModel — The Category domain object corresponding the passed Category value object.
|
常量详细信息
TYPE_PERSISTENT | 常量 |
public static const TYPE_PERSISTENT:String = "PERSISTENT"
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant corresponding to the persistent data dictionary.
TYPE_TRANSIENT | 常量 |
public static const TYPE_TRANSIENT:String = "TRANSIENT"
语言版本: | ActionScript 3.0 |
产品版本: | Data Dictionary Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 10.2 |
The constant corresponding to the placeholder DD.
Tue Jun 12 2018, 11:04 AM Z