Class InventoryReport

  • Direct Known Subclasses:
    HTMLReport, RawReport

    public abstract class InventoryReport
    extends Object
    All report types must inherit from this abstract class. It describes the general behavior of a report. Do not mistake this class for ReportMetadata: Instances of this class represent the reports after being generated, while ReportMetadata represents the meta information about the report, that is its name, its logic (script), what it applies to, etc.
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Field Detail

      • title

        protected String title
        Report title.
      • author

        protected String author
        Author of the script.
      • version

        protected String version
        Version of the report.
    • Constructor Detail

      • InventoryReport

        public InventoryReport​(String title,
                               String author,
                               String version)
    • Method Detail

      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getAuthor

        public String getAuthor()
      • setAuthor

        public void setAuthor​(String author)
      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • asByteArray

        public abstract byte[] asByteArray()
        Returns the result of the report as a by array
        Returns: