Class ReportProfile.ReportDataStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uaf.report.ReportProfile.ReportDataStereotype
Enclosing class:
ReportProfile

public static class ReportProfile.ReportDataStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • AUTOIMAGESIZE

      public static final String AUTOIMAGESIZE
      Specifies a size of images in report. Auto image size value is a value from AutoImageSize enumeration type
      See Also:
    • DATA

      public static final String DATA
      Specifies packages or elements scope to generate report.
      See Also:
    • EMPTYTEXT

      public static final String EMPTYTEXT
      Specifies a value to be inserted when data contains nothing. If value is empty, it will print nothing on report.
      See Also:
    • GENERATERECURSIVELY

      public static final String GENERATERECURSIVELY
      See Also:
    • IMAGEFORMAT

      public static final String IMAGEFORMAT
      Specifies an image format for all the images in report. A image format value is a value from ImageFormat enumeration type.
      See Also:
    • TEMPLATE

      public static final String TEMPLATE
      A report template name. A template name can be [template name] or [category name]/[template name]. If [template name] is used, it will return the first occurrence of template which name matches to specified name
      See Also:
  • Constructor Details

    • ReportDataStereotype

      protected ReportDataStereotype(ReportProfile profile)
  • Method Details

    • isInstance

      public static boolean isInstance(@CheckForNull Element element)
    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getAutoImageSizeProperty

      @CheckForNull public Property getAutoImageSizeProperty()
    • getDataProperty

      @CheckForNull public Property getDataProperty()
    • getEmptyTextProperty

      @CheckForNull public Property getEmptyTextProperty()
    • getGenerateRecursivelyProperty

      @CheckForNull public Property getGenerateRecursivelyProperty()
    • getImageFormatProperty

      @CheckForNull public Property getImageFormatProperty()
    • getTemplateProperty

      @CheckForNull public Property getTemplateProperty()
    • setAutoImageSize

      public void setAutoImageSize(Element element, @CheckForNull ReportProfile.AutoImageSizeEnum value)
    • clearAutoImageSize

      public void clearAutoImageSize(Element element)
    • getAutoImageSize

      @CheckForNull public ReportProfile.AutoImageSizeEnum getAutoImageSize(Element element)
    • setData

      public void setData(Element element, @CheckForNull Collection<? extends Element> value)
    • clearData

      public void clearData(Element element)
    • addData

      public void addData(Element element, Element value)
    • removeData

      public void removeData(Element element, Element value)
    • getData

      public List<Element> getData(Element element)
    • setEmptyText

      public void setEmptyText(Element element, @CheckForNull String value)
    • clearEmptyText

      public void clearEmptyText(Element element)
    • getEmptyText

      @CheckForNull public String getEmptyText(Element element)
    • setGenerateRecursively

      public void setGenerateRecursively(Element element, @CheckForNull Boolean value)
    • clearGenerateRecursively

      public void clearGenerateRecursively(Element element)
    • isGenerateRecursively

      @CheckForNull public Boolean isGenerateRecursively(Element element)
    • setImageFormat

      public void setImageFormat(Element element, @CheckForNull ReportProfile.ImageFormatEnum value)
    • clearImageFormat

      public void clearImageFormat(Element element)
    • getImageFormat

      @CheckForNull public ReportProfile.ImageFormatEnum getImageFormat(Element element)
    • setTemplate

      public void setTemplate(Element element, @CheckForNull String value)
    • clearTemplate

      public void clearTemplate(Element element)
    • getTemplate

      @CheckForNull public String getTemplate(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)