Package com.pullreports.model.config
Class ColumnsTerm
- Object
-
- com.pullreports.model.config.ColumnsTerm
-
public class ColumnsTerm extends Object
Represents one semicolon separated term within the Export Report "columns" parameter.
-
-
Constructor Summary
Constructors Constructor Description ColumnsTerm(TablePath tablePath)
Constructs a new ColumnsTerm with the given TablePath.ColumnsTerm(TablePath tablePath, ColumnId... columnIds)
ColumnsTerm(TablePath tablePath, String... columnIds)
ColumnsTerm(TablePath tablePath, List<ColumnId> columnIds)
Constructs a new ColumnsTerm with the given TablePath and column ids.ColumnsTerm(String tablePath)
ColumnsTerm(String tablePath, String... columnIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<ColumnId>
getColumnIds()
TablePath
getTablePath()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
ColumnsTerm
public ColumnsTerm(TablePath tablePath)
Constructs a new ColumnsTerm with the given TablePath. The List of Columns within the export result will be the exportable, permitted columns from the referenced TablePath.- Parameters:
tablePath
- The full table resource path from which to construct the ColumnsTerm. The TablePath must include the report's base table id as the the first path element.
-
ColumnsTerm
public ColumnsTerm(TablePath tablePath, List<ColumnId> columnIds)
Constructs a new ColumnsTerm with the given TablePath and column ids.- Parameters:
tablePath
- The full table resource path from which to construct the ColumnsTerm. The TablePath must include the report's base table id as the the first path element.columnIds
- The optional list ofColumnId
s of the Table to include in the export results.
-
ColumnsTerm
public ColumnsTerm(TablePath tablePath, String... columnIds)
-
ColumnsTerm
public ColumnsTerm(String tablePath, String... columnIds)
-
ColumnsTerm
public ColumnsTerm(String tablePath)
-
-
Method Detail
-
getTablePath
public TablePath getTablePath()
-
getColumnIds
public List<ColumnId> getColumnIds()
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-