org.codehaus.aspectwerkz.xmldef.definition
Class ControllerDefinition

java.lang.Object
  extended byorg.codehaus.aspectwerkz.xmldef.definition.ControllerDefinition
All Implemented Interfaces:
java.io.Serializable

public class ControllerDefinition
extends java.lang.Object
implements java.io.Serializable

Holds the controller definition.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
ControllerDefinition()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the class name.
 Expression getExpression()
          Returns the expression.
 void setClassName(java.lang.String className)
          Sets the controller class name
 void setExpression(Expression expression)
          Sets the expression.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerDefinition

public ControllerDefinition()
Method Detail

getExpression

public Expression getExpression()
Returns the expression.

Returns:
the expression

setExpression

public void setExpression(Expression expression)
Sets the expression. Substitutes all "AND" to "&&" and all "OR" to "||".

Parameters:
expression - the expression

getClassName

public java.lang.String getClassName()
Returns the class name.

Returns:
the class name

setClassName

public void setClassName(java.lang.String className)
Sets the controller class name

Parameters:
className -


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.