|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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(java.lang.Object o)
compares the 2 object if they are Comparable. if not, the toString-represantations are compared |
java.lang.Object |
getValue()
returns the Value |
java.lang.String |
toString()
|
java.lang.String |
toText()
returns the toString() of the value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleReportingExportable(java.lang.Object data)
| Method Detail |
|---|
public java.lang.Object getValue()
getValue in interface ReportingExportablepublic java.lang.String toText()
toText in interface ReportingExportablepublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo -
public java.lang.String toString()
toString in interface ReportingExportabletoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||