Interface AnnotationAttributeConfiguration
- All Known Implementing Classes:
AnnotationAttributeConfigurationImpl
public interface AnnotationAttributeConfiguration
- Since:
- 4.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe set of allowed values.The default value (optional)booleanisAllowed(AnnotationElement.Value value) booleanmultiple()Is it a single value or an array of values?name()The name of the annotation element (required).The optional package nametype()The type.
-
Method Details
-
name
String name()The name of the annotation element (required). -
packageName
String packageName()The optional package name -
type
The type. Defaults to String if not explicitly set. -
multiple
boolean multiple()Is it a single value or an array of values? -
defaultValue
Object defaultValue()The default value (optional) -
allowedValues
The set of allowed values. This is only used with STRING, IDENTIFIER, or ANNOTATION type. ANNOTATION type must have a single allowed value. -
isAllowed
-