Paquete | com.adobe.fiber.valueobjects |
Clase | public class AbstractEntityMetadata |
Herencia | AbstractEntityMetadata EventDispatcher Object |
Implementa | IModelType, IModelInstance |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
function get property-nameStyle():IStyle
Bindable getter for the property's com.adobe.fiber.styles.IStyle
instance.
Return null for properties that do not have an associated style.
function get isproperty-nameAvailable():Boolean
bindable getter for the property's available state with respect to variants. Always returns true for properties that are not inside a variant.
function invalidateDependentproperty-name():void
Per-property functions that cause all derived properties that
depend on this property to be recalculated.
PropertyChanged
events will be fired once the calculation of each
such derived property completes. Note that these functions are only generated for
data properties that have dependent derived properties.
Propiedad | Definido por | ||
---|---|---|---|
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
invalidConstraints : Array [solo lectura]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | AbstractEntityMetadata | ||
validationFailureMessages : Array [solo lectura]
Returns an Array of localized error messages corresponding to the current
set of failed constraints and validations of the value object. | AbstractEntityMetadata |
Método | Definido por | ||
---|---|---|---|
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 | ||
Distribuye un evento en el flujo del evento. | EventDispatcher | ||
Returns the names of all association properties. | AbstractEntityMetadata | ||
Returns the names of all available properties of this instance as determined by variants. | AbstractEntityMetadata | ||
Gets the base type of a collection property. | AbstractEntityMetadata | ||
Returns the names of all collection properties. | AbstractEntityMetadata | ||
Returns the names of all data properties for an entity regardless of whether
they are currently available. | AbstractEntityMetadata | ||
Returns an Array of currently invalid constraints whose values may
change as a result of propertyName changing. | AbstractEntityMetadata | ||
Gets all derived properties whose values may change as a result of this data property's
value changing. | AbstractEntityMetadata | ||
Gets the names of all services that derived properties of this
entity depend on for their calculations. | AbstractEntityMetadata | ||
Gets the entity's name for a given value object. | AbstractEntityMetadata | ||
Returns the names of all guarded properties for an entity regardless of whether
they are currently available. | AbstractEntityMetadata | ||
Returns a map of identity property names to their current values. | AbstractEntityMetadata | ||
Returns the mappedBy property for the passed-in association property;
Returns null if the passed-in assocaition property is not mapped by a property. | AbstractEntityMetadata | ||
Returns the names of all properties for an entity regardless of whether
they are currently available. | AbstractEntityMetadata | ||
Returns the length set for the passed-in property. | AbstractEntityMetadata | ||
Get the type of a given property. | AbstractEntityMetadata | ||
Returns an Array of localized error messages corresponding to the current
set of failed validations for the given property. | AbstractEntityMetadata | ||
Returns the names of all required properties. | AbstractEntityMetadata | ||
Returns style object for property. | AbstractEntityMetadata | ||
Returns the names of all unguarded properties for an entity. | AbstractEntityMetadata | ||
Gets the value of a property. | AbstractEntityMetadata | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | EventDispatcher | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Determines if a property is available as is determined by variants. | AbstractEntityMetadata | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Elimina un detector del objeto EventDispatcher. | EventDispatcher | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Sets the value of a property. | AbstractEntityMetadata | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object | ||
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 |
invalidConstraints | propiedad |
invalidConstraints:Array
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints or an empty Array if the value object is currently valid.
Implementación
public function get invalidConstraints():Array
validationFailureMessages | propiedad |
validationFailureMessages:Array
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Array of localized error messages corresponding to the current set of failed constraints and validations of the value object. Returns an empty Array if the value object is currently valid.
Implementación
public function get validationFailureMessages():Array
getAssociationProperties | () | método |
public function getAssociationProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all association properties.
Valor devueltoArray — Names of all association properties
|
getAvailableProperties | () | método |
public function getAvailableProperties():IPropertyIterator
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all available properties of this instance as determined by variants.
Valor devueltoIPropertyIterator — Names of all available properties of this instance as determined by variants.
|
getCollectionBase | () | método |
public function getCollectionBase(propertyName:String):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Gets the base type of a collection property.
Parámetros
propertyName:String — Name of desired property
|
String — Fully qualified name of the collection's base class
|
getCollectionProperties | () | método |
public function getCollectionProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all collection properties.
Valor devueltoArray — Names of all collection properties
|
getDataProperties | () | método |
public function getDataProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all data properties for an entity regardless of whether they are currently available.
Valor devueltoArray — Names of all data properties for an entity
|
getDependantInvalidConstraints | () | método |
public function getDependantInvalidConstraints(propertyName:String):Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints whose values may change as a result of propertyName changing. If there are no such properties, an empty Array is returned.
Parámetros
propertyName:String — Name of property for which an Array of dependant invalid constraints
is retrieved
|
Array — Array of currently invalid constraints whose values may
change as a result of propertyName changing. If there are no
such properties, an empty Array is returned.
|
getDependants | () | método |
public function getDependants(propertyName:String):Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Gets all derived properties whose values may change as a result of this data property's value changing.
Parámetros
propertyName:String — Name of data property for which to get dependants
|
Array — All derived properties depending on this data propery
|
getDependedOnServices | () | método |
public function getDependedOnServices():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Gets the names of all services that derived properties of this entity depend on for their calculations.
Valor devueltoArray — array of service names that derived properties of this
entity depend on for their calculations.
|
getEntityName | () | método |
public function getEntityName():String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Gets the entity's name for a given value object.
Valor devueltoString — the entity name for the value object.
|
getGuardedProperties | () | método |
public function getGuardedProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all guarded properties for an entity regardless of whether they are currently available.
Valor devueltoArray — Names of all guarded properties for an entity
|
getIdentityMap | () | método |
public function getIdentityMap():Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns a map of identity property names to their current values.
Valor devueltoObject — Map of identity property names to their current values
|
getMappedByProperty | () | método |
public function getMappedByProperty(associationProperty:String):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the mappedBy
property for the passed-in association property;
Returns null if the passed-in assocaition property is not mapped by a property.
Returns null of the passed-in property is not an association property.
Parámetros
associationProperty:String — the property name.
|
String — The mappedBy property for the passed-in association property.
Returns null if the passed-in assocaition property is not mapped by a property.
Returns null of the passed-in property is not an association property.
|
getProperties | () | método |
public function getProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all properties for an entity regardless of whether they are currently available.
Valor devueltoArray — Names of all properties for an entity
|
getPropertyLength | () | método |
public function getPropertyLength(propertyName:String):int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the length set for the passed-in property. Returns zero if length was not set for the property.
Parámetros
propertyName:String — the name of the property.
|
int — Length set for the passed-in property.
Returns zero if length was not set for the property.
|
getPropertyType | () | método |
public function getPropertyType(propertyName:String):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Get the type of a given property.
Parámetros
propertyName:String — the name of the property.
|
String — the type of the given property.
|
getPropertyValidationFailureMessages | () | método |
public function getPropertyValidationFailureMessages(propertyName:String):Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns an Array of localized error messages corresponding to the current set of failed validations for the given property. Returns an empty Array if the property currently has no failing validations.
Parámetros
propertyName:String — Name of property of interest
|
Array — Array of localized error messages corresponding to the current
set of failed validations for the given property. Returns
an empty Array if the property currently has no failing validations.
|
getRequiredProperties | () | método |
public function getRequiredProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all required properties.
Valor devueltoArray — Names of all required properties.
|
getStyle | () | método |
public function getStyle(propertyName:String):IStyle
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns style object for property.
Parámetros
propertyName:String — Name of property for which associated style is retrieved
|
IStyle — Style object for property
|
getUnguardedProperties | () | método |
public function getUnguardedProperties():Array
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the names of all unguarded properties for an entity.
Valor devueltoArray — Names of all unguarded properties for an entity
|
getValue | () | método |
public function getValue(propertyName:String):*
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Gets the value of a property.
Parámetros
propertyName:String — Desired property
|
* — Current value of propertyName for this instance
|
isAvailable | () | método |
public function isAvailable(propertyName:String):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Determines if a property is available as is determined by variants. An error is thrown
if the property name that is passed in is not a valid property of the value object.
To add bindings to the availability flag for a particular
property, use the ispropertyNameAvailable()
function. This function exists for every
property and supports binding.
Parámetros
propertyName:String — Property to check for availability
|
Boolean — true if this property is currently available as is determined by variants
|
setValue | () | método |
public function setValue(propertyName:String, value:*):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Sets the value of a property. To clear a value, set it to undefined.
Parámetros
propertyName:String — Property to set
| |
value:* — Value to set property to
|
Tue Jun 12 2018, 02:12 PM Z