Paket | com.adobe.fiber.valueobjects |
Klass | public class AbstractEntityMetadata |
Arv | AbstractEntityMetadata EventDispatcher Object |
Implementerar | IModelType, IModelInstance |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
invalidConstraints : Array [skrivskyddad]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | AbstractEntityMetadata | ||
validationFailureMessages : Array [skrivskyddad]
Returns an Array of localized error messages corresponding to the current
set of failed constraints and validations of the value object. | AbstractEntityMetadata |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | 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 | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Determines if a property is available as is determined by variants. | AbstractEntityMetadata | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Sets the value of a property. | AbstractEntityMetadata | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
invalidConstraints | egenskap |
invalidConstraints:Array
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints or an empty Array if the value object is currently valid.
Implementering
public function get invalidConstraints():Array
validationFailureMessages | egenskap |
validationFailureMessages:Array
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Implementering
public function get validationFailureMessages():Array
getAssociationProperties | () | metod |
public function getAssociationProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all association properties.
ReturnerarArray — Names of all association properties
|
getAvailableProperties | () | metod |
public function getAvailableProperties():IPropertyIterator
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all available properties of this instance as determined by variants.
ReturnerarIPropertyIterator — Names of all available properties of this instance as determined by variants.
|
getCollectionBase | () | metod |
public function getCollectionBase(propertyName:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Gets the base type of a collection property.
Parametrar
propertyName:String — Name of desired property
|
String — Fully qualified name of the collection's base class
|
getCollectionProperties | () | metod |
public function getCollectionProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all collection properties.
ReturnerarArray — Names of all collection properties
|
getDataProperties | () | metod |
public function getDataProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all data properties for an entity regardless of whether they are currently available.
ReturnerarArray — Names of all data properties for an entity
|
getDependantInvalidConstraints | () | metod |
public function getDependantInvalidConstraints(propertyName:String):Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
public function getDependants(propertyName:String):Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Gets all derived properties whose values may change as a result of this data property's value changing.
Parametrar
propertyName:String — Name of data property for which to get dependants
|
Array — All derived properties depending on this data propery
|
getDependedOnServices | () | metod |
public function getDependedOnServices():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Gets the names of all services that derived properties of this entity depend on for their calculations.
ReturnerarArray — array of service names that derived properties of this
entity depend on for their calculations.
|
getEntityName | () | metod |
getGuardedProperties | () | metod |
public function getGuardedProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all guarded properties for an entity regardless of whether they are currently available.
ReturnerarArray — Names of all guarded properties for an entity
|
getIdentityMap | () | metod |
public function getIdentityMap():Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns a map of identity property names to their current values.
ReturnerarObject — Map of identity property names to their current values
|
getMappedByProperty | () | metod |
public function getMappedByProperty(associationProperty:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
public function getProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all properties for an entity regardless of whether they are currently available.
ReturnerarArray — Names of all properties for an entity
|
getPropertyLength | () | metod |
public function getPropertyLength(propertyName:String):int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
public function getPropertyType(propertyName:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Get the type of a given property.
Parametrar
propertyName:String — the name of the property.
|
String — the type of the given property.
|
getPropertyValidationFailureMessages | () | metod |
public function getPropertyValidationFailureMessages(propertyName:String):Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | () | metod |
getStyle | () | metod |
public function getStyle(propertyName:String):IStyle
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns style object for property.
Parametrar
propertyName:String — Name of property for which associated style is retrieved
|
IStyle — Style object for property
|
getUnguardedProperties | () | metod |
public function getUnguardedProperties():Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the names of all unguarded properties for an entity.
ReturnerarArray — Names of all unguarded properties for an entity
|
getValue | () | metod |
public function getValue(propertyName:String):*
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Gets the value of a property.
Parametrar
propertyName:String — Desired property
|
* — Current value of propertyName for this instance
|
isAvailable | () | metod |
public function isAvailable(propertyName:String):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
propertyName:String — Property to check for availability
|
Boolean — true if this property is currently available as is determined by variants
|
setValue | () | metod |
public function setValue(propertyName:String, value:*):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Sets the value of a property. To clear a value, set it to undefined.
Parametrar
propertyName:String — Property to set
| |
value:* — Value to set property to
|
Tue Jun 12 2018, 01:40 PM Z