package org.flymine.objectstore.query;

import java.lang.reflect.Field;

import org.flymine.util.TypeUtil;

/**
 * Represents a field of a QueryClass that is a non-primitive type
 *
 * @author Mark Woodbridge
 * @author Richard Smith
 */
public abstract class QueryReference
{
    protected QueryClass qc;
    protected String fieldName;
    protected Class type;
    
    /**
     * Gets the QueryClass of which this reference is an member
     *
     * @return the QueryClass
     */    
    public QueryClass getQueryClass() {
        return qc;
    }

    /**
     * Gets the Java class of this QueryReference
     *
     * @return the class name
     */    
    public Class getType() {
        return type;
    }
}

@@ -37,76 +37,8 @@
 y;%0A%0A
-import java.lang.reflect.Field;%0A%0Aimport org.flymine.util.TypeUtil;%0A%0A
 /**%0A

correct style