Annotation Type PropertyValue


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

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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Obtains the value of the property.
      java.lang.Class<?> valueClass
      Obtains the value as a Class.
    • Element Detail

      • name

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

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

        java.lang.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