Annotation Interface Property
Annotation added to setter methods that identify auto-configurable properties. The methods must follow
JavaBean conventions. For a property named
foo
, then we expected to see the methods:
public void setFoo(T value) { ... } public T getFoo() { ... }The following types are supported:
- Any Java primitive type (int, double, boolean, etc.)
String
- Any enumeration - the properties are automatically converted to strings
Variation
- the instance is created usingOperatorFactory.getInstance().getVariation(value)
Mutation
- same asVariation
except only supports one parent
boolean
, then the getter can alternatively be named isFoo
.-
Optional Element Summary
-
Element Details
-
value
String valueThe name of this property. If unset, the name is derived from the method name. To help disambiguate property names, especially for variation operators, consider adding thePrefix
annotation.- Returns:
- the name of this property
- Default:
- ""
-
alias
String[] aliasOne or more alternate names used by this property.- Returns:
- the alternate names for this property
- Default:
- {}
-