FileDocCategorySizeDatePackage
XmlAnnotation.javaAPI DocJBoss 4.2.12907Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.metamodel

XmlAnnotation

public class XmlAnnotation extends Object
Represents an element of the jboss.xml deployment descriptor
author
William DeCoste

Fields Summary
private org.jboss.metamodel.descriptor.InjectionTarget
injectionTarget
private String
annotationClass
private String
annotationImplementationClass
private Collection
properties
Constructors Summary
Methods Summary
public voidaddProperty(org.jboss.metamodel.descriptor.NameValuePair property)

      properties.add(property);
   
public java.lang.StringgetAnnotationClass()

      return annotationClass;
   
public java.lang.StringgetAnnotationImplementationClass()

      return annotationImplementationClass;
   
public org.jboss.metamodel.descriptor.InjectionTargetgetInjectionTarget()

      return injectionTarget;
   
public java.util.CollectiongetProperties()

   
     
   
      return properties;
   
public voidsetAnnotationClass(java.lang.String annotationClass)

      this.annotationClass = annotationClass;
   
public voidsetAnnotationImplementationClass(java.lang.String annotationImplementationClass)

      this.annotationImplementationClass = annotationImplementationClass;
   
public voidsetInjectionTarget(org.jboss.metamodel.descriptor.InjectionTarget injectionTarget)

      this.injectionTarget = injectionTarget;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("annotationClass=").append(annotationClass);
      sb.append(", injectionTarget=").append(injectionTarget);
      sb.append("]");
      return sb.toString();