Annotation Interface PropertyValue


public @interface PropertyValue
Property annotation.
Author:
Daniel Sagenschneider
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Obtains the name of the property.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Obtains the value of the property.
    Obtains the value as a Class.
  • Element Details

    • name

      String name
      Obtains the name of the property.
      Returns:
      Name of the property.
    • value

      String value
      Obtains the value of the property.
      Returns:
      Value of the property.
      Default:
      ""
    • valueClass

      Class<?> valueClass

      Obtains the value as a Class.

      This simplifies configuring fully qualified class names as the property value.

      Returns:
      Value as a Class.
      Default:
      java.lang.Void.class