public static VDBRecordData generateVDBRecordData(DBDData dbd, DBRecordData dbRecord) {
public static VDBRecordData generateVDBRecordData(DBDData dbd, DBRecordData dbRecord) throws DBException {
public static VDBRecordData generateVDBRecordData(DBDData dbd, DBRecordData dbRecord) {	DBDRecordData dbdRecord = dbd.getDBDRecordData(dbRecord.getRecord_type());	if (dbdRecord==null) {		Console.getInstance().println("Record '"+dbRecord.getRecord_type()+"' declared in DB file is not defined in DBD file...");		return null;	}	VDBRecordData vdbRecord = new VDBRecordData();	DBFieldData dbField;	DBDFieldData dbdField;	vdbRecord.setType(dbRecord.getRecord_type());	vdbRecord.setName(dbRecord.getName());	vdbRecord.setComment(dbRecord.getComment());	// order preservation	Enumeration e = dbRecord.getFieldsV().elements();	while (e.hasMoreElements()) {		dbField = (DBFieldData)(e.nextElement());		dbdField = (DBDFieldData)(dbdRecord.getFields().get(dbField.getName()));		vdbRecord.addField(generateVDBFieldData(dbd, dbRecord, vdbRecord, dbdField));	}	e = dbdRecord.getFieldsV().elements();	while (e.hasMoreElements()) {		dbdField = (DBDFieldData)(e.nextElement());		if (!vdbRecord.getFields().containsKey(dbdField.getName()))			vdbRecord.addField(generateVDBFieldData(dbd, dbRecord, vdbRecord, dbdField));	}/*  //DBD order 	Enumeration e = dbdRecord.getFieldsV().elements();	while (e.hasMoreElements()) {		dbdField = (DBDFieldData)(e.nextElement());		vdbRecord.addField(generateVDBFieldData(dbd, dbRecord, vdbRecord, dbdField));	}*/	//vdbRecord.updateDTYP(dbd);	return vdbRecord;}