@Override
    public String toString() {
        return "document type '" + getName() + "'";
    }
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