Class SubTable
- java.lang.Object
-
- org.intermine.webservice.server.core.SubTable
-
public class SubTable extends java.lang.Object
A class that represents a table nested within a cell in another table.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Path>
getColumns()
Path
getJoinPath()
java.util.List<java.util.List<Either<ResultCell,SubTable>>>
getRows()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SubTable
public SubTable(Path outerJoinGroup, java.util.List<Path> columns, java.util.List<java.util.List<Either<ResultCell,SubTable>>> rows)
Construct a sub table.- Parameters:
outerJoinGroup
- The outer join group this table is located at.columns
- The columns in this sub table.rows
- The data within the table.
-
-
Method Detail
-
getRows
public java.util.List<java.util.List<Either<ResultCell,SubTable>>> getRows()
- Returns:
- The rows that make up this sub table.
-
getColumns
public java.util.List<Path> getColumns()
- Returns:
- the columns of this sub-table
-
getJoinPath
public Path getJoinPath()
- Returns:
- the path below which all the columns are nested.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-