SynBioDex-archive / libSBOLj

deprecated libSBOL Java library
http://SynBioDex.github.com/libSBOLj
2 stars 0 forks source link

Identifier system discrepancy between RdfId and Id #1

Closed mgaldzic closed 13 years ago

mgaldzic commented 13 years ago

empire example uses getRdfId and setRdfId but setId and getId are also available and useful when a non URI string is being used. Need to decide on one choice or hide the other from the interface.

mgaldzic commented 13 years ago

made new generateID methods for all objects, these now rely on the SHA-1 hash of required unique fields (displayId, in most cases). The Id system is written up in notes and needs to go into the specification. This allowed SBOLserviceTest.testInsertDnaComponent to pass.

Take away: To fulfill the A to B with prior data exchange use case a more sophisticated namespace based ID system will have to be implemented. Right now the namespace for data required by Empire needs to be constant. Not sure how to set that dynamically ;) a Fight for another day.