rcf.core.framework.component
Class ReflectedOperation.Default

java.lang.Object
  extended by rcf.core.framework.component.ReflectedOperation.Default
All Implemented Interfaces:
ReflectedBindable<DynamicOperation>, ReflectedOperation
Enclosing interface:
ReflectedOperation

public static final class ReflectedOperation.Default
extends Object
implements ReflectedOperation

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.4 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from interface rcf.core.framework.component.ReflectedOperation
ReflectedOperation.Default
 
Field Summary
protected  ReflectedComponent component
          TODO: Javadoc
protected  boolean isFunction
          TODO: Javadoc
protected  Method method
          TODO: Javadoc
protected  String name
          TODO: Javadoc
protected  rcf.core.util.map.single.SMapListSet<ReflectedParameter,String> parameters
          TODO: Javadoc
protected  ReflectedParameter retVal
          TODO: Javadoc
protected  OperationType type
          TODO: Javadoc
 
Constructor Summary
ReflectedOperation.Default(ReflectedComponent _component, Method _method, String _name, OperationType _type, boolean _isFunction)
          TODO: Javadoc
 
Method Summary
 DynamicOperation bind(Object o)
          TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component.
 ReflectedComponent component()
          TODO: Javadoc
 boolean isFunction()
          TODO: Javadoc
 String name()
          TODO: Javadoc
 rcf.core.util.map.single.SMapListSet<? extends ReflectedParameter,String> parameters()
          TODO: Javadoc
 ReflectedParameter returnValue()
          TODO: Javadoc
 OperationType type()
          TODO: Javadoc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected final ReflectedComponent component
TODO: Javadoc


method

protected final Method method
TODO: Javadoc


name

protected final String name
TODO: Javadoc


parameters

protected final rcf.core.util.map.single.SMapListSet<ReflectedParameter,String> parameters
TODO: Javadoc


retVal

protected final ReflectedParameter retVal
TODO: Javadoc


type

protected final OperationType type
TODO: Javadoc


isFunction

protected final boolean isFunction
TODO: Javadoc

Constructor Detail

ReflectedOperation.Default

public ReflectedOperation.Default(ReflectedComponent _component,
                                  Method _method,
                                  String _name,
                                  OperationType _type,
                                  boolean _isFunction)
TODO: Javadoc

Parameters:
_component -
_method -
_name -
Method Detail

bind

public DynamicOperation bind(Object o)
Description copied from interface: ReflectedBindable
TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component. ReflectedComponent.isInstance(Object), component().isInstance(o) must be true.

Specified by:
bind in interface ReflectedBindable<DynamicOperation>
Returns:

component

public ReflectedComponent component()
Description copied from interface: ReflectedBindable
TODO: Javadoc

Specified by:
component in interface ReflectedBindable<DynamicOperation>
Returns:

isFunction

public boolean isFunction()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
isFunction in interface ReflectedOperation
Returns:

name

public String name()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
name in interface ReflectedOperation
Returns:

parameters

public rcf.core.util.map.single.SMapListSet<? extends ReflectedParameter,String> parameters()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
parameters in interface ReflectedOperation
Returns:

returnValue

public ReflectedParameter returnValue()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
returnValue in interface ReflectedOperation
Returns:

type

public OperationType type()
Description copied from interface: ReflectedOperation
TODO: Javadoc

Specified by:
type in interface ReflectedOperation
Returns: