Package org.intermine.objectstore.query
Class QueryReference
- java.lang.Object
-
- org.intermine.objectstore.query.QueryReference
-
- Direct Known Subclasses:
QueryCollectionReference
,QueryObjectReference
public abstract class QueryReference extends java.lang.Object
Represents a field of a QueryClass that is a non-primitive type.- Author:
- Mark Woodbridge, Richard Smith
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fieldName
protected QueryClass
qc
protected java.lang.Class<?>
type
-
Constructor Summary
Constructors Constructor Description QueryReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFieldName()
Gets the fieldname of this QueryReference.java.lang.Class<? extends FastPathObject>
getQcType()
Returns the type of the queryclass of this referenceQueryClass
getQueryClass()
Gets the QueryClass of which this reference is an member.java.lang.Class<?>
getType()
Gets the Java class of this QueryReference.
-
-
-
Field Detail
-
qc
protected QueryClass qc
-
fieldName
protected java.lang.String fieldName
-
type
protected java.lang.Class<?> type
-
-
Method Detail
-
getQueryClass
public QueryClass getQueryClass()
Gets the QueryClass of which this reference is an member.- Returns:
- the QueryClass
-
getType
public java.lang.Class<?> getType()
Gets the Java class of this QueryReference.- Returns:
- the class name
-
getFieldName
public java.lang.String getFieldName()
Gets the fieldname of this QueryReference.- Returns:
- the field name
-
getQcType
public java.lang.Class<? extends FastPathObject> getQcType()
Returns the type of the queryclass of this reference- Returns:
- a Class
-
-