Annotation Interface FieldMetadata
This annotation should be attached to getter method which is called from Velocity or Freemarker Otherwise it will
have no effect
- Author:
- rcusnir
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturns the description of the field.Returns the image name if field must use mapping name with image and empty otherwise.Returns the syntax kind to use for the field and empty otherwise.booleanReturns true if field which used syntax kind can have template syntax and false otherwise.
-
Element Details
-
syntaxKind
String syntaxKindReturns the syntax kind to use for the field and empty otherwise.- Returns:
- the syntax kind to use for the field and empty otherwise.
- Default:
- ""
-
syntaxWithDirective
boolean syntaxWithDirectiveReturns true if field which used syntax kind can have template syntax and false otherwise.- Returns:
- true if field which used syntax kind can have template syntax and false otherwise.
- Default:
- false
-
description
String descriptionReturns the description of the field.- Returns:
- the description of the field.
- Default:
- ""
-
images
ImageMetadata[] imagesReturns the image name if field must use mapping name with image and empty otherwise.- Returns:
- the image name if field must use mapping name with image and empty otherwise.
- Default:
- {}
-