imported from svn
[metux-java.git] / dbobjects / Record.java
blob4d0cac24da2219dd0706ecc639868c43e1352e3c
2 package org.de.metux.dbObjects;
4 public abstract class Record
6 abstract Data oidValue();
7 abstract String oidField();
8 abstract String relationName();
9 abstract boolean SQLData_load(DataList d);
10 abstract DataList SQLData_store();
12 public String sqlInsert()
14 return QueryGenerator.InsertQuery(relationName(),SQLData_store());
17 public String sqlUpdate()
19 return QueryGenerator.UpdateQueryAND
21 relationName(),
22 oidField(),
23 oidValue(),
24 SQLData_store()