org.codehaus.aspectwerkz.annotation
Interface Annotation

All Known Implementing Classes:
TypedAnnotationProxy, UntypedAnnotationProxy

public interface Annotation

Marker interface for all annotation proxy implementations.

Author:
Jonas Bonér

Method Summary
 String getName()
          Returns the name.
 void initialize(String name, String value)
          Sets the full value of the annotation (including possible named parameters etc.).
 boolean isTyped()
          Checks if the annotation is typed or not.
 void setName(String name)
          Sets the name of the annotation, the '@[name]'.
 

Method Detail

getName

public String getName()
Returns the name.

Returns:
the name

setName

public void setName(String name)
Sets the name of the annotation, the '@[name]'.

Parameters:
name -

initialize

public void initialize(String name,
                       String value)
Sets the full value of the annotation (including possible named parameters etc.).

Parameters:
value -

isTyped

public boolean isTyped()
Checks if the annotation is typed or not.

Returns:
boolean


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