1 package de.dlr.shepard.neo4Core.orderBy; 2 3 import java.util.List; 4 5 public enum SemanticRepositoryAttributes implements OrderByAttribute { 6 createdAt, updatedAt, name; 7 8 private static List<SemanticRepositoryAttributes> stringList = List.of(SemanticRepositoryAttributes.name); 9 10 private boolean isString(SemanticRepositoryAttributes semanticRepositoryAttributes) { 11 return stringList.contains(semanticRepositoryAttributes); 12 } 13 14 @Override 15 public boolean isString() { 16 return isString(this); 17 } 18 19 }