org.codehaus.aspectwerkz.definition
Class IntroductionDefinition

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

public class IntroductionDefinition
extends Object

Holds the meta-data for an interface + implementation introduction.

Author:
Jonas Bonér

Constructor Summary
IntroductionDefinition(Class mixinClass, ExpressionInfo expressionInfo, String deploymentModel)
          Construct a new Definition for introduction.
 
Method Summary
 void addExpressionInfo(ExpressionInfo expression)
          Adds a new expression info.
 void addExpressionInfos(ExpressionInfo[] expressions)
          Adds an array with new expression infos.
 String getAttribute()
          Returns the attribute.
 String getDeploymentModel()
          Returns the deployment model.
 ExpressionInfo[] getExpressionInfos()
          Returns the expressions.
 String getInterfaceClassName()
          Returns the class name of the interface.
 List getInterfaceClassNames()
          Returns the class name of the interface.
 List getMethodsToIntroduce()
          Returns the methods to introduce.
 String getName()
          Returns the name of the introduction.
 void setAttribute(String attribute)
          Sets the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntroductionDefinition

public IntroductionDefinition(Class mixinClass,
                              ExpressionInfo expressionInfo,
                              String deploymentModel)
Construct a new Definition for introduction.

Parameters:
mixinClass - the mixin class
expressionInfo - the expression info
deploymentModel - introduction deployment model
Method Detail

getMethodsToIntroduce

public List getMethodsToIntroduce()
Returns the methods to introduce.

Returns:
the methods to introduce

getDeploymentModel

public String getDeploymentModel()
Returns the deployment model.

Returns:
the deployment model

getName

public String getName()
Returns the name of the introduction.

Returns:
the name

getExpressionInfos

public ExpressionInfo[] getExpressionInfos()
Returns the expressions.

Returns:
the expressions array

getInterfaceClassName

public String getInterfaceClassName()
Returns the class name of the interface.

Returns:
the class name of the interface

getInterfaceClassNames

public List getInterfaceClassNames()
Returns the class name of the interface.

Returns:
the class name of the interface

getAttribute

public String getAttribute()
Returns the attribute.

Returns:
the attribute

setAttribute

public void setAttribute(String attribute)
Sets the attribute.

Parameters:
attribute - the attribute

addExpressionInfo

public void addExpressionInfo(ExpressionInfo expression)
Adds a new expression info.

Parameters:
expression - a new expression info

addExpressionInfos

public void addExpressionInfos(ExpressionInfo[] expressions)
Adds an array with new expression infos.

Parameters:
expressions - an array with new expression infos


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.