com.ibm.tivoli.maximo.report.birt.admin

Class ReportImportInfo

  • java.lang.Object
    • com.ibm.tivoli.maximo.report.birt.admin.ReportImportInfo
  • All Implemented Interfaces:
    java.io.Serializable


    public class ReportImportInfo
    extends java.lang.Object
    implements java.io.Serializable
    A class used for representing all the information required/needed to import a BIRT report into MAXIMO database.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ReportImportInfo() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAppName()
      Returns the MAXIMO Application name that this report is used in.
      java.lang.String getAttribute(java.lang.String attributeName)
      Returns the attribute value
      java.util.Iterator getAttributes()
      Returns an iterator to iterate over attribute names.
      java.lang.String getFileName()
      Returns the file name (usually same as the report name) of the report.
      java.lang.String getName()
      Returns name of the report.
      ReportImportParamInfo getParameter(java.lang.String parameterName)
      Returns the parameter value
      java.util.Iterator getParameters()
      Returns an iterator to iterate over parameter names.
      byte[] getResources()
      Returns the ZIP contents of the resources to be included for the report.
      byte[] getXmlReportData()
      Returns the actual report design file (XML) contents.
      boolean isImportResourcesEnabled()
      Returns whether to import resources or not.
      boolean isLibrary()
      Returns whether the report is a libray or not.
      void removeAttribute(java.lang.String attributeName)
      Removes the attribute and it's value.
      void removeParameter(java.lang.String parameterName)
      Removes the parameter and it's info.
      void setAppName(java.lang.String appName)
      Sets the MAXIMO Application name that this report is used in.
      void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
      Sets attribute value
      void setFileName(java.lang.String fileName)
      Sets the file name (usually same as the report name) of the report.
      void setImportResourcesEnabled(boolean importResourcesEnabled)
      Sets a flag to indicate whether to import resources or not.
      void setLibrary(boolean library)
      Sets whether the report is a libray or not.
      void setName(java.lang.String name)
      Sets the report name.
      void setParameter(java.lang.String parameterName, ReportImportParamInfo paramInfo)
      Sets parameter information
      void setResources(byte[] resources)
      Sets the ZIP contents of the resources to be included for the report.
      void setXmlReportData(byte[] xmlReportData)
      Sets the actual report design file (XML) contents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportImportInfo

        public ReportImportInfo()
    • Method Detail

      • getAppName

        public java.lang.String getAppName()
        Returns the MAXIMO Application name that this report is used in.
        Returns:
        application name
      • setAppName

        public void setAppName(java.lang.String appName)
        Sets the MAXIMO Application name that this report is used in.
        Parameters:
        appName -
      • getFileName

        public java.lang.String getFileName()
        Returns the file name (usually same as the report name) of the report.
        Returns:
        report file name
      • setFileName

        public void setFileName(java.lang.String fileName)
        Sets the file name (usually same as the report name) of the report.
        Parameters:
        fileName -
      • getName

        public java.lang.String getName()
        Returns name of the report.
        Returns:
        report name
      • setName

        public void setName(java.lang.String name)
        Sets the report name.
        Parameters:
        name -
      • getResources

        public byte[] getResources()
        Returns the ZIP contents of the resources to be included for the report.
        Returns:
        report resources in ZIP format
      • setResources

        public void setResources(byte[] resources)
        Sets the ZIP contents of the resources to be included for the report.
        Parameters:
        resources -
      • getXmlReportData

        public byte[] getXmlReportData()
        Returns the actual report design file (XML) contents.
        Returns:
        report design file (XML) contents.
      • setXmlReportData

        public void setXmlReportData(byte[] xmlReportData)
        Sets the actual report design file (XML) contents.
        Parameters:
        xmlReportData -
      • isLibrary

        public boolean isLibrary()
        Returns whether the report is a libray or not.
        Returns:
        true, if library, otherwise false.
      • setLibrary

        public void setLibrary(boolean library)
        Sets whether the report is a libray or not.
        Parameters:
        library - true, if library, otherwise false.
      • setAttribute

        public void setAttribute(java.lang.String attributeName,
                                 java.lang.String attributeValue)
        Sets attribute value
        Parameters:
        attributeName -
        attributeValue -
      • getAttribute

        public java.lang.String getAttribute(java.lang.String attributeName)
        Returns the attribute value
        Parameters:
        attributeName -
        Returns:
      • removeAttribute

        public void removeAttribute(java.lang.String attributeName)
        Removes the attribute and it's value.
        Parameters:
        attributeName -
      • getAttributes

        public java.util.Iterator getAttributes()
        Returns an iterator to iterate over attribute names.
        Returns:
      • isImportResourcesEnabled

        public boolean isImportResourcesEnabled()
        Returns whether to import resources or not.
        Returns:
        true, if resources need to be imported, otherwise false.
      • setImportResourcesEnabled

        public void setImportResourcesEnabled(boolean importResourcesEnabled)
        Sets a flag to indicate whether to import resources or not.
        Parameters:
        importResourcesEnabled -
      • setParameter

        public void setParameter(java.lang.String parameterName,
                                 ReportImportParamInfo paramInfo)
        Sets parameter information
        Parameters:
        parameterName -
        paramInfo -
      • getParameter

        public ReportImportParamInfo getParameter(java.lang.String parameterName)
        Returns the parameter value
        Parameters:
        attributeName -
        Returns:
      • removeParameter

        public void removeParameter(java.lang.String parameterName)
        Removes the parameter and it's info.
        Parameters:
        attributeName -
      • getParameters

        public java.util.Iterator getParameters()
        Returns an iterator to iterate over parameter names.
        Returns: