public class SimpleReportingExportable extends java.lang.Object implements ReportingExportable
Constructor and Description |
---|
SimpleReportingExportable(java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ReportingExportable s)
compares the 2 object if they are Comparable. if not, the toString-represantations are compared
|
boolean |
equals(ReportingExportable o) |
java.lang.String |
getColumnRenderer()
Defines Columnrenderer which implements the render function (used in ep 9.0)
|
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 either an implementation of
Component or a String |
java.lang.Object |
toJson()
Export Data to Json (used in ep 9.0)
|
java.lang.String |
toText()
returns the toString() of the value
|
public SimpleReportingExportable(java.lang.Object data)
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 StringtoHtml
in interface ReportingExportable
public boolean equals(ReportingExportable o)
public java.lang.String getColumnRenderer()
ReportingExportable
getColumnRenderer
in interface ReportingExportable
public java.lang.Object toJson() throws org.json.JSONException
ReportingExportable
toJson
in interface ReportingExportable
org.json.JSONException
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.