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