Pakiet | com.adobe.fiber.valueobjects |
Interfejs | public interface IModelInstance |
Implementory | AbstractEntityMetadata |
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 |
An implementation of this interface is generated for each entity
declared in a model.
An instance corresponding to a value object
is accessible by its _model
property.
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
invalidConstraints : Array [tylko do odczytu]
Returns an Array of currently invalid constraints or an empty Array
if the value object is currently valid. | IModelInstance | ||
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. | IModelInstance |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Returns the names of all available properties of this instance as determined by variants. | IModelInstance | ||
Returns an Array of currently invalid constraints whose values may
change as a result of propertyName changing. | IModelInstance | ||
Returns a map of identity property names to their current values. | IModelInstance | ||
Returns an Array of localized error messages corresponding to the current
set of failed validations for the given property. | IModelInstance | ||
Returns style object for property. | IModelInstance | ||
Gets the value of a property. | IModelInstance | ||
Determines if a property is available as is determined by variants. | IModelInstance | ||
Sets the value of a property. | IModelInstance |
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
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.
|
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.
|
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
|
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.
|
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
|
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
|
Zgłasza
Error — if the passed in property name is not a valid property of the value object.
|
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