1 /*************************************************************************************** 2 * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved. * 3 * http://aspectwerkz.codehaus.org * 4 * ---------------------------------------------------------------------------------- * 5 * The software in this package is published under the terms of the LGPL license * 6 * a copy of which has been included with this distribution in the license.txt file. * 7 **************************************************************************************/ 8 package org.codehaus.aspectwerkz.annotation; 9 10 /*** 11 * Marker interface for all annotation proxy implementations. 12 * 13 * @author <a href="mailto:jboner@codehaus.org">Jonas Bonér </a> 14 */ 15 public interface Annotation { 16 /*** 17 * Returns the name. 18 * 19 * @return the name 20 */ 21 public String getName(); 22 23 /*** 24 * Sets the name of the annotation, the '@[name]'. 25 * 26 * @param name 27 */ 28 void setName(String name); 29 30 /*** 31 * Sets the full value of the annotation (including possible named parameters etc.). 32 * 33 * @param value 34 */ 35 void initialize(String name, String value); 36 37 /*** 38 * Checks if the annotation is typed or not. 39 * 40 * @return boolean 41 */ 42 boolean isTyped(); 43 }