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