GUI from object model

Hi Vaadin friends,

Last week I wrote a generate that creates and object model from database tables.
Every table has it’s own class with a select(), save(), exists() and delete() function. It is working great and I am very proud of myself :slight_smile:

But now I would like to generate a Vaadin GUI on top of this object model. Bellow I have an example class with an empty implementation
because otherwise it was to long.

Who has an idea how I can create automatically an GUI on top of this object model.

Chris

example with empty implementation:

package com.domino.database.scheduler;

import java.sql.PreparedStatement;
import java.sql.Connection;
import com.domino.type.DBObject;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.SQLException;
import java.util.ArrayList;

public class M_DENIED extends DBObject {

public ArrayList<M_DENIED>M_DENIED_LIST = new ArrayList<M_DENIED>();
ResultSet rs;
private boolean prep = false;
private PreparedStatement pstmt = null;

private float DENIEDTORSCID;
private float DENIEDFROMRSCID;

public float getDENIEDTORSCID() {;
return DENIEDTORSCID;
}
public float getDENIEDFROMRSCID() {;
return DENIEDFROMRSCID;
}
public void setDENIEDTORSCID(float DENIEDTORSCID) {;
this.DENIEDTORSCID = DENIEDTORSCID;
}
public void setDENIEDFROMRSCID(float DENIEDFROMRSCID) {;
this.DENIEDFROMRSCID = DENIEDFROMRSCID;
}
public void select(Connection conn, String filter) {
}
public void selectCurrent(Connection conn, String filter) {
}
public void delete(Connection conn, String filter) {
}
public void save(Connection conn) {
}
public boolean exists() {
}
}