|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Selectable
The Selectable interface represents things that can be
selected, grouped, and sorted. This includes data columns and user
columns.
Group,
Query,
DataSource| Method Summary | |
|---|---|
java.lang.String |
fieldTypeString()
Returns the string used to create a field of the appropriate type. |
java.lang.String |
getDisplayName()
|
java.lang.Object |
getId()
Returns the id of the selectable object. |
java.lang.String |
getSelectString(SQLQuery q)
Returns the string used by a SQL query to select this object. |
java.lang.String |
getSortString(SQLQuery q)
Returns the string used as the name/value of this selectable in a SQL ORDER BY clause. |
Table |
getTable()
Returns the table to which this selectable belongs; may be null. |
java.lang.Object |
getValue(Report r)
Returns the current value. |
Selectable |
reloadInstance(DataSource dataSource)
Returns a (possibly new) instance of this selectable object. |
| Method Detail |
|---|
java.lang.Object getId()
java.lang.Object getValue(Report r)
r - a report
java.lang.String getSelectString(SQLQuery q)
java.lang.String getSortString(SQLQuery q)
getSelectString.
getSelectString(jimm.datavision.source.sql.SQLQuery)Table getTable()
null.
nulljava.lang.String fieldTypeString()
Field.createField.create(java.lang.Long, jimm.datavision.Report, jimm.datavision.Section, java.lang.String, java.lang.Object, boolean)Selectable reloadInstance(DataSource dataSource)
java.lang.String getDisplayName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||