1 package prefuse.data; 2 3 import java.util.Date ; 4 5 6 15 public interface Tuple { 16 17 21 public Schema getSchema(); 22 23 27 public Table getTable(); 28 29 35 public int getRow(); 36 37 42 public boolean isValid(); 43 44 47 53 public Class getColumnType(String field); 54 55 61 public Class getColumnType(int col); 62 63 69 public int getColumnIndex(String field); 70 71 75 public int getColumnCount(); 76 77 82 public String getColumnName(int col); 83 84 87 98 public boolean canGet(String field, Class type); 99 100 111 public boolean canSet(String field, Class type); 112 113 121 public Object get(String field); 122 123 133 public void set(String field, Object value); 134 135 143 public Object get(int col); 144 145 155 public void set(int col, Object value); 156 157 163 public Object getDefault(String field); 164 165 171 public void revertToDefault(String field); 172 173 176 184 public boolean canGetInt(String field); 185 186 193 public boolean canSetInt(String field); 194 195 200 public int getInt(String field); 201 202 208 public void setInt(String field, int val); 209 210 215 public int getInt(int col); 216 217 223 public void setInt(int col, int val); 224 225 227 235 public boolean canGetLong(String field); 236 237 244 public boolean canSetLong(String field); 245 246 251 public long getLong(String field); 252 253 259 public void setLong(String field, long val); 260 261 266 public long getLong(int col); 267 268 274 public void setLong(int col, long val); 275 276 278 286 public boolean canGetFloat(String field); 287 288 295 public boolean canSetFloat(String field); 296 297 302 public float getFloat(String field); 303 304 310 public void setFloat(String field, float val); 311 312 317 public float getFloat(int col); 318 319 325 public void setFloat(int col, float val); 326 327 329 337 public boolean canGetDouble(String field); 338 339 346 public boolean canSetDouble(String field); 347 348 353 public double getDouble(String field); 354 355 361 public void setDouble(String field, double val); 362 363 368 public double getDouble(int col); 369 370 376 public void setDouble(int col, double val); 377 378 380 388 public boolean canGetBoolean(String field); 389 390 397 public boolean canSetBoolean(String field); 398 399 404 public boolean getBoolean(String field); 405 406 412 public void setBoolean(String field, boolean val); 413 414 419 public boolean getBoolean(int col); 420 421 427 public void setBoolean(int col, boolean val); 428 429 431 439 public boolean canGetString(String field); 440 441 448 public boolean canSetString(String field); 449 450 455 public String getString(String field); 456 457 463 public void setString(String field, String val); 464 465 470 public String getString(int col); 471 472 478 public void setString(int col, String val); 479 480 482 490 public boolean canGetDate(String field); 491 492 499 public boolean canSetDate(String field); 500 501 506 public Date getDate(String field); 507 508 514 public void setDate(String field, Date val); 515 516 521 public Date getDate(int col); 522 523 529 public void setDate(int col, Date val); 530 531 } | Popular Tags |