套件 | 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, 03:47 PM Z