String type = rs.getString("source_type");\r
Reference ref;\r
if (type.equalsIgnoreCase("p")){\r
- //TDOO is this correct? maybe mark as 'publication'\r
ref = ReferenceFactory.newGeneric();\r
MarkerType markerType = getMarkerType(state, ErmsTransformer.uuidMarkerRefPublication, "Publication", "Publication", "p");\r
ref.addMarker(markerType, true);\r
}else if (type.equalsIgnoreCase("d")){\r
ref = ReferenceFactory.newDatabase();\r
}else if (type.equalsIgnoreCase("e")){\r
- //TODO is this correct, maybe mark as "informal"\r
ref = ReferenceFactory.newGeneric();\r
+ MarkerType markerType = getMarkerType(state, ErmsTransformer.uuidMarkerRefInformal, "Informal", "Informal", "e");\r
+ ref.addMarker(markerType, true);\r
}else if (type.equalsIgnoreCase("i")){\r
- //TODO is this correct?\r
ref = ReferenceFactory.newGeneric();\r
+ MarkerType markerType = getMarkerType(state, ErmsTransformer.uuidMarkerRefTypeI, "Ref type i", "Ref type i", "i");\r
+ ref.addMarker(markerType, true);\r
}else{\r
ref = ReferenceFactory.newGeneric();\r
logger.warn("Unknown reference type: " + type + ". Created generic instead.");\r