Pakiet | com.adobe.fiber.valueobjects |
Klasa | public class AbstractEntityMetadata |
Dziedziczenie | AbstractEntityMetadata EventDispatcher Object |
Implementuje | IModelType, IModelInstance |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | ||
invalidConstraints : Array [tylko do odczytu]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | AbstractEntityMetadata | ||
validationFailureMessages : Array [tylko do odczytu]
Returns an Array of localized error messages corresponding to the current
set of failed constraints and validations of the value object. | AbstractEntityMetadata |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | ||
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | 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 | ||
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Determines if a property is available as is determined by variants. | AbstractEntityMetadata | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
Sets the value of a property. | AbstractEntityMetadata | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
Zwraca ciąg reprezentujący określony obiekt. | Object | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object | ||
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher |
invalidConstraints | właściwość |
invalidConstraints:Array
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints or an empty Array if the value object is currently valid.
Implementacja
public function get invalidConstraints():Array
validationFailureMessages | właściwość |
validationFailureMessages:Array
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Implementacja
public function get validationFailureMessages():Array
getAssociationProperties | () | metoda |
public function getAssociationProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all association properties.
ZwracaArray — Names of all association properties
|
getAvailableProperties | () | metoda |
public function getAvailableProperties():IPropertyIterator
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all available properties of this instance as determined by variants.
ZwracaIPropertyIterator — Names of all available properties of this instance as determined by variants.
|
getCollectionBase | () | metoda |
public function getCollectionBase(propertyName:String):String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Gets the base type of a collection property.
Parametry
propertyName:String — Name of desired property
|
String — Fully qualified name of the collection's base class
|
getCollectionProperties | () | metoda |
public function getCollectionProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all collection properties.
ZwracaArray — Names of all collection properties
|
getDataProperties | () | metoda |
public function getDataProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all data properties for an entity regardless of whether they are currently available.
ZwracaArray — Names of all data properties for an entity
|
getDependantInvalidConstraints | () | metoda |
public function getDependantInvalidConstraints(propertyName:String):Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
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 | () | metoda |
public function getDependants(propertyName:String):Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Gets all derived properties whose values may change as a result of this data property's value changing.
Parametry
propertyName:String — Name of data property for which to get dependants
|
Array — All derived properties depending on this data propery
|
getDependedOnServices | () | metoda |
public function getDependedOnServices():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Gets the names of all services that derived properties of this entity depend on for their calculations.
ZwracaArray — array of service names that derived properties of this
entity depend on for their calculations.
|
getEntityName | () | metoda |
public function getEntityName():String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Gets the entity's name for a given value object.
ZwracaString — the entity name for the value object.
|
getGuardedProperties | () | metoda |
public function getGuardedProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all guarded properties for an entity regardless of whether they are currently available.
ZwracaArray — Names of all guarded properties for an entity
|
getIdentityMap | () | metoda |
public function getIdentityMap():Object
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns a map of identity property names to their current values.
ZwracaObject — Map of identity property names to their current values
|
getMappedByProperty | () | metoda |
public function getMappedByProperty(associationProperty:String):String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
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 | () | metoda |
public function getProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all properties for an entity regardless of whether they are currently available.
ZwracaArray — Names of all properties for an entity
|
getPropertyLength | () | metoda |
public function getPropertyLength(propertyName:String):int
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
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 | () | metoda |
public function getPropertyType(propertyName:String):String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Get the type of a given property.
Parametry
propertyName:String — the name of the property.
|
String — the type of the given property.
|
getPropertyValidationFailureMessages | () | metoda |
public function getPropertyValidationFailureMessages(propertyName:String):Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
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 | () | metoda |
public function getRequiredProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all required properties.
ZwracaArray — Names of all required properties.
|
getStyle | () | metoda |
public function getStyle(propertyName:String):IStyle
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns style object for property.
Parametry
propertyName:String — Name of property for which associated style is retrieved
|
IStyle — Style object for property
|
getUnguardedProperties | () | metoda |
public function getUnguardedProperties():Array
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Returns the names of all unguarded properties for an entity.
ZwracaArray — Names of all unguarded properties for an entity
|
getValue | () | metoda |
public function getValue(propertyName:String):*
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Gets the value of a property.
Parametry
propertyName:String — Desired property
|
* — Current value of propertyName for this instance
|
isAvailable | () | metoda |
public function isAvailable(propertyName:String):Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
propertyName:String — Property to check for availability
|
Boolean — true if this property is currently available as is determined by variants
|
setValue | () | metoda |
public function setValue(propertyName:String, value:*):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Sets the value of a property. To clear a value, set it to undefined.
Parametry
propertyName:String — Property to set
| |
value:* — Value to set property to
|
Tue Jun 12 2018, 12:06 PM Z