toEntityFilterName method

EntityFilterName toEntityFilterName()

Implementation

EntityFilterName toEntityFilterName() {
  switch (this) {
    case 'NAME':
      return EntityFilterName.name;
    case 'NAMESPACE':
      return EntityFilterName.namespace;
    case 'SEMANTIC_TYPE_PATH':
      return EntityFilterName.semanticTypePath;
    case 'REFERENCED_ENTITY_ID':
      return EntityFilterName.referencedEntityId;
  }
  throw Exception('$this is not known in enum EntityFilterName');
}