Annotation Interface ElementDefaultAttribute


@Target(FIELD) @Retention(RUNTIME) public @interface ElementDefaultAttribute
Annotates a static final non-null field. When loading an Element, the ElementLoader scans for all fields bearing this annotation and will assign the value of this annotation to the default value to populate the Attributes of the Element at load time. The value of the static field is to be the name of the attribute. This makes it such that the static constant may be used to retrieve the value from Attributes and the default value will
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The default value of the configuration value.
  • Element Details

    • value

      String value
      The default value of the configuration value.
      Returns:
      the default value