CeON/CoAnSys — pull request #12 by pdendek (2012-08-01 09:06:20+00:00)
Title: Model changes and code refactoring

* changes in bw2.proto file and associated DocumentProtos class
** removing obsolute class Document
** generalizing fields like "pacsCode", "mscCode" into message ClassifCode with fields 'type' (e.g. may be set to "pacs", "msc") and 'value'
* changes refactoring of ZipDirToProto:
** name change to ZipDirToDocumentDTOIterator
** introducing DocumentDTO class instead of Document class generated from proto file
** splitting functionality of the class into the iterator (ZipDirToDocumentDTOIterator class) and the transformer (YElementFromZip2DocumentDto class) converting given bwmeta xml into DocumentDTO
** introducing ProtoConstants class containing codes specializing types of generalized classes like ExtId (specialization example: documentExtIdZbl)
* adjustments in test classes to meet classes after refactoring
* additional transformer class DocumentDto2KeyValue converting DocumentDTO into the convenient for HBase insertion form