@Override
    public boolean equals(Object obj) {
        if (!(obj instanceof DataTypeName)) return false;
        DataTypeName datatype = (DataTypeName)obj;
        return this.name.equals(datatype.name);
    }
Creates a document name from a string of the form "name"

@param name The name string to parse.
@throws NumberFormatException if the version part of the name is present but is not a number
document/src/main/java/com/yahoo/document/DataTypeName.java