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