Packageorg.spicefactory.parsley.core.builder.ref
Classpublic class ObjectIdReference
InheritanceObjectIdReference Inheritance Object
Implements ResolvableValue

Represent a reference to an object in the Parsley Context by id.



Public Properties
 PropertyDefined By
  id : String
[read-only] The id of the referenced object.
ObjectIdReference
  required : Boolean
[read-only] Indicates whether this instance represents a required dependency.
ObjectIdReference
Public Methods
 MethodDefined By
  
ObjectIdReference(id:String, required:Boolean = true, defaultValue:Object = null)
Creates a new instance.
ObjectIdReference
  
ObjectIdReference
Property Detail
idproperty
id:String  [read-only]

The id of the referenced object.


Implementation
    public function get id():String
requiredproperty 
required:Boolean  [read-only]

Indicates whether this instance represents a required dependency.


Implementation
    public function get required():Boolean
Constructor Detail
ObjectIdReference()Constructor
public function ObjectIdReference(id:String, required:Boolean = true, defaultValue:Object = null)

Creates a new instance.

Parameters
id:String — the id of the referenced object
 
required:Boolean (default = true) — whether this instance represents a required dependency
 
defaultValue:Object (default = null)
Method Detail
resolve()method
public function resolve(target:ManagedObject):*

Parameters

target:ManagedObject

Returns
*