org.vraptor.core
Class DefaultLogicDefinition

java.lang.Object
  extended by org.vraptor.core.DefaultLogicDefinition
All Implemented Interfaces:
LogicDefinition

public class DefaultLogicDefinition
extends Object
implements LogicDefinition

The default logic definition implementation.

Author:
Guilherme Silveira

Constructor Summary
DefaultLogicDefinition(Object component, ComponentType componentType, LogicMethod method)
           
 
Method Summary
 Object getComponent()
          Returns the component where the action will be executed.
 ComponentType getComponentType()
           
 LogicMethod getLogicMethod()
           
 Object[] getParameters()
           
 void setParameters(Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLogicDefinition

public DefaultLogicDefinition(Object component,
                              ComponentType componentType,
                              LogicMethod method)
Method Detail

getComponent

public Object getComponent()
Description copied from interface: LogicDefinition
Returns the component where the action will be executed.

Specified by:
getComponent in interface LogicDefinition
Returns:
the component

getComponentType

public ComponentType getComponentType()
Specified by:
getComponentType in interface LogicDefinition

getLogicMethod

public LogicMethod getLogicMethod()
Specified by:
getLogicMethod in interface LogicDefinition

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface LogicDefinition

setParameters

public void setParameters(Object[] parameters)


Copyright © 2004-2008 VRaptor. All Rights Reserved.