@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final RefStreamDefinition that = (RefStreamDefinition) o;
        return Objects.equals(pipelineVersion, that.pipelineVersion) &&
                streamId == that.streamId &&
                partIndex == that.partIndex &&
                Objects.equals(pipelineDocRef, that.pipelineDocRef);
    }
One based part in the stream.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/RefStreamDefinition.java