@Override
    public int hashCode() {
        return name.hashCode();
    }
Registers this type in the given document manager.

@param manager the DocumentTypeManager to register in.
document/src/main/java/com/yahoo/document/DataType.java