import model.JPAResourceClassModel;
import model.SQLData;
public class BatchQueueGenerator {
private static SQLData createSQLData() {
SQLData data = new SQLData();
data.setTableName("BATCH_QUEUE");
data.getFieldData().put("COMPUTE_RESOURCE_ID", Arrays.asList(new String[]{"VARCHAR", "(255)", "NOT", "NULL"}));
data.getFieldData().put("QUEUE_NAME", Arrays.asList(new String[]{"VARCHAR", "(255)", "NOT", "NULL"}));
data.getFieldData().put("QUEUE_DESCRIPTION", Arrays.asList(new String[]{"VARCHAR", "(255)",}));
data.getFieldData().put("MAX_RUNTIME", Arrays.asList(new String[]{"INTEGER"}));
data.getFieldData().put("MAX_NODES", Arrays.asList(new String[]{"INTEGER"}));
data.getFieldData().put("MAX_PROCESSORS", Arrays.asList(new String[]{"INTEGER"}));
data.getFieldData().put("MAX_JOB_IN_QUEUE", Arrays.asList(new String[]{"INTEGER"}));
data.getPrimaryKeys().add("COMPUTE_RESOURCE_ID");
data.getPrimaryKeys().add("QUEUE_NAME");
data.getForiegnKeys().put("COMPUTE_RESOURCE_ID", new SQLData.ForiegnKeyData("COMPUTE_RESOURCE(RESOURCE_ID)","ComputeResource","ComputeHostResource"));
return data;
}