Packagecom.asfusion.mate.core
Classpublic class Cache
ImplementsISmartObject

The Cache allows getting cached objects within the event map's IActionList.



Public Properties
 PropertyDefined by
  key : Class
Key used as index to get the cached objects.
Cache
Protected Properties
 PropertyDefined by
  manager : IMateManager
Instance of IMateManager used to get the cached objects created.
Cache
Public Methods
 MethodDefined by
  
Cache(key:Class)
Constructor
Cache
  
getValue(scope:IScope, debugCall:Boolean = false):Object
This method returns the real value of the SmartObject
Cache
Property detail
keyproperty
key:Class  [read-write]

Key used as index to get the cached objects. The Class name is the key used to cach objects.

Implementation
    public function get key():Class
    public function set key(value:Class):void
managerproperty 
protected var manager:IMateManager

Instance of IMateManager used to get the cached objects created.

Constructor detail
Cache()constructor
public function Cache(key:Class)

Constructor

Parameters
key:Class
Method detail
getValue()method
public function getValue(scope:IScope, debugCall:Boolean = false):Object

This method returns the real value of the SmartObject

Parameters
scope:IScope
 
debugCall:Boolean (default = false)

Returns
Object