|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.reporting.data.SimpleReportingExportable
public class SimpleReportingExportable
ReportinExportable for non DB-data Objects. Can handle any Object.
Constructor Summary | |
---|---|
SimpleReportingExportable(java.lang.Object data)
|
Method Summary | |
---|---|
int |
compareTo(ReportingExportable s)
compares the 2 object if they are Comparable. |
boolean |
equals(ReportingExportable o)
|
java.lang.Object |
getValue()
returns the Value |
void |
setValue(java.lang.Object o)
Sets the value for this object |
java.lang.Object |
toHtml()
return type is eighter a implementation of Component or a String |
java.lang.String |
toText()
returns the toString() of the value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleReportingExportable(java.lang.Object data)
Method Detail |
---|
public java.lang.Object getValue()
getValue
in interface ReportingExportable
public void setValue(java.lang.Object o)
ReportingExportable
setValue
in interface ReportingExportable
o
- - the value objectpublic java.lang.String toText()
toText
in interface ReportingExportable
public int compareTo(ReportingExportable s)
compareTo
in interface ReportingExportable
compareTo
in interface java.lang.Comparable<ReportingExportable>
s
-
Comparable.compareTo(Object)
public java.lang.Object toHtml()
ReportingExportable
Component
or a String
toHtml
in interface ReportingExportable
public boolean equals(ReportingExportable o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |