@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final PipelineElement that = (PipelineElement) o;
        return id.equals(that.id) &&
                type.equals(that.type);
    }
<p>
Java class for Element complex type.
<p>
<p>
The following schema fragment specifies the expected content contained within
this class.
<p>
<pre>
&lt;complexType name="Element">
  &lt;complexContent>
    &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      &lt;sequence>
        &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
        &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
      &lt;/sequence>
    &lt;/restriction>
  &lt;/complexContent>
&lt;/complexType>
</pre>
stroom-core-shared/src/main/java/stroom/pipeline/shared/data/PipelineElement.java