AtlasTypeRegistrytypeRegistry)throwsAtlasBaseException{finalTypesDefret;if(typeinstanceofAtlasEnumType){ret=TypeConverterUtil.enumToTypesDef((AtlasEnumType)type);}elseif(typeinstanceofAtlasEntityType){ret=TypeConverterUtil