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 alias, String property, String defaultValue, boolean required, boolean readonly, String className, List<String> typeParameters, boolean annotationOnMethod)
ParameterAnnotationContent(String fieldName, String className, List<String> typeParameters, boolean annotationOnMethod)
-
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()
List<String>
getTypeParameters()
int
hashCode()
boolean
isAnnotationOnMethod()
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
-
-
-
-
Constructor Detail
-
ParameterAnnotationContent
public ParameterAnnotationContent(String fieldName, String className, List<String> typeParameters, boolean annotationOnMethod)
-
-
Method Detail
-
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)
-
getTypeParameters
public List<String> getTypeParameters()
-
isAnnotationOnMethod
public boolean isAnnotationOnMethod()
-
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
-
-