@Override
    public String toString() {
        return "datatype " + name + " (code: " + dataTypeId + ")";
    }
Registers this type in the given document manager.

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