Class MultiRowFirstValue<E>
- java.lang.Object
-
- org.intermine.api.results.flatouterjoins.MultiRowValue<E>
-
- org.intermine.api.results.flatouterjoins.MultiRowFirstValue<E>
-
- Type Parameters:
E
- The value type
public class MultiRowFirstValue<E> extends MultiRowValue<E>
An object representing an entry in a MultiRow - the first instance of this value in a rowspan.- Author:
- Matthew Wakeling
-
-
Constructor Summary
Constructors Constructor Description MultiRowFirstValue(E value, int rowspan)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
MultiRowLaterValue
getMrlv()
Returns the MultiRowLaterValue corresponding to this object.int
getRowspan()
Returns the rowspan.E
getValue()
Returns the value of the entry.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MultiRowFirstValue
public MultiRowFirstValue(E value, int rowspan)
Constructor.- Parameters:
value
- the value in the resultsrowspan
- the number of rows that this value spans
-
-
Method Detail
-
getValue
public E getValue()
Returns the value of the entry.- Specified by:
getValue
in classMultiRowValue<E>
- Returns:
- an object
-
getRowspan
public int getRowspan()
Returns the rowspan.- Returns:
- an integer
-
getMrlv
public MultiRowLaterValue getMrlv()
Returns the MultiRowLaterValue corresponding to this object.- Returns:
- a MultiRowLaterValue object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-