套件 | com.adobe.dct.model |
類別 | public class DataElementModel |
繼承 | DataElementModel EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
DataElement are defined by ... ....
屬性 | 定義自 | ||
---|---|---|---|
childElements : IList
The list of Child DataElementModel. | DataElementModel | ||
collectionDepth : int
Returns the Collection depth of a DataElements
| DataElementModel | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
dataDictionaryName : String
The name of data dictionary. | DataElementModel | ||
dataType : String
Gets the DATATYPE of the DataElement. | DataElementModel | ||
description : String
The description of the DataElementModel. | DataElementModel | ||
displayName : String
Gets the display name of the DataElement. | DataElementModel | ||
isCollection : Boolean [唯讀]
Returns if the DataElements is a Collection
| DataElementModel | ||
protect : Boolean
Gets if the data element is protected
| DataElementModel | ||
referenceName : String
Gets the unique name of the DataElement. | DataElementModel | ||
subType : String
The SubType of DataElementModel: Enum. | DataElementModel | ||
type : String
Gets the TYPE of the DataElement. | DataElementModel | ||
valueSet : IList
Allowed values for a DataElementModel. | DataElementModel | ||
vo : DataDictionaryElement
The underlying value object corresponding to this DataElement. | DataElementModel |
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
Returns a copy of the data elemnt model object. | DataElementModel | ||
createFromVO(vo:DataDictionaryElement, dataDictionaryName:String, type:String, collectionDepth:int = 0):DataElementModel [靜態]
Creates the domain object from the corresponding value object. | DataElementModel | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
常數 | 定義自 | ||
---|---|---|---|
DATATYPE_BOOLEAN : String = "BOOLEAN" [靜態]
The DataElementModel.DATATYPE_BOOLEAN constant defines the value of the dataType property of
the DataElementModel of DATATYPE_BOOLEAN type. | DataElementModel | ||
DATATYPE_COMPOSITE : String = "COMPOSITE" [靜態]
The DataElementModel.DATATYPE_COMPOSITE constant defines the value of the dataType property of
the DataElementModel of DATATYPE_COMPOSITE type. | DataElementModel | ||
DATATYPE_DATE : String = "DATE" [靜態]
The DataElementModel.DATATYPE_DATE constant defines the value of the dataType property of
the DataElementModel of DATATYPE_DATE type. | DataElementModel | ||
DATATYPE_NUMBER : String = "NUMBER" [靜態]
The DataElementModel.DATATYPE_NUMBER constant defines the value of the dataType property of
the DataElementModel of DATATYPE_NUMBER type. | DataElementModel | ||
DATATYPE_STRING : String = "STRING" [靜態]
The DataElementModel.DATATYPE_STRING constant defines the value of the dataType property of
the DataElementModel of DATATYPE_STRING type. | DataElementModel | ||
SUBTYPE_ENUM : String = "ENUM" [靜態]
The DataElementModel.SUBTYPE_ENUM constant defines the value of the subType property of
the DataElementModel of SUBTYPE_ENUM type. | DataElementModel | ||
TYPE_PERSISTENT : String = "PERSISTENT" [靜態]
The constant corresponding to the data dictionary variables. | DataElementModel | ||
TYPE_TRANSIENT : String = "TRANSIENT" [靜態]
The constant corresponding to the placeholder variables. | DataElementModel |
childElements | 屬性 |
childElements:IList
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 It contains the child DataElement List associated with this Data Element. |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The list of Child DataElementModel.
實作
public function get childElements():IList
public function set childElements(value:IList):void
collectionDepth | 屬性 |
dataDictionaryName | 屬性 |
dataType | 屬性 |
description | 屬性 |
displayName | 屬性 |
isCollection | 屬性 |
protect | 屬性 |
referenceName | 屬性 |
subType | 屬性 |
type | 屬性 |
valueSet | 屬性 |
vo | 屬性 |
vo:DataDictionaryElement
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The underlying value object corresponding to this DataElement.
實作
public function get vo():DataDictionaryElement
public function set vo(value:DataDictionaryElement):void
copy | () | 方法 |
public function copy():DataElementModel
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Returns a copy of the data elemnt model object.
傳回值DataElementModel — a copy of the data elemnt model object
|
createFromVO | () | 方法 |
public static function createFromVO(vo:DataDictionaryElement, dataDictionaryName:String, type:String, collectionDepth:int = 0):DataElementModel
語言版本: | 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:DataDictionaryElement — The value object of the type DataDictionaryElement
| |
dataDictionaryName:String — The name of data dictionary.
| |
type:String (default = NaN ) — The type of data element which can be one of DataElementModel.TYPE_PERSISTENT or DataElementModel.TYPE_TRANSIENT
| |
collectionDepth:int (default = 0 ) — is equal to the dimensions of highest ancestor which is collection. The value is zero for a non collection data element.
|
DataElementModel — The Data Element domain object corresponding the passed DataDictionaryElement value object.
|
DATATYPE_BOOLEAN | 常數 |
public static const DATATYPE_BOOLEAN:String = "BOOLEAN"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The DataElementModel.DATATYPE_BOOLEAN
constant defines the value of the dataType
property of
the DataElementModel of DATATYPE_BOOLEAN
type.
DATATYPE_COMPOSITE | 常數 |
public static const DATATYPE_COMPOSITE:String = "COMPOSITE"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The DataElementModel.DATATYPE_COMPOSITE
constant defines the value of the dataType
property of
the DataElementModel of DATATYPE_COMPOSITE
type.
DATATYPE_DATE | 常數 |
public static const DATATYPE_DATE:String = "DATE"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The DataElementModel.DATATYPE_DATE
constant defines the value of the dataType
property of
the DataElementModel of DATATYPE_DATE
type.
DATATYPE_NUMBER | 常數 |
public static const DATATYPE_NUMBER:String = "NUMBER"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The DataElementModel.DATATYPE_NUMBER
constant defines the value of the dataType
property of
the DataElementModel of DATATYPE_NUMBER
type.
DATATYPE_STRING | 常數 |
public static const DATATYPE_STRING:String = "STRING"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10 |
The DataElementModel.DATATYPE_STRING
constant defines the value of the dataType
property of
the DataElementModel of DATATYPE_STRING
type.
SUBTYPE_ENUM | 常數 |
public static const SUBTYPE_ENUM:String = "ENUM"
語言版本: | ActionScript 3.0 |
產品版本: | Data Dictionary Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
The DataElementModel.SUBTYPE_ENUM
constant defines the value of the subType
property of
the DataElementModel of SUBTYPE_ENUM
type.
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 data dictionary variables.
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 variables.
Tue Jun 12 2018, 03:47 PM Z