Annotation Type Property


@Retention(RUNTIME)
@Target(METHOD)
public @interface Property
Property annotations are for getter and setters to manipulate the property value of an Element. They can also be used on methods intended to remove the property all together.
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String value
    The name of the property.
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    Property.Operation operation
    The operation the method is performing on the property.
  • Element Details

    • value

      String value
      The name of the property.
      Returns:
      The property's name
    • operation

      The operation the method is performing on the property.
      Returns:
      The operation to be performed.
      Default:
      com.syncleus.ferma.annotations.Property.Operation.AUTO