Package com.groiss.reporting.data
Class SimpleReportingExportable
java.lang.Object
com.groiss.reporting.export.AbstractReportingExportable
com.groiss.reporting.data.SimpleReportingExportable
- All Implemented Interfaces:
ReportingExportable
,Comparable<ReportingExportable>
ReportinExportable for non DB-data Objects. Can handle any Object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compares the 2 object if they are Comparable. if not, the toString-represantations are comparedDefines Columnrenderer which implements the render function (used in ep 9.0)getValue()
void
Sets the value for this objecttoJson()
Export Data to Json (used in ep 9.0)toText()
returns the toString() of the valueMethods inherited from class com.groiss.reporting.export.AbstractReportingExportable
getSortText
-
Constructor Details
-
SimpleReportingExportable
-
-
Method Details
-
getValue
- Returns:
- the value of this object
-
setValue
Description copied from interface:ReportingExportable
Sets the value for this object- Parameters:
o
- - the value object
-
toText
returns the toString() of the value- Returns:
- the String representation of this Object
-
compareTo
compares the 2 object if they are Comparable. if not, the toString-represantations are compared- Parameters:
s
-- Returns:
- see
Comparable.compareTo(Object)
-
getColumnRenderer
Description copied from interface:ReportingExportable
Defines Columnrenderer which implements the render function (used in ep 9.0)- Returns:
- the dojo-module
-
toJson
Description copied from interface:ReportingExportable
Export Data to Json (used in ep 9.0)- Returns:
- the data
-