@Override
    public boolean equals(Object other) {
        return (other instanceof DataType) && (dataTypeId == ((DataType)other).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