|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.adhocreport.ReportColumn
This class is a wrapper for the columns contained in ad hoc report template. These are the columns in the SELECT clause of the report SQL query.
Constructor Summary | |
ReportColumn()
|
|
ReportColumn(org.w3c.dom.Node node)
This is a constructor that populates the member variables after parsing the XML string passed as an argument. |
Method Summary | |
int |
compareTo(java.lang.Object obj)
This method will compare the values of 2 ReportColumn objects. |
int |
getId()
This method returns the Column ID. |
java.lang.String |
getName()
This method returns the name of the report column. |
int |
getSortOrder()
This method gets the sort order of the report column. |
java.lang.String |
getSortType()
This method gets the sort type of the report column. |
java.lang.String |
getSource()
This method returns the source for the report column. |
int |
getWidth()
This method returns the width of the report column. |
org.w3c.dom.Document |
getXML()
This method returns the columns in XML format. |
void |
setAll(int id,
java.lang.String entityName,
java.lang.String attributeName,
java.lang.String reportSource,
java.lang.String functionName,
int sortOrder,
java.lang.String sortType,
int width)
Creates the ReportColumn object |
void |
setAll(java.lang.String name,
int id,
int sortOrder,
java.lang.String sortType,
int width,
java.lang.String source)
Sets the values for member variables |
void |
setId(int id)
This method sets the Column ID. |
void |
setName(java.lang.String name)
This method sets the name of the report column. |
void |
setSortOrder(int order)
This method sets the sort order of the report column. |
void |
setSortType(java.lang.String type)
This method sets the sort type of the report column. |
void |
setSource(java.lang.String source)
This method sets the source for the report column. |
void |
setWidth(int width)
This method sets the width of the report column. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportColumn()
public ReportColumn(org.w3c.dom.Node node)
xml
- - This is an XML string containing the report columns.Method Detail |
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public void setAll(java.lang.String name, int id, int sortOrder, java.lang.String sortType, int width, java.lang.String source) throws InvalidReportColumnException
name
- Display name of the column eg Person.Full Nameid
- sortOrder
- sortType
- width
- source
- The actual source of the report column eg Person.cnInvalidReportColumnException
- public void setId(int id) throws InvalidReportColumnException
id
- - This is the value for the Column ID.InvalidReportColumnException
- public int getId()
public void setSortOrder(int order) throws InvalidReportColumnException
order
- - This value indicates the sort order of the column.public int getSortOrder()
public void setSortType(java.lang.String type) throws InvalidReportColumnException
order
- - This value indicates the sort type of the column.public java.lang.String getSortType()
public void setWidth(int width) throws InvalidReportColumnException
width
- - This value specifies the width of the report column.public int getWidth()
public void setName(java.lang.String name) throws InvalidReportColumnException
name
- - This is the name of the report column.public java.lang.String getName()
public org.w3c.dom.Document getXML() throws javax.xml.parsers.ParserConfigurationException
public java.lang.String getSource()
public void setSource(java.lang.String source) throws InvalidReportColumnException
source
- - This specifies the source for the report column.public void setAll(int id, java.lang.String entityName, java.lang.String attributeName, java.lang.String reportSource, java.lang.String functionName, int sortOrder, java.lang.String sortType, int width) throws InvalidReportColumnException
id
- entityName
- attributeName
- functionName
- sortOrder
- sortType
- width
- InvalidReportColumnException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |