public class GeneratedAnnotation extends Object
Modifier and Type | Field and Description |
---|---|
protected MetaType |
type |
static String |
VALUE |
protected Map<String,Format> |
values |
Constructor and Description |
---|
GeneratedAnnotation(Class type) |
GeneratedAnnotation(Class type,
Format value) |
GeneratedAnnotation(Class type,
Formattable value) |
GeneratedAnnotation(MetaType type) |
GeneratedAnnotation(MetaType type,
Format value) |
GeneratedAnnotation(MetaType type,
Formattable value) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
Format value) |
void |
addValue(String key,
Formattable value) |
static Format |
annotationFormat(Format type) |
static Format |
annotationFormat(Format type,
Collection<Map.Entry<String,Format>> values) |
static Format |
annotationFormat(Format type,
Format value) |
static Format |
annotationFormat(Format type,
Map<String,Format> values) |
void |
clearValues() |
MetaType |
getType() |
Format |
getValue() |
Map<String,Format> |
getValues() |
boolean |
isComplex() |
boolean |
isMarker() |
boolean |
isSimple() |
void |
setValue(Format value) |
void |
setValue(Formattable value) |
Format |
toFormat() |
protected MetaType type
public static final String VALUE
public GeneratedAnnotation(MetaType type)
public GeneratedAnnotation(MetaType type, Formattable value)
public GeneratedAnnotation(Class type)
public GeneratedAnnotation(Class type, Formattable value)
public MetaType getType()
public void setValue(Format value)
public void setValue(Formattable value)
public void clearValues()
public void addValue(String key, Formattable value)
public Format getValue()
public boolean isMarker()
public boolean isSimple()
public boolean isComplex()
public Format toFormat()
see also the complete user documentation .