1 23 24 package org.objectweb.medor.tuple.api; 25 26 import org.objectweb.medor.api.MedorException; 27 import org.objectweb.medor.expression.api.Operand; 28 29 import java.util.Date ; 30 import java.math.BigDecimal ; 31 import java.math.BigInteger ; 32 33 44 public interface Tuple { 45 46 50 int getSize(); 51 52 56 Operand[] toOperandArray(); 57 58 63 boolean getBoolean(int i) throws MedorException; 64 65 69 byte getByte(int i) throws MedorException; 70 71 75 byte[] getByteArray(int i) throws MedorException; 76 77 81 char getChar(int i) throws MedorException; 82 83 87 char[] getCharArray(int i) throws MedorException; 88 89 93 Date getDate(int i) throws MedorException; 94 95 99 double getDouble(int i) throws MedorException; 100 101 105 float getFloat(int i) throws MedorException; 106 107 111 int getInt(int i) throws MedorException; 112 113 118 Operand getLikeOperand(int i) throws MedorException; 119 120 124 long getLong(int i) throws MedorException; 125 126 130 Object getObject(int i) throws MedorException; 131 132 137 short getShort(int i) throws MedorException; 138 139 144 BigDecimal getBigDecimal(int i) throws MedorException; 145 146 151 BigInteger getBigInteger(int i) throws MedorException; 152 153 158 String getString(int i) throws MedorException; 159 160 165 TupleCollection getTupleCollection(int i) throws MedorException; 166 167 boolean isDefined(int i); 168 } 169 | Popular Tags |