ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.dct.model 

DataElementModel  - AS3 Data Dictionary

Paketcom.adobe.dct.model
Klassepublic class DataElementModel
VererbungDataElementModel Inheritance EventDispatcher Inheritance Object

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The domain class for the DataElement.

DataElement are defined by ... ....



Öffentliche Eigenschaften
 EigenschaftDefiniert von
  childElements : IList
The list of Child DataElementModel.
DataElementModel
  collectionDepth : int
Returns the Collection depth of a DataElements
DataElementModel
 Inheritedconstructor : Object
Ein Verweis auf das Klassenobjekt oder die Konstruktorfunktion für eine angegebene Objektinstanz.
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
[schreibgeschützt] 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
Öffentliche Methoden
 MethodeDefiniert von
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird.
EventDispatcher
  
Returns a copy of the data elemnt model object.
DataElementModel
  
createFromVO(vo:DataDictionaryElement, dataDictionaryName:String, type:String, collectionDepth:int = 0):DataElementModel
[statisch] Creates the domain object from the corresponding value object.
DataElementModel
 Inherited
Sendet ein Ereignis in den Ereignisablauf.
EventDispatcher
 Inherited
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat.
EventDispatcher
 Inherited
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde.
Object
 Inherited
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde.
Object
 Inherited
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Entfernt einen Listener aus dem EventDispatcher-Objekt.
EventDispatcher
 Inherited
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest.
Object
 Inherited
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas.
Object
 Inherited
Gibt das angegebene Objekt als String zurück.
Object
 Inherited
Gibt den Grundwert des angegebenen Objekts zurück.
Object
 Inherited
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist.
EventDispatcher
Ereignisse
 Ereignis Übersicht Definiert von
 Inherited[broadcast event] Wird ausgelöst, wenn Flash Player oder eine AIR-Anwendung den Betriebssystemfokus erhält und aktiv wird.EventDispatcher
 Inherited[broadcast event] Wird ausgelöst, wenn Flash Player- oder die AIR-Anwendung den Fokus verliert und inaktiv wird.EventDispatcher
Öffentliche Konstanten
 KonstanteDefiniert von
  DATATYPE_BOOLEAN : String = "BOOLEAN"
[statisch] The DataElementModel.DATATYPE_BOOLEAN constant defines the value of the dataType property of the DataElementModel of DATATYPE_BOOLEAN type.
DataElementModel
  DATATYPE_COMPOSITE : String = "COMPOSITE"
[statisch] The DataElementModel.DATATYPE_COMPOSITE constant defines the value of the dataType property of the DataElementModel of DATATYPE_COMPOSITE type.
DataElementModel
  DATATYPE_DATE : String = "DATE"
[statisch] The DataElementModel.DATATYPE_DATE constant defines the value of the dataType property of the DataElementModel of DATATYPE_DATE type.
DataElementModel
  DATATYPE_NUMBER : String = "NUMBER"
[statisch] The DataElementModel.DATATYPE_NUMBER constant defines the value of the dataType property of the DataElementModel of DATATYPE_NUMBER type.
DataElementModel
  DATATYPE_STRING : String = "STRING"
[statisch] The DataElementModel.DATATYPE_STRING constant defines the value of the dataType property of the DataElementModel of DATATYPE_STRING type.
DataElementModel
  SUBTYPE_ENUM : String = "ENUM"
[statisch] The DataElementModel.SUBTYPE_ENUM constant defines the value of the subType property of the DataElementModel of SUBTYPE_ENUM type.
DataElementModel
  TYPE_PERSISTENT : String = "PERSISTENT"
[statisch] The constant corresponding to the data dictionary variables.
DataElementModel
  TYPE_TRANSIENT : String = "TRANSIENT"
[statisch] The constant corresponding to the placeholder variables.
DataElementModel
Eigenschaftendetails

childElements

Eigenschaft
childElements:IList

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10 It contains the child DataElement List associated with this Data Element.
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The list of Child DataElementModel.



Implementierung
    public function get childElements():IList
    public function set childElements(value:IList):void

collectionDepth

Eigenschaft 
collectionDepth:int

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns the Collection depth of a DataElements



Implementierung
    public function get collectionDepth():int
    public function set collectionDepth(value:int):void

dataDictionaryName

Eigenschaft 
dataDictionaryName:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The name of data dictionary.



Implementierung
    public function get dataDictionaryName():String
    public function set dataDictionaryName(value:String):void

dataType

Eigenschaft 
dataType:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Gets the DATATYPE of the DataElement.



Implementierung
    public function get dataType():String
    public function set dataType(value:String):void

description

Eigenschaft 
description:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The description of the DataElementModel.



Implementierung
    public function get description():String
    public function set description(value:String):void

displayName

Eigenschaft 
displayName:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Gets the display name of the DataElement.



Implementierung
    public function get displayName():String
    public function set displayName(value:String):void

isCollection

Eigenschaft 
isCollection:Boolean  [schreibgeschützt]

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns if the DataElements is a Collection



Implementierung
    public function get isCollection():Boolean

protect

Eigenschaft 
protect:Boolean

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Gets if the data element is protected



Implementierung
    public function get protect():Boolean
    public function set protect(value:Boolean):void

referenceName

Eigenschaft 
referenceName:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Gets the unique name of the DataElement.



Implementierung
    public function get referenceName():String
    public function set referenceName(value:String):void

subType

Eigenschaft 
subType:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The SubType of DataElementModel: Enum.



Implementierung
    public function get subType():String
    public function set subType(value:String):void

type

Eigenschaft 
type:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Gets the TYPE of the DataElement.



Implementierung
    public function get type():String
    public function set type(value:String):void

valueSet

Eigenschaft 
valueSet:IList

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Allowed values for a DataElementModel.



Implementierung
    public function get valueSet():IList
    public function set valueSet(value:IList):void

vo

Eigenschaft 
vo:DataDictionaryElement

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The underlying value object corresponding to this DataElement.



Implementierung
    public function get vo():DataDictionaryElement
    public function set vo(value:DataDictionaryElement):void
Methodendetails

copy

()Methode
public function copy():DataElementModel

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

Returns a copy of the data elemnt model object.

Rückgabewerte
DataElementModel — a copy of the data elemnt model object

createFromVO

()Methode 
public static function createFromVO(vo:DataDictionaryElement, dataDictionaryName:String, type:String, collectionDepth:int = 0):DataElementModel

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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.

Parameter

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.

Rückgabewerte
DataElementModel — The Data Element domain object corresponding the passed DataDictionaryElement value object.
Konstantendetails

DATATYPE_BOOLEAN

Konstante
public static const DATATYPE_BOOLEAN:String = "BOOLEAN"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const DATATYPE_COMPOSITE:String = "COMPOSITE"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const DATATYPE_DATE:String = "DATE"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const DATATYPE_NUMBER:String = "NUMBER"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const DATATYPE_STRING:String = "STRING"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const SUBTYPE_ENUM:String = "ENUM"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: 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

Konstante 
public static const TYPE_PERSISTENT:String = "PERSISTENT"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The constant corresponding to the data dictionary variables.

TYPE_TRANSIENT

Konstante 
public static const TYPE_TRANSIENT:String = "TRANSIENT"

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Data Dictionary“ 10
Laufzeitversionen: AIR (unsupported), Flash Player 10.2

The constant corresponding to the placeholder variables.





[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.