MultiAccessor
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Implements: | |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.core.MultiAccessor |
| File last modified: | Wednesday, 31 October 2007, 07:35:29 |
Summary
Constructor
Instance methods
Constructor
MultiAccessor
function MultiAccessor (
)
Constructs a new
MultiAccessor instancep property name or must be defined in t instance context.
Parameters:
t :
Object where
f function is appliedaSet:
String property name or Function method reference to proxy setter access.aGet:
Function method reference to proxy getter access.Instance methods
getGetterHelper
function getGetterHelper (
)
Returns getters references array.
Returns:
ArraySpecified by:
getSetterHelper
function getSetterHelper (
)
Returns setters references array.
Returns:
ArraySpecified by:
getTarget
function getTarget (
)
Returns object target.
Where accessor is applied
Returns:
object instance (relaxed type)
Specified by:
getValue
function getValue (
)
Returns current values targeted by the accessor.
Returns:
Array
Specified by:
setValue
function setValue (
) : Void
Sets passed-in values to object using associated accessor
during instanciation.
during instanciation.
Parameters:
<code>Array</code>:
values to set
Specified by:
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance