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