org.codehaus.aspectwerkz.attribdef.definition
Class InterfaceIntroductionDefinition

java.lang.Object
  extended byorg.codehaus.aspectwerkz.attribdef.definition.InterfaceIntroductionDefinition
Direct Known Subclasses:
IntroductionDefinition

public class InterfaceIntroductionDefinition
extends java.lang.Object

Holds the meta-data for the interface introductions.

This definition holds only pure interface introduction.

It is extended in IntroductionDefinition for interface+implementation introductions

Author:
Jonas Bonér

Constructor Summary
InterfaceIntroductionDefinition(java.lang.String name, Expression expression, java.lang.String interfaceClassName)
          Creates a new introduction meta-data instance.
 
Method Summary
 java.lang.String getAttribute()
          Returns the attribute.
 Expression getExpression()
          Returns the expression.
 java.lang.String getInterfaceClassName()
          Returns the class name of the interface.
 java.util.List getInterfaceClassNames()
          Returns the class name of the interface.
 java.lang.String getName()
          Returns the name of the introduction.
 void setAttribute(java.lang.String attribute)
          Sets the attribute.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceIntroductionDefinition

public InterfaceIntroductionDefinition(java.lang.String name,
                                       Expression expression,
                                       java.lang.String interfaceClassName)
Creates a new introduction meta-data instance.

Parameters:
name - the name of the expression
expression - the expression
interfaceClassName - the class name of the interface
Method Detail

getName

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

Returns:
the name

getExpression

public Expression getExpression()
Returns the expression.

Returns:
the expression

getInterfaceClassName

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

Returns:
the class name of the interface

getInterfaceClassNames

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

Returns:
the class name of the interface

getAttribute

public java.lang.String getAttribute()
Returns the attribute.

Returns:
the attribute

setAttribute

public void setAttribute(java.lang.String attribute)
Sets the attribute.

Parameters:
attribute - the attribute


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