|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectBasicCloneable
org.objectweb.medor.tuple.lib.MemoryTuple
This class represent a tuple interface in a memory. Java array is used to stores fienlds Values. Rather than getXXX() methods, setXXX() allow updating the content of the Tuple.
| Constructor Summary | |
MemoryTuple()
|
|
MemoryTuple(PType[] types)
|
|
| Method Summary | |
java.lang.Object |
clone(java.lang.Object clone,
java.util.Map obj2clone)
|
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)
|
void |
setBigDecimal(java.math.BigDecimal x,
int i)
|
void |
setBigInteger(java.math.BigInteger x,
int i)
|
void |
setBoolean(boolean x,
int i)
|
void |
setByte(byte x,
int i)
|
void |
setChar(char x,
int i)
|
void |
setDate(java.util.Date x,
int i)
|
void |
setDouble(double x,
int i)
|
void |
setFloat(float x,
int i)
|
void |
setInt(int x,
int i)
|
void |
setLong(long x,
int i)
|
void |
setShort(short x,
int i)
|
void |
setString(java.lang.String x,
int i)
|
Operand[] |
toOperandArray()
Give the array of Operand object representation of the Tuple. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemoryTuple()
public MemoryTuple(PType[] types)
| Method Detail |
public java.lang.Object clone(java.lang.Object clone,
java.util.Map obj2clone)
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean isDefined(int i)
isDefined in interface Tuplepublic int getSize()
Tuple
getSize in interface Tuplepublic Operand[] toOperandArray()
Tuple
toOperandArray in interface Tuple
public int getInt(int i)
throws MedorException
Tuple
getInt in interface TupleMedorException
public void setInt(int x,
int i)
throws MedorException
MedorException
public byte getByte(int i)
throws MedorException
Tuple
getByte in interface TupleMedorException
public byte[] getByteArray(int i)
throws MedorException
Tuple
getByteArray in interface TupleMedorException
public void setByte(byte x,
int i)
throws MedorException
MedorException
public double getDouble(int i)
throws MedorException
Tuple
getDouble in interface TupleMedorException
public void setBigDecimal(java.math.BigDecimal x,
int i)
throws MedorException
MedorException
public java.math.BigDecimal getBigDecimal(int i)
throws MedorException
Tuple
getBigDecimal in interface TupleMedorException
public void setBigInteger(java.math.BigInteger x,
int i)
throws MedorException
MedorException
public java.math.BigInteger getBigInteger(int i)
throws MedorException
Tuple
getBigInteger in interface TupleMedorException
public void setDouble(double x,
int i)
throws MedorException
MedorException
public float getFloat(int i)
throws MedorException
Tuple
getFloat in interface TupleMedorException
public void setFloat(float x,
int i)
throws MedorException
MedorException
public short getShort(int i)
throws MedorException
Tuple
getShort in interface TupleMedorException
public void setShort(short x,
int i)
throws MedorException
MedorException
public java.lang.String getString(int i)
throws MedorException
Tuple
getString in interface TupleMedorException
public void setString(java.lang.String x,
int i)
throws MedorException
MedorException
public long getLong(int i)
throws MedorException
Tuple
getLong in interface TupleMedorException
public void setLong(long x,
int i)
throws MedorException
MedorException
public java.lang.Object getObject(int i)
throws MedorException
Tuple
getObject in interface TupleMedorException
public boolean getBoolean(int i)
throws MedorException
Tuple
getBoolean in interface TupleMedorException
public void setBoolean(boolean x,
int i)
throws MedorException
MedorException
public char getChar(int i)
throws MedorException
Tuple
getChar in interface TupleMedorException
public char[] getCharArray(int i)
throws MedorException
Tuple
getCharArray in interface TupleMedorException
public void setChar(char x,
int i)
throws MedorException
MedorException
public java.util.Date getDate(int i)
throws MedorException
Tuple
getDate in interface TupleMedorException
public void setDate(java.util.Date x,
int i)
throws MedorException
MedorException
public TupleCollection getTupleCollection(int i)
throws MedorException
Tuple
getTupleCollection in interface TupleMedorException
public Operand getLikeOperand(int i)
throws MedorException
Tuple
getLikeOperand in interface TupleMedorException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||