Convert Model Database TO Java