@Override
    public boolean equals(Object o) {
        if (!(o instanceof DocumentTypeId)) return false;
        DocumentTypeId other = (DocumentTypeId) o;
        return other.id == this.id;
    }
The id of a document type.

@author Einar M R Rosenvinge
document/src/main/java/com/yahoo/document/DocumentTypeId.java