public class ReportImportInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReportImportInfo() |
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.
|
public java.lang.String getAppName()
public void setAppName(java.lang.String appName)
appName
- public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public byte[] getResources()
public void setResources(byte[] resources)
resources
- public byte[] getXmlReportData()
public void setXmlReportData(byte[] xmlReportData)
xmlReportData
- public boolean isLibrary()
public void setLibrary(boolean library)
library
- true, if library, otherwise false.public void setAttribute(java.lang.String attributeName, java.lang.String attributeValue)
attributeName
- attributeValue
- public java.lang.String getAttribute(java.lang.String attributeName)
attributeName
- public void removeAttribute(java.lang.String attributeName)
attributeName
- public java.util.Iterator getAttributes()
public boolean isImportResourcesEnabled()
public void setImportResourcesEnabled(boolean importResourcesEnabled)
importResourcesEnabled
- public void setParameter(java.lang.String parameterName, ReportImportParamInfo paramInfo)
parameterName
- paramInfo
- public ReportImportParamInfo getParameter(java.lang.String parameterName)
attributeName
- public void removeParameter(java.lang.String parameterName)
attributeName
- public java.util.Iterator getParameters()