Fixes #154 by providing pojo generation for enumtypes