|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a tuple like in database terminology.
It is a list of attributes. Each getXXX(attributeNum) method retrieves the value of an attribute into an XXX type if possible. Columns are numbered starting from 1.
Tuple extends the Cloneable interface to indicate to the Object.clone() method that it is legal for that method to make a field-for-field copy of instances of a tuple class.
Method Summary | |
java.math.BigDecimal |
getBigDecimal(int i)
Returns the value of the designated column in the current row of this Tuple as a BigDecimal in the java programming language |
java.math.BigInteger |
getBigInteger(int i)
Returns the value of the designated column in the current row of this Tuple as a BigDecimal in the java programming language |
boolean |
getBoolean(int i)
Returns the value of the designated column in the current row of this Tuple as a Boolean of java programming language |
byte |
getByte(int i)
Returns the value of the designated column in the current row of this Tuple as a Java byte |
byte[] |
getByteArray(int i)
Returns the value of the designated column in the current row of this Tuple as a Java byte |
char |
getChar(int i)
Returns the value of the designated column in the current row of this Tuple as a Java char |
char[] |
getCharArray(int i)
Returns the value of the designated column in the current row of this Tuple as a Java char[] |
java.util.Date |
getDate(int i)
Returns the value of the designated column in the current row of this Tuple as a java.sql.Data |
double |
getDouble(int i)
Returns the value of the designated column in the current row of this Tuple as a Java double |
float |
getFloat(int i)
Returns the value of the designated column in the current row of this Tuple as a Java float |
int |
getInt(int i)
Returns the value of the designated column in the current row of this Tuple as a java int |
Operand |
getLikeOperand(int i)
Returns the value of the designated column in the current row of this Tuple as an org.objectweb.medor.filter.Operand Object |
long |
getLong(int i)
Returns the value of the designated column in the current row of this Tuple as a Java long |
java.lang.Object |
getObject(int i)
Returns the value of the designated column in the current row of this Tuple as a Java Object |
short |
getShort(int i)
Returns the value of the designated column in the current row of this Tuple as a Short in the java programming language |
int |
getSize()
Give the number of the attribute in this Tuple object. |
java.lang.String |
getString(int i)
Returns the value of the designated column in the current row of this Tuple as a String in java programming language |
TupleCollection |
getTupleCollection(int i)
Returns the value of the designated column in the current row of this Tuple as a org.objectweb.medor object |
boolean |
isDefined(int i)
|
Operand[] |
toOperandArray()
Give the array of Operand object representation of the Tuple. |
Method Detail |
public int getSize()
public Operand[] toOperandArray()
public boolean getBoolean(int i) throws MedorException
MedorException
public byte getByte(int i) throws MedorException
MedorException
public byte[] getByteArray(int i) throws MedorException
MedorException
public char getChar(int i) throws MedorException
MedorException
public char[] getCharArray(int i) throws MedorException
MedorException
public java.util.Date getDate(int i) throws MedorException
MedorException
public double getDouble(int i) throws MedorException
MedorException
public float getFloat(int i) throws MedorException
MedorException
public int getInt(int i) throws MedorException
MedorException
public Operand getLikeOperand(int i) throws MedorException
MedorException
public long getLong(int i) throws MedorException
MedorException
public java.lang.Object getObject(int i) throws MedorException
MedorException
public short getShort(int i) throws MedorException
MedorException
public java.math.BigDecimal getBigDecimal(int i) throws MedorException
MedorException
public java.math.BigInteger getBigInteger(int i) throws MedorException
MedorException
public java.lang.String getString(int i) throws MedorException
MedorException
public TupleCollection getTupleCollection(int i) throws MedorException
MedorException
public boolean isDefined(int i)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |