@Override
    public int hashCode() {
        return super.hashCode() + contentStructType.hashCode() + inherits.hashCode();
    }
Returns an iterator over all fields in this documenttype

@return An iterator for iterating the fields in this documenttype.
document/src/main/java/com/yahoo/document/DocumentType.java