|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.datasource.ReadOnlyBinding | +--com.klg.jclass.datasource.Binding | +--com.klg.jclass.datasource.jdbc.JDBCBinding
A single level.
Nested Class Summary |
Nested classes inherited from class com.klg.jclass.datasource.Binding |
Binding.EventListener |
Field Summary |
Fields inherited from class com.klg.jclass.datasource.Binding |
eventListener |
Fields inherited from class com.klg.jclass.datasource.ReadOnlyBinding |
dataBinding, dataModel, listeners, metaDataModel, parent |
Constructor Summary | |
|
JDBCBinding(com.klg.jclass.datasource.DataModel dataModel)
Constructor. |
|
JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection,
String query)
Root-level constructor. |
protected |
JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection,
String query,
com.klg.jclass.datasource.Binding parent)
|
|
JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection,
String query,
com.klg.jclass.datasource.Binding parent,
String[] joinColumns)
Constructor for child levels. |
|
JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection,
String query,
com.klg.jclass.datasource.Binding parent,
String[][] joinColumns)
Constructor for child levels. |
Method Summary | |
void |
addJoinColumn(String childColumn,
String parentColumn)
Add a join column to the list of columns joining this level to its parent. |
String |
getQuery()
Get the query for this level. |
void |
open()
Open the level. |
void |
setDataModel(com.klg.jclass.datasource.DataModel dataModel)
Set the data model for this level. |
Methods inherited from class com.klg.jclass.datasource.Binding |
addRow, cancelAll, cancelCurrentRowChanges, cancelRowChanges, commitAll, commitCurrentRow, commitRow, deleteCurrentRow, deleteRow, deleteRows, getCurrentRowStatus, getRowStatus, isColumnEditable, isColumnEditable, isCurrentRowModified, isRowModified, moveToBestRowAfterDelete, requeryLevel, setCell, setCurrentCell |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCBinding(com.klg.jclass.datasource.DataModel dataModel)
public JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection, String query) throws DataModelException
connection
- the DataTableConnection to a data source.query
- the String query to be used to retrieve data for this level.public JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection, String query, com.klg.jclass.datasource.Binding parent, String[] joinColumns) throws DataModelException
connection
- the DataTableConnection to a data source.query
- the String query to be used to retrieve data for this level.parent
- the Binding which is the parent of this level.public JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection, String query, com.klg.jclass.datasource.Binding parent, String[][] joinColumns) throws DataModelException
connection
- the DataTableConnection to a data source.query
- the String query to be used to retrieve data for this level.parent
- the Binding which is the parent of this level.protected JDBCBinding(com.klg.jclass.datasource.jdbc.DataTableConnection connection, String query, com.klg.jclass.datasource.Binding parent) throws DataModelException
Method Detail |
public String getQuery()
public void setDataModel(com.klg.jclass.datasource.DataModel dataModel)
setDataModel
in interface ReadOnlyBindingModel
setDataModel
in class ReadOnlyBinding
dataModel
- the data model for this level.public void addJoinColumn(String childColumn, String parentColumn)
childColumn
- the name of the column in this level.parentColumn
- the name of corresponding column in the parent.public void open() throws DataModelException
DataModelException
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |