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:
java.lang.annotation.Annotation
public class ParameterAnnotationContent extends AnnotatedField implements Parameter
- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
alias
private boolean
annotationOnMethod
private java.lang.String
className
private java.lang.String
defaultValue
private java.lang.String
name
private java.lang.String
property
private boolean
readonly
private boolean
required
private java.util.List<java.lang.String>
typeParameters
-
Constructor Summary
Constructors Constructor Description ParameterAnnotationContent(java.lang.String fieldName, java.lang.String alias, java.lang.String property, java.lang.String defaultValue, boolean required, boolean readonly, java.lang.String className, java.util.List<java.lang.String> typeParameters, boolean annotationOnMethod)
ParameterAnnotationContent(java.lang.String fieldName, java.lang.String className, java.util.List<java.lang.String> typeParameters, boolean annotationOnMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
alias()
void
alias(java.lang.String alias)
java.lang.Class<? extends java.lang.annotation.Annotation>
annotationType()
java.lang.String
defaultValue()
void
defaultValue(java.lang.String defaultValue)
boolean
equals(java.lang.Object o)
java.lang.String
getClassName()
java.util.List<java.lang.String>
getTypeParameters()
int
hashCode()
boolean
isAnnotationOnMethod()
java.lang.String
name()
void
name(java.lang.String name)
java.lang.String
property()
void
property(java.lang.String property)
boolean
readonly()
void
readonly(boolean readonly)
boolean
required()
void
required(boolean required)
void
setClassName(java.lang.String className)
java.lang.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
-
-
-
-
Field Detail
-
name
private java.lang.String name
-
alias
private java.lang.String alias
-
property
private java.lang.String property
-
defaultValue
private java.lang.String defaultValue
-
required
private boolean required
-
readonly
private boolean readonly
-
className
private java.lang.String className
-
annotationOnMethod
private boolean annotationOnMethod
-
typeParameters
private final java.util.List<java.lang.String> typeParameters
-
-
Constructor Detail
-
ParameterAnnotationContent
public ParameterAnnotationContent(java.lang.String fieldName, java.lang.String className, java.util.List<java.lang.String> typeParameters, boolean annotationOnMethod)
-
ParameterAnnotationContent
public ParameterAnnotationContent(java.lang.String fieldName, java.lang.String alias, java.lang.String property, java.lang.String defaultValue, boolean required, boolean readonly, java.lang.String className, java.util.List<java.lang.String> typeParameters, boolean annotationOnMethod)
-
-
Method Detail
-
name
public java.lang.String name()
-
name
public void name(java.lang.String name)
-
alias
public java.lang.String alias()
-
alias
public void alias(java.lang.String alias)
-
property
public java.lang.String property()
-
property
public void property(java.lang.String property)
-
defaultValue
public java.lang.String defaultValue()
-
defaultValue
public void defaultValue(java.lang.String defaultValue)
-
required
public boolean required()
-
required
public void required(boolean required)
-
readonly
public boolean readonly()
-
readonly
public void readonly(boolean readonly)
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interfacejava.lang.annotation.Annotation
-
getClassName
public java.lang.String getClassName()
-
setClassName
public void setClassName(java.lang.String className)
-
getTypeParameters
public java.util.List<java.lang.String> getTypeParameters()
-
isAnnotationOnMethod
public boolean isAnnotationOnMethod()
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.annotation.Annotation
- Overrides:
toString
in classAnnotatedField
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.lang.annotation.Annotation
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.lang.annotation.Annotation
- Overrides:
hashCode
in classjava.lang.Object
-
-