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

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.ParameterAnnotationContent
All Implemented Interfaces:
Annotation, Comparable<AnnotatedField>, Parameter

public class ParameterAnnotationContent
extends AnnotatedField
implements Parameter

Since:
3.0
Author:
Olivier Lamy

Constructor Summary
ParameterAnnotationContent(String fieldName, String className)
           
ParameterAnnotationContent(String fieldName, String alias, String property, String defaultValue, boolean required, boolean readonly, String className)
           
 
Method Summary
 String alias()
           
 void alias(String alias)
           
 Class<? extends Annotation> annotationType()
           
 String defaultValue()
           
 void defaultValue(String defaultValue)
           
 boolean equals(Object o)
           
 String getClassName()
           
 int hashCode()
           
 String property()
           
 void property(String property)
           
 boolean readonly()
           
 void readonly(boolean readonly)
           
 boolean required()
           
 void required(boolean required)
           
 void setClassName(String className)
           
 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterAnnotationContent

public ParameterAnnotationContent(String fieldName,
                                  String className)

ParameterAnnotationContent

public ParameterAnnotationContent(String fieldName,
                                  String alias,
                                  String property,
                                  String defaultValue,
                                  boolean required,
                                  boolean readonly,
                                  String className)
Method Detail

alias

public String alias()

alias

public void alias(String alias)

property

public String property()

property

public void property(String property)

defaultValue

public String defaultValue()

defaultValue

public void defaultValue(String defaultValue)

required

public boolean required()

required

public void required(boolean required)

readonly

public boolean readonly()

readonly

public void readonly(boolean readonly)

annotationType

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

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

toString

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

equals

public boolean equals(Object o)
Specified by:
equals in interface Annotation
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Annotation
Overrides:
hashCode in class Object


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