|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hardcode.gdbms.engine.data.DataSourceCommonImpl
public class DataSourceCommonImpl
Field Summary | |
---|---|
protected DataSourceFactory |
dsf
|
Constructor Summary | |
---|---|
DataSourceCommonImpl(DataSource ds,
java.lang.String name,
java.lang.String alias)
|
Method Summary | |
---|---|
void |
addSelectionListener(SelectionListener listener)
|
boolean |
canRedo()
|
boolean |
canUndo()
|
java.lang.String |
getAlias()
|
java.lang.String |
getAsString()
gets a string representation of this datasource |
DataSourceFactory |
getDataSourceFactory()
|
java.lang.String[] |
getFieldNames()
|
Memento |
getMemento()
|
java.lang.String |
getName()
|
Value[] |
getRow(long rowIndex)
|
int[] |
getSelection()
Gets the row selection |
long[] |
getWhereFilter()
DOCUMENT ME! |
void |
redo()
Redoes the last undone edition action |
void |
remove()
|
void |
removeSelectionListener(SelectionListener listener)
|
void |
setAlias(java.lang.String alias)
|
void |
setDataSourceFactory(DataSourceFactory dsf)
|
void |
setName(java.lang.String name)
|
void |
setSelection(int[] sel)
Sets the row selection |
void |
undo()
Undoes the last edition action |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DataSourceFactory dsf
Constructor Detail |
---|
public DataSourceCommonImpl(DataSource ds, java.lang.String name, java.lang.String alias)
Method Detail |
---|
public java.lang.String getAlias()
public java.lang.String getName()
public void setAlias(java.lang.String alias)
public void setName(java.lang.String name)
public DataSourceFactory getDataSourceFactory()
com.hardcode.gdbms.data.DataSource#getDataSourceFactory()
public void setDataSourceFactory(DataSourceFactory dsf)
com.hardcode.gdbms.data.DataSource#setDataSourceFactory(DataSourceFactory)
public long[] getWhereFilter() throws java.io.IOException
java.io.IOException
- DOCUMENT ME!public Memento getMemento() throws MementoException
MementoException
DataSource.getMemento()
public void remove() throws DriverException
DriverException
DataSource.remove()
public Value[] getRow(long rowIndex) throws DriverException
DriverException
DataSource.getRow(long)
public java.lang.String[] getFieldNames() throws DriverException
DriverException
DataSource.getFieldNames()
public java.lang.String getAsString() throws DriverException
DriverException
public void redo() throws DriverException
DriverException
public void undo() throws DriverException
DriverException
public boolean canRedo()
public boolean canUndo()
public void setSelection(int[] sel)
is
- public int[] getSelection()
public void addSelectionListener(SelectionListener listener)
public void removeSelectionListener(SelectionListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |