包 | 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, 11:04 AM Z