org.apache.maven.tools.plugin.annotations.datamodel
Class ParameterAnnotationContent
java.lang.Object
org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedContent
org.apache.maven.tools.plugin.annotations.datamodel.AnnotatedField
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
ParameterAnnotationContent
public ParameterAnnotationContent(String fieldName,
String className)
ParameterAnnotationContent
public ParameterAnnotationContent(String fieldName,
String alias,
String property,
String defaultValue,
boolean required,
boolean readonly,
String className)
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.