@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final ResourceKey that = (ResourceKey) o;
        return Objects.equals(key, that.key);
    }
Class that represents a key to a resource. This key has a name and a string
key.
stroom-util-shared/src/main/java/stroom/util/shared/ResourceKey.java