@Override
    public void visitMembers(ObjectVisitor visitor) {
        super.visitMembers(visitor);
        visitor.visit("name", name);
        visitor.visit("id", dataTypeId);
    }
Returns the nested type of this if it is a collection type, null otherwise.
document/src/main/java/com/yahoo/document/DataType.java