public class GXNonEmptyRowsFilter extends Object implements GXIRowsFilter
| Constructor and Description |
|---|
GXNonEmptyRowsFilter() |
GXNonEmptyRowsFilter(GXITableColumn[] columns) |
GXNonEmptyRowsFilter(String[] columnNames) |
| Modifier and Type | Method and Description |
|---|---|
GXITableRowCollection |
filter(GXITableRowCollection rows)
Used to filter an existing row collection.
|
String[] |
getColumnNames() |
boolean |
isPrimaryKeyValid(String primaryKey,
GXITableRowCollection rowsSoFar)
This method is used, by ApplinX Server, when building a table.
|
boolean |
isRowValid(GXITableRow row,
GXITableRowCollection rowsSoFar)
This method is used, by ApplinX Server, when building a table,
to decide whether to add a row to the table.
|
void |
setColumnNames(String[] columnNames) |
String |
toString() |
public GXNonEmptyRowsFilter(String[] columnNames)
public GXNonEmptyRowsFilter(GXITableColumn[] columns)
public GXNonEmptyRowsFilter()
public GXITableRowCollection filter(GXITableRowCollection rows)
GXIRowsFilterfilter in interface GXIRowsFilterrows - the rows to filter.public boolean isRowValid(GXITableRow row, GXITableRowCollection rowsSoFar)
GXIRowsFilterisRowValid in interface GXIRowsFilterrow - the row to checkrowsSoFar - the rows added to the table so far, for conditions that depend
on previous rows (for example - duplicate rows).GXIRowsFilter.filter(GXITableRowCollection)public boolean isPrimaryKeyValid(String primaryKey, GXITableRowCollection rowsSoFar)
GXIRowsFilterisPrimaryKeyValid in interface GXIRowsFilterprimaryKey - the row's primary key.rowsSoFar - the rows added to the table so far, for conditions that depend
on previous rows (for example - duplicate rows).public String[] getColumnNames()
public void setColumnNames(String[] columnNames)
Copyright 2022 Software AG. All rights reserved. Use is subject to license terms.