套件 | com.adobe.fiber.valueobjects |
類別 | public class AbstractEntityMetadata |
繼承 | AbstractEntityMetadata EventDispatcher Object |
實作 | IModelType, IModelInstance |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
invalidConstraints : Array [唯讀]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | AbstractEntityMetadata | ||
validationFailureMessages : Array [唯讀]
Returns an Array of localized error messages corresponding to the current
set of failed constraints and validations of the value object. | AbstractEntityMetadata |
方法 | 定義自 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | 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 | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Determines if a property is available as is determined by variants. | AbstractEntityMetadata | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
Sets the value of a property. | AbstractEntityMetadata | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
invalidConstraints | 屬性 |
invalidConstraints:Array
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns an Array of currently invalid constraints or an empty Array if the value object is currently valid.
實作
public function get invalidConstraints():Array
validationFailureMessages | 屬性 |
validationFailureMessages:Array
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
實作
public function get validationFailureMessages():Array
getAssociationProperties | () | 方法 |
getAvailableProperties | () | 方法 |
public function getAvailableProperties():IPropertyIterator
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the names of all available properties of this instance as determined by variants.
傳回值IPropertyIterator — Names of all available properties of this instance as determined by variants.
|
getCollectionBase | () | 方法 |
public function getCollectionBase(propertyName:String):String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Gets the base type of a collection property.
參數
propertyName:String — Name of desired property
|
String — Fully qualified name of the collection's base class
|
getCollectionProperties | () | 方法 |
getDataProperties | () | 方法 |
public function getDataProperties():Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the names of all data properties for an entity regardless of whether they are currently available.
傳回值Array — Names of all data properties for an entity
|
getDependantInvalidConstraints | () | 方法 |
public function getDependantInvalidConstraints(propertyName:String):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public function getDependants(propertyName:String):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Gets all derived properties whose values may change as a result of this data property's value changing.
參數
propertyName:String — Name of data property for which to get dependants
|
Array — All derived properties depending on this data propery
|
getDependedOnServices | () | 方法 |
public function getDependedOnServices():Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Gets the names of all services that derived properties of this entity depend on for their calculations.
傳回值Array — array of service names that derived properties of this
entity depend on for their calculations.
|
getEntityName | () | 方法 |
getGuardedProperties | () | 方法 |
public function getGuardedProperties():Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the names of all guarded properties for an entity regardless of whether they are currently available.
傳回值Array — Names of all guarded properties for an entity
|
getIdentityMap | () | 方法 |
getMappedByProperty | () | 方法 |
public function getMappedByProperty(associationProperty:String):String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public function getProperties():Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the names of all properties for an entity regardless of whether they are currently available.
傳回值Array — Names of all properties for an entity
|
getPropertyLength | () | 方法 |
public function getPropertyLength(propertyName:String):int
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數
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 | () | 方法 |
public function getPropertyType(propertyName:String):String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Get the type of a given property.
參數
propertyName:String — the name of the property.
|
String — the type of the given property.
|
getPropertyValidationFailureMessages | () | 方法 |
public function getPropertyValidationFailureMessages(propertyName:String):Array
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數
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 | () | 方法 |
getStyle | () | 方法 |
public function getStyle(propertyName:String):IStyle
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns style object for property.
參數
propertyName:String — Name of property for which associated style is retrieved
|
IStyle — Style object for property
|
getUnguardedProperties | () | 方法 |
getValue | () | 方法 |
isAvailable | () | 方法 |
public function isAvailable(propertyName:String):Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | 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.
參數
propertyName:String — Property to check for availability
|
Boolean — true if this property is currently available as is determined by variants
|
setValue | () | 方法 |
public function setValue(propertyName:String, value:*):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Sets the value of a property. To clear a value, set it to undefined.
參數
propertyName:String — Property to set
| |
value:* — Value to set property to
|
Tue Jun 12 2018, 03:47 PM Z