Packageorg.spicefactory.parsley.tag.model
Classpublic class ObjectTypeReference
InheritanceObjectTypeReference Inheritance Object
Implements ResolvableValue

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



Public Properties
 PropertyDefined By
  required : Boolean
[read-only] Indicates whether this instance represents a required dependency.
ObjectTypeReference
  type : ClassInfo
[read-only] The type of the referenced object.
ObjectTypeReference
Public Methods
 MethodDefined By
  
ObjectTypeReference(type:ClassInfo, required:Boolean = true)
Creates a new instance.
ObjectTypeReference
  
ObjectTypeReference
Property Detail
requiredproperty
required:Boolean  [read-only]

Indicates whether this instance represents a required dependency.


Implementation
    public function get required():Boolean
typeproperty 
type:ClassInfo  [read-only]

The type of the referenced object.


Implementation
    public function get type():ClassInfo
Constructor Detail
ObjectTypeReference()Constructor
public function ObjectTypeReference(type:ClassInfo, required:Boolean = true)

Creates a new instance.

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

Parameters

target:ManagedObject

Returns
*