org.codehaus.aspectwerkz.definition
Class PointcutDefinition

java.lang.Object
  extended byorg.codehaus.aspectwerkz.definition.PointcutDefinition

public class PointcutDefinition
extends java.lang.Object

Holds the meta-data for the pointcuts.

Author:
Jonas Bonér

Constructor Summary
PointcutDefinition()
           
 
Method Summary
 java.lang.String getExpression()
          Returns the expression for the pointcut.
 java.lang.String getName()
          Returns the name of the pointcut.
 java.lang.String getNonReentrant()
          Returns the string representation of the non-reentrancy flag.
 PointcutType getType()
          Returns the type of the pointcut.
 boolean isNonReentrant()
          Checks if the pointcut is non-reentrant or not.
 void setExpression(java.lang.String expression)
          Sets the expression.
 void setName(java.lang.String name)
          Sets the name of the pointcut.
 void setNonReentrant(java.lang.String isNonReentrant)
          Sets the non-reentrancy flag.
 void setType(PointcutType type)
          Sets the type of the pointcut.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointcutDefinition

public PointcutDefinition()
Method Detail

getExpression

public java.lang.String getExpression()
Returns the expression for the pointcut.

Returns:
the expression for the pointcut

setExpression

public void setExpression(java.lang.String expression)
Sets the expression.

Parameters:
expression - the expression

getName

public java.lang.String getName()
Returns the name of the pointcut.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name of the pointcut.


getType

public PointcutType getType()
Returns the type of the pointcut.

Returns:
the type

setType

public void setType(PointcutType type)
Sets the type of the pointcut.

Parameters:
type - the type

setNonReentrant

public void setNonReentrant(java.lang.String isNonReentrant)
Sets the non-reentrancy flag.

Parameters:
isNonReentrant -

getNonReentrant

public java.lang.String getNonReentrant()
Returns the string representation of the non-reentrancy flag.

Returns:
the non-reentrancy flag

isNonReentrant

public boolean isNonReentrant()
Checks if the pointcut is non-reentrant or not.

Returns:
the non-reentrancy flag


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