Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
com.adobe.dct.model 

DataElementModel  - AS3 Data Dictionary

Paquetecom.adobe.dct.model
Clasepublic class DataElementModel
HerenciaDataElementModel Inheritance EventDispatcher Inheritance Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The domain class for the DataElement.

DataElement are defined by ... ....



Propiedades públicas
 PropiedadDefinido por
  childElements : IList
The list of Child DataElementModel.
DataElementModel
  collectionDepth : int
Returns the Collection depth of a DataElements
DataElementModel
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
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
[solo lectura] 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
Métodos públicos
 MétodoDefinido por
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento.
EventDispatcher
  
Returns a copy of the data elemnt model object.
DataElementModel
  
createFromVO(vo:DataDictionaryElement, dataDictionaryName:String, type:String, collectionDepth:int = 0):DataElementModel
[estática] Creates the domain object from the corresponding value object.
DataElementModel
 Inherited
Distribuye un evento en el flujo del evento.
EventDispatcher
 Inherited
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento.
EventDispatcher
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Elimina un detector del objeto EventDispatcher.
EventDispatcher
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
 Inherited
Devuelve el valor simple del objeto especificado.
Object
 Inherited
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto.
EventDispatcher
Eventos
 Evento Resumen Definido por
 Inherited[evento broadcast] Se distribuye cuando Flash Player o AIR pasan a estar activos.EventDispatcher
 Inherited[evento broadcast] Se distribuye cuando Flash Player o de AIR pasan a estar inactivos.EventDispatcher
Constantes públicas
 ConstanteDefinido por
  DATATYPE_BOOLEAN : String = "BOOLEAN"
[estática] The DataElementModel.DATATYPE_BOOLEAN constant defines the value of the dataType property of the DataElementModel of DATATYPE_BOOLEAN type.
DataElementModel
  DATATYPE_COMPOSITE : String = "COMPOSITE"
[estática] The DataElementModel.DATATYPE_COMPOSITE constant defines the value of the dataType property of the DataElementModel of DATATYPE_COMPOSITE type.
DataElementModel
  DATATYPE_DATE : String = "DATE"
[estática] The DataElementModel.DATATYPE_DATE constant defines the value of the dataType property of the DataElementModel of DATATYPE_DATE type.
DataElementModel
  DATATYPE_NUMBER : String = "NUMBER"
[estática] The DataElementModel.DATATYPE_NUMBER constant defines the value of the dataType property of the DataElementModel of DATATYPE_NUMBER type.
DataElementModel
  DATATYPE_STRING : String = "STRING"
[estática] The DataElementModel.DATATYPE_STRING constant defines the value of the dataType property of the DataElementModel of DATATYPE_STRING type.
DataElementModel
  SUBTYPE_ENUM : String = "ENUM"
[estática] The DataElementModel.SUBTYPE_ENUM constant defines the value of the subType property of the DataElementModel of SUBTYPE_ENUM type.
DataElementModel
  TYPE_PERSISTENT : String = "PERSISTENT"
[estática] The constant corresponding to the data dictionary variables.
DataElementModel
  TYPE_TRANSIENT : String = "TRANSIENT"
[estática] The constant corresponding to the placeholder variables.
DataElementModel
Información sobre propiedades

childElements

propiedad
childElements:IList

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10 It contains the child DataElement List associated with this Data Element.
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The list of Child DataElementModel.



Implementación
    public function get childElements():IList
    public function set childElements(value:IList):void

collectionDepth

propiedad 
collectionDepth:int

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Returns the Collection depth of a DataElements



Implementación
    public function get collectionDepth():int
    public function set collectionDepth(value:int):void

dataDictionaryName

propiedad 
dataDictionaryName:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The name of data dictionary.



Implementación
    public function get dataDictionaryName():String
    public function set dataDictionaryName(value:String):void

dataType

propiedad 
dataType:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Gets the DATATYPE of the DataElement.



Implementación
    public function get dataType():String
    public function set dataType(value:String):void

description

propiedad 
description:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The description of the DataElementModel.



Implementación
    public function get description():String
    public function set description(value:String):void

displayName

propiedad 
displayName:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Gets the display name of the DataElement.



Implementación
    public function get displayName():String
    public function set displayName(value:String):void

isCollection

propiedad 
isCollection:Boolean  [solo lectura]

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Returns if the DataElements is a Collection



Implementación
    public function get isCollection():Boolean

protect

propiedad 
protect:Boolean

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Gets if the data element is protected



Implementación
    public function get protect():Boolean
    public function set protect(value:Boolean):void

referenceName

propiedad 
referenceName:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Gets the unique name of the DataElement.



Implementación
    public function get referenceName():String
    public function set referenceName(value:String):void

subType

propiedad 
subType:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The SubType of DataElementModel: Enum.



Implementación
    public function get subType():String
    public function set subType(value:String):void

type

propiedad 
type:String

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Gets the TYPE of the DataElement.



Implementación
    public function get type():String
    public function set type(value:String):void

valueSet

propiedad 
valueSet:IList

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Allowed values for a DataElementModel.



Implementación
    public function get valueSet():IList
    public function set valueSet(value:IList):void

vo

propiedad 
vo:DataDictionaryElement

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The underlying value object corresponding to this DataElement.



Implementación
    public function get vo():DataDictionaryElement
    public function set vo(value:DataDictionaryElement):void
Información sobre métodos

copy

()método
public function copy():DataElementModel

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

Returns a copy of the data elemnt model object.

Valor devuelto
DataElementModel — a copy of the data elemnt model object

createFromVO

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

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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.

Parámetros

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.

Valor devuelto
DataElementModel — The Data Element domain object corresponding the passed DataDictionaryElement value object.
Información sobre constantes

DATATYPE_BOOLEAN

Constante
public static const DATATYPE_BOOLEAN:String = "BOOLEAN"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const DATATYPE_COMPOSITE:String = "COMPOSITE"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const DATATYPE_DATE:String = "DATE"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const DATATYPE_NUMBER:String = "NUMBER"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const DATATYPE_STRING:String = "STRING"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const SUBTYPE_ENUM:String = "ENUM"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: 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

Constante 
public static const TYPE_PERSISTENT:String = "PERSISTENT"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The constant corresponding to the data dictionary variables.

TYPE_TRANSIENT

Constante 
public static const TYPE_TRANSIENT:String = "TRANSIENT"

Versión del lenguaje: ActionScript 3.0
Versión de producto: Bloque de construcción Data Dictionary 10
Versiones de motor de ejecución: AIR (unsupported), Flash Player 10.2

The constant corresponding to the placeholder variables.





[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.