Issue 10650

Replace AgentType, ContactType, IdentifierType, RelationType with their enums

10650
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Replace AgentType, ContactType, IdentifierType, RelationType with their enums
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-01-18 11:33:21.054
Updated: 2013-12-16 17:50:37.912
Resolved: 2012-01-19 12:41:11.724
        
Description: Similar to the already undertaken change using ServiceTypeCode instead of ServiceType in the Service model class we should also replace the other Types with their enums and leave the mapping to a mybatis type handler.

This would remove the need for AgentType, ContactType, IdentifierType, RelationType & ServiceType classes, their services and mappers + sql alltogether.]]>
    


Author: mdoering@gbif.org
Comment: ContactType exists in the registry api too, so we should use that and remove the redundant persistency vocal ContactType completely!
Created: 2012-01-18 15:34:07.908
Updated: 2012-01-18 15:34:07.908


Author: mdoering@gbif.org
Comment: All string based types have been replaced with controlled enumerations and the types factory been removed
Created: 2012-01-19 12:41:11.777
Updated: 2012-01-19 12:41:11.777