private void processImport(Sheet sheet, int row) throws Exception {
   PrimitiveType prim = new PrimitiveType();
   prim.setCode(sheet.getColumn(row, "Data Type"));
   prim.setDefinition(sheet.getColumn(row, "Definition"));
   prim.setComment(sheet.getColumn(row, "Comments"));
   prim.setSchemaType(sheet.getColumn(row, "Schema"));
   prim.setRegEx(sheet.getColumn(row, "RegEx"));
   TypeRef td = new TypeRef();
   td.setName(prim.getCode());
   definitions.getKnownTypes().add(td);
   definitions.getPrimitives().put(prim.getCode(), prim);
 }
 private void processStringPattern(Sheet sheet, int row) throws Exception {
   DefinedStringPattern prim = new DefinedStringPattern();
   prim.setCode(sheet.getColumn(row, "Data Type"));
   prim.setDefinition(sheet.getColumn(row, "Definition"));
   prim.setComment(sheet.getColumn(row, "Comments"));
   prim.setRegex(sheet.getColumn(row, "RegEx"));
   prim.setSchema(sheet.getColumn(row, "Schema"));
   prim.setBase(sheet.getColumn(row, "Base"));
   TypeRef td = new TypeRef();
   td.setName(prim.getCode());
   definitions.getKnownTypes().add(td);
   definitions.getPrimitives().put(prim.getCode(), prim);
 }