com.adobe.fiber.valueobjects

# IValueObject - AS3 ADEP Data Services

Package | com.adobe.fiber.valueobjects
Interface | public interface IValueObject

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3

Runtime Versions: | Flash Player 9, AIR 1.1

Every value object generated from a model implements the IValueObject interface, and is guaranteed to expose a `_model` getter. This reference provides consumers with an instance of `AbstractEntityMetadata` for the value object. This instance in turn provides implementations of the IModelType and IModelInstance interfaces. It also provides implementations of the following generated, per entity property APIs:

         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 calculate_property-name():void

Per-derived-property functions that cause a derived property and all derived properties that depend on it to be recalculated. This is useful when automatic recalculation of a particular derived property has been disabled via the ActionScriptGeneration.DisableAutoReCalc annotation.

         function get property-nameStyle():IStyle

bindable getter for the property's `com.adobe.fiber.styles.IStyle` instance. Returns null for properties that do not have an associated style.

         function get property-nameIsValid():Boolean

bindable getter for the property's validity state as determined by the set of all validations applied to the property via styles. Note that these functions are only generated for properties that have at least one validation.

         function get property-nameValidationFailureMessages():Array

bindable getter for an array of localized error messages corresponding to the current set of failed validations for a property. Returns an empty Array if all validations are currently in a valid state. Note that these functions are only generated for properties that have at least one validation.

         function invalidateDependentproperty-name():void

Per property functions that cause all derived properties that depend on this property to be recalculated. `PropertyChanged` events will be executed once the calculation of each such derived property completes.

Note that these functions are only generated for data properties that have dependent derived properties.

Each value object also exposes a static function `_initRemoteClassAlias` that initializes the RemoteClass aliases for it and all of the value objects corresponding to its associated entities.

Public Properties

| Property | Defined By
--- | --- | ---
|  | managingService : IFiberManagingService [write-only] Associates the value object with a custom strategy fro retrieving services that may be required for property calculations. | IValueObject

Property Detail

### managingService

property

`managingService:IFiberManagingService` [write-only]

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 3

Runtime Versions: | Flash Player 9, AIR 1.1

Associates the value object with a custom strategy fro retrieving services that may be required for property calculations. See com.adobe.fiber.services.IFiberManagingService for details.

Implementation
`public function set managingService(value:IFiberManagingService):void`

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00