Annotation Interface Property


@Retention(RUNTIME) @Target(METHOD) public @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 using OperatorFactory.getInstance().getVariation(value)
  • Mutation - same as Variation except only supports one parent
If the type is boolean, then the getter can alternatively be named isFoo.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    One or more alternate names used by this property.
    The name of this property.
  • Element Details

    • value

      String value
      The 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 the Prefix annotation.
      Returns:
      the name of this property
      Default:
      ""
    • alias

      String[] alias
      One or more alternate names used by this property.
      Returns:
      the alternate names for this property
      Default:
      {}