public class AnnotationValueInfo extends Object implements Serializable
The field value can hold other javax.lang.model.element.* classes. See: at.rseiler.spbee.core.generator.DtoGenerator.DtoClassGeneratorInstance#addAnnotationParam(com.sun.codemodel.JAnnotationUse, AnnotationValueInfo) and at.rseiler.spbee.core.generator.DtoGenerator.DtoClassGeneratorInstance#addAnnotationArrayMemberParam(com.sun.codemodel.JAnnotationArrayMember, AnnotationValueInfo)
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationValueInfo.Kind |
| Constructor and Description |
|---|
AnnotationValueInfo(String name,
Object value,
String type,
AnnotationValueInfo.Kind kind)
Constructs a new AnnotationValueInfo.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationValueInfo.Kind |
getKind() |
String |
getName()
Returns the name of the annotation parameter.
|
String |
getType() |
Object |
getValue()
Returns the value of the parameter.
|
String |
toString() |
public AnnotationValueInfo(String name, Object value, String type, AnnotationValueInfo.Kind kind)
name - the name of the annotation parametervalue - the value of the annotation parametertype - the type of the annotation parameterkind - the kind of the annotation parameterpublic String getName()
public Object getValue()
public String getType()
public AnnotationValueInfo.Kind getKind()
Copyright © 2015. All rights reserved.