|
|||||||||
| 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(Object data)
|
|
| Method Summary | |
|---|---|
int |
compareTo(ReportingExportable s)
compares the 2 object if they are Comparable. if not, the toString-represantations are compared |
boolean |
equals(ReportingExportable o)
|
Object |
getValue()
returns the Value |
void |
setValue(Object o)
Sets the value for this object |
Object |
toHtml()
return type is eighter a implementation of Component or a String |
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(Object data)
| Method Detail |
|---|
public Object getValue()
getValue in interface ReportingExportablepublic void setValue(Object o)
ReportingExportable
setValue in interface ReportingExportableo - - the value objectpublic String toText()
toText in interface ReportingExportablepublic int compareTo(ReportingExportable s)
compareTo in interface ReportingExportablecompareTo in interface Comparable<ReportingExportable>s -
Comparable.compareTo(Object)public Object toHtml()
ReportingExportableComponent or a String
toHtml in interface ReportingExportablepublic boolean equals(ReportingExportable o)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||