Class FieldMetadata

java.lang.Object
fr.opensagres.xdocreport.template.formatter.FieldMetadata

public class FieldMetadata extends Object
Field metadata.
  • Constructor Details

    • FieldMetadata

      public FieldMetadata(FieldsMetadata fieldsMetadata, String fieldName, boolean listType, String imageName, String syntaxKind, boolean syntaxWithDirective)
  • Method Details

    • getFieldName

      public String getFieldName()
      Returns the field name.
      Returns:
    • getImageName

      public String getImageName()
      Returns the image name.
      Returns:
    • isListType

      public boolean isListType()
      Returns true if field is list type and false otherwise.
      Returns:
    • setListType

      public void setListType(boolean listType)
      Set true if field is list type and false otherwise.
      Parameters:
      listType -
    • isImageType

      public boolean isImageType()
      Returns true if field is image type and false otherwise.
      Returns:
    • setImageName

      public void setImageName(String imageName)
      Set image name.
      Parameters:
      imageName -
    • getSyntaxKind

      public String getSyntaxKind()
    • isSyntaxWithDirective

      public boolean isSyntaxWithDirective()
    • setSyntaxKind

      public void setSyntaxKind(String syntaxKind)
    • setSyntaxWithDirective

      public void setSyntaxWithDirective(boolean syntaxWithDirective)
    • setDescription

      public void setDescription(String description)
    • getDescription

      public String getDescription()
    • getBehaviour

      public NullImageBehaviour getBehaviour()
      Returns the "field" behavior to use when the stream of the image is null.
      Returns:
    • setBehaviour

      public void setBehaviour(NullImageBehaviour behaviour)
      Set the "field" behaviour to use when the stream of the image is null.
      Parameters:
      behaviour -
    • isUseImageSize

      public boolean isUseImageSize()
    • setUseImageSize

      public void setUseImageSize(boolean useImageSize)