|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcomplex.AbstractComplex
complex.DBComplex
A complex, which is contained in a database.
| Field Summary | |
DBSession |
session
|
| Constructor Summary | |
DBComplex(DBSession session)
|
|
| Method Summary | |
protected java.util.Set |
getAllBoundaryCells(java.util.Set collection,
java.sql.Connection con)
|
protected java.sql.ResultSet |
getAllCells()
|
Cell |
getCell(CellID cell)
Returns the cell with the specified ID. |
int |
getCellCount()
Returns the number of cells in this complex object. |
java.util.Iterator |
getCellIterator()
Returns an iterator over the Cells contained in this Complex. |
EditableComplex |
getCopy()
copy database to standardComplex |
int |
getDim()
Returns the Dimension of the complex (which has to be larger or equal to the maximal dimension of the contained cells). |
CellID |
getMaxCellID()
Returns The maximum CellID of this complex object. |
EditableComplex |
getPartofComplex(java.util.Set collection)
collection consist of CellID |
boolean |
hasCell(CellID cell)
Checks if a cell with the specified ID is contained in this complex. |
| Methods inherited from class complex.AbstractComplex |
boundary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public DBSession session
| Constructor Detail |
public DBComplex(DBSession session)
| Method Detail |
public int getDim()
Complex
public java.util.Iterator getCellIterator()
Complex
Cellprotected java.sql.ResultSet getAllCells()
public Cell getCell(CellID cell)
Complex
cell - the ID of the cell
Cellpublic boolean hasCell(CellID cell)
Complex
cell - the ID of the cell
public int getCellCount()
Complex
getCellCount in interface ComplexgetCellCount in class AbstractComplexpublic CellID getMaxCellID()
Complex
getMaxCellID in interface ComplexgetMaxCellID in class AbstractComplexpublic EditableComplex getCopy()
this complexpublic EditableComplex getPartofComplex(java.util.Set collection)
collection -
protected java.util.Set getAllBoundaryCells(java.util.Set collection,
java.sql.Connection con)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||