|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBasicCloneable
org.objectweb.medor.tuple.lib.EmptyTupleCollection
This class represents an empty TupleCollection.
Constructor Summary | |
EmptyTupleCollection()
|
|
EmptyTupleCollection(TupleStructure _ts)
|
Method Summary | |
java.lang.Object |
clone(java.lang.Object clone,
java.util.Map obj2clone)
|
void |
close()
It closes the TupleCollection, relaeases used resources (example : ResultSet). |
void |
first()
Moves the cursor to the first Tuple, row number 1. |
TupleStructure |
getMetaData()
Retrieves the number,types and stors properties of the data sources of this TupleCollection Object. |
int |
getRow()
Retrieves the current row Number. |
Tuple |
getTuple()
Returns the Tuple value of the current row of this TupleCollection object. |
Tuple |
getTuple(int row)
Returns the Tuple value of the designeted row of this TupleCollection object. |
boolean |
isEmpty()
Tell whether the current TupleCollection Object is empty or no. |
boolean |
isLast()
Indicates whether the cursor is on the last row of this TupleCollection object. |
boolean |
next()
Moves the cursor down one row from its current position to the next tuple of this TupleCollection object. |
boolean |
row(int row)
Moves the cursor to the given row number in this TupleCollection object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmptyTupleCollection()
public EmptyTupleCollection(TupleStructure _ts)
Method Detail |
public java.lang.Object clone(java.lang.Object clone, java.util.Map obj2clone) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public TupleStructure getMetaData() throws MedorException
TupleCollection
getMetaData
in interface TupleCollection
MedorException
- if a data source access error occurspublic boolean isLast() throws MedorException
TupleCollection
isLast
in interface TupleCollection
MedorException
- if data source access errorpublic boolean next() throws MedorException
TupleCollection
next
in interface TupleCollection
MedorException
- if data source access errorpublic void first() throws MedorException
TupleCollection
first
in interface TupleCollection
MedorException
- if data source access errorpublic int getRow() throws MedorException
TupleCollection
getRow
in interface TupleCollection
MedorException
- if data source access error.public Tuple getTuple() throws MedorException
TupleCollection
getTuple
in interface TupleCollection
MedorException
- if data source access error.public Tuple getTuple(int row) throws MedorException
TupleCollection
getTuple
in interface TupleCollection
row
- :int
MedorException
- if data source access error.public boolean row(int row) throws MedorException
TupleCollection
row
in interface TupleCollection
MedorException
- if row number is invelid or data source access errorpublic boolean isEmpty() throws MedorException
TupleCollection
isEmpty
in interface TupleCollection
MedorException
- if data source access error.public void close() throws MedorException
TupleCollection
close
in interface TupleCollection
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |