Packagecom.adobe.fiber.valueobjects
Interfacepublic interface IValueObject

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Every value object generated from a model implements the IValueObject interface, and guarantees 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 API's:
     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 that derived property and all derived properties that depend on it to be recalculated. This is usefull 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. Return 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. Return 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 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.

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



Public Properties
 PropertyDefined 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
managingServiceproperty
managingService:IFiberManagingService  [write-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 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