convert enum CapellaNoteObjectType into enum class