Class ParameterAnnotationContent
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedField
-
- org.apache.maven.tools.plugin.extractor.annotations.datamodel.ParameterAnnotationContent
-
- All Implemented Interfaces:
Annotation
public class ParameterAnnotationContent extends AnnotatedField implements Parameter
- Since:
- 3.0
- Author:
- Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description ParameterAnnotationContent(String fieldName, String className)
ParameterAnnotationContent(String fieldName, String alias, String property, String defaultValue, boolean required, boolean readonly, String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
name()
void
name(String name)
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.extractor.annotations.datamodel.AnnotatedField
compareTo, getFieldName, setFieldName
-
Methods inherited from class org.apache.maven.tools.plugin.extractor.annotations.datamodel.AnnotatedContent
getDeprecated, getDescription, getSince, setDeprecated, setDescription, setSince
-
-
-
-
Method Detail
-
name
public String name()
-
name
public void name(String name)
-
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 interfaceAnnotation
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
toString
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classAnnotatedField
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
-