@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        if (!super.equals(o)) {
            return false;
        }
        final XmlSchemaDoc that = (XmlSchemaDoc) o;
        return deprecated == that.deprecated &&
                Objects.equals(description, that.description) &&
                Objects.equals(namespaceURI, that.namespaceURI) &&
                Objects.equals(systemId, that.systemId) &&
                Objects.equals(data, that.data) &&
                Objects.equals(schemaGroup, that.schemaGroup);
    }
@return A new builder for creating a {@link DocRef} for this document's type.
stroom-core-shared/src/main/java/stroom/xmlschema/shared/XmlSchemaDoc.java