org.apache.maven.tools.plugin.annotations.datamodel
Class ComponentAnnotationContent

java.lang.Object
  extended by org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedContent
      extended by org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedField
          extended by org.apache.maven.tools.plugin.annotations.datamodel.ComponentAnnotationContent
All Implemented Interfaces:
Annotation, Comparable<AnnotatedField>, Component

public class ComponentAnnotationContent
extends AnnotatedField
implements Component

Since:
3.0
Author:
Olivier Lamy

Constructor Summary
ComponentAnnotationContent(String fieldName)
           
ComponentAnnotationContent(String fieldName, String role, String hint)
           
 
Method Summary
 Class<? extends Annotation> annotationType()
           
 String getRoleClassName()
           
 String hint()
           
 void hint(String hint)
           
 Class<?> role()
           
 void setRoleClassName(String roleClassName)
           
 String toString()
           
 
Methods inherited from class org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedField
compareTo, getFieldName, setFieldName
 
Methods inherited from class org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedContent
getDeprecated, getDescription, getSince, setDeprecated, setDescription, setSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode
 

Constructor Detail

ComponentAnnotationContent

public ComponentAnnotationContent(String fieldName)

ComponentAnnotationContent

public ComponentAnnotationContent(String fieldName,
                                  String role,
                                  String hint)
Method Detail

role

public Class<?> role()

setRoleClassName

public void setRoleClassName(String roleClassName)

getRoleClassName

public String getRoleClassName()

hint

public String hint()

hint

public void hint(String hint)

annotationType

public Class<? extends Annotation> annotationType()
Specified by:
annotationType in interface Annotation

toString

public String toString()
Specified by:
toString in interface Annotation
Overrides:
toString in class AnnotatedField


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.