net.sourceforge.squirrel_sql.plugins.graph
Class ConstraintDataSet

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.graph.ConstraintDataSet
All Implemented Interfaces:
IDataSet

public class ConstraintDataSet
extends java.lang.Object
implements IDataSet


Constructor Summary
ConstraintDataSet(ConstraintView constraintView, java.lang.String fkTableName, java.lang.String pkTableName)
           
 
Method Summary
 boolean addRow(ColumnInfo fkColumn, ColumnInfo pkColumn)
           
 java.lang.Object get(int columnIndex)
           
 int getColumnCount()
           
 DataSetDefinition getDataSetDefinition()
           
 boolean isEmpty()
           
 boolean next(IMessageHandler msgHandler)
           
 boolean removeRows(int[] rows)
           
 void writeConstraintView(ConstraintView constraintView, TableFrameController fkFrameOriginatingFrom, TableFrameController pkFramePointingTo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintDataSet

public ConstraintDataSet(ConstraintView constraintView,
                         java.lang.String fkTableName,
                         java.lang.String pkTableName)
Method Detail

getColumnCount

public int getColumnCount()
                   throws DataSetException
Specified by:
getColumnCount in interface IDataSet
Throws:
DataSetException

getDataSetDefinition

public DataSetDefinition getDataSetDefinition()
                                       throws DataSetException
Specified by:
getDataSetDefinition in interface IDataSet
Throws:
DataSetException

next

public boolean next(IMessageHandler msgHandler)
             throws DataSetException
Specified by:
next in interface IDataSet
Throws:
DataSetException

get

public java.lang.Object get(int columnIndex)
                     throws DataSetException
Specified by:
get in interface IDataSet
Throws:
DataSetException

removeRows

public boolean removeRows(int[] rows)

addRow

public boolean addRow(ColumnInfo fkColumn,
                      ColumnInfo pkColumn)

writeConstraintView

public void writeConstraintView(ConstraintView constraintView,
                                TableFrameController fkFrameOriginatingFrom,
                                TableFrameController pkFramePointingTo)

isEmpty

public boolean isEmpty()


Copyright © 2001-2010. All Rights Reserved.