Package org.intermine.objectstore.query
Class OverlapRange
- java.lang.Object
-
- org.intermine.objectstore.query.OverlapRange
-
public class OverlapRange extends java.lang.Object
Represents a range value on an object.- Author:
- Matthew Wakeling
-
-
Field Summary
Fields Modifier and Type Field Description protected QueryEvaluable
end
protected QueryObjectReference
parent
protected QueryEvaluable
start
-
Constructor Summary
Constructors Constructor Description OverlapRange(QueryEvaluable start, QueryEvaluable end, QueryObjectReference parent)
Constructor for this object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryEvaluable
getEnd()
Returns the right parameter.QueryObjectReference
getParent()
Returns the parent parameter.QueryEvaluable
getStart()
Returns the left parameter.java.lang.String
toString()
-
-
-
Field Detail
-
start
protected QueryEvaluable start
-
end
protected QueryEvaluable end
-
parent
protected QueryObjectReference parent
-
-
Constructor Detail
-
OverlapRange
public OverlapRange(QueryEvaluable start, QueryEvaluable end, QueryObjectReference parent)
Constructor for this object.- Parameters:
start
- the start value of this range, inclusive, of type intend
- the end value of this range, inclusive, of type intparent
- the object that the range is associated with- Throws:
java.lang.IllegalArgumentException
- if one of the parameters is invalid
-
-
Method Detail
-
getStart
public QueryEvaluable getStart()
Returns the left parameter.- Returns:
- a QueryEvaluable
-
getEnd
public QueryEvaluable getEnd()
Returns the right parameter.- Returns:
- a QueryEvaluable
-
getParent
public QueryObjectReference getParent()
Returns the parent parameter.- Returns:
- a QueryReference
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-