org.codehaus.aspectwerkz.attribdef.definition.attribute
Class AspectAttribute

java.lang.Object
  extended byorg.codehaus.aspectwerkz.attribdef.definition.attribute.AspectAttribute
All Implemented Interfaces:
Attribute, java.io.Serializable

public class AspectAttribute
extends java.lang.Object
implements Attribute

Attribute for the AspectMetaData construct.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
AspectAttribute(java.lang.String name, int deploymentModel)
          Create an AspectMetaData attribute.
AspectAttribute(java.lang.String name, java.lang.String deploymentModel)
          Create an AspectMetaData attribute.
 
Method Summary
 java.lang.String getDeploymentModel()
          Returns the deployment model.
 java.lang.String getName()
          Returns the name of the aspect.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectAttribute

public AspectAttribute(java.lang.String name,
                       java.lang.String deploymentModel)
Create an AspectMetaData attribute.

Parameters:
name - the name of the aspect
deploymentModel - the deployment model for the aspect

AspectAttribute

public AspectAttribute(java.lang.String name,
                       int deploymentModel)
Create an AspectMetaData attribute.

Parameters:
name - the name of the aspect
deploymentModel - the deployment model for the aspect
Method Detail

getName

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

Returns:
the name

getDeploymentModel

public java.lang.String getDeploymentModel()
Returns the deployment model.

Returns:
the deployment model


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