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