Annotation Interface FFXProperty


@Retention(RUNTIME) @Documented @Target({TYPE,FIELD}) @Repeatable(FFXProperties.class) public @interface FFXProperty
The FFXProperty Annotation should be used to document fields that are set using property files, keyword files, force field parameter files and the Java property system.
Author:
Michael J. Schnieders
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    A description of this FFXProperty.
    The name of this FFXProperty.
    The Property Group this FFXKeyword belongs to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The Class used to represent the value of this FFXProperty.
    The default value for this FFXProperty.
  • Element Details

    • name

      String name
      The name of this FFXProperty.
      Returns:
      The name of this FFXProperty.
    • clazz

      Class<?> clazz
      The Class used to represent the value of this FFXProperty.

      The default is an instance of Double, which may be stored as a primitive double.

      Returns:
      The Class used to represent this FFXProperty.
      Default:
      java.lang.Double.class
    • propertyGroup

      PropertyGroup propertyGroup
      The Property Group this FFXKeyword belongs to.
      Returns:
      The property group for this FFXProperty.
    • defaultValue

      String defaultValue
      The default value for this FFXProperty. If there is no default value, then the field is an empty String.
      Returns:
      The default value of this Property.
      Default:
      ""
    • description

      String description
      A description of this FFXProperty.
      Returns:
      The description.