Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
58 lines
1.4 KiB
Java
Executable file
58 lines
1.4 KiB
Java
Executable file
package ohd.hseb.fcstservice;
|
|
|
|
import ohd.hseb.util.gui.jtable.*;
|
|
import ohd.hseb.ihfsdb.generated.*;
|
|
|
|
public class WatSupCriterionJTableRowData extends AbstractJTableRowData
|
|
{
|
|
private String watsupCriterion;
|
|
private String missingRep = null;
|
|
|
|
public WatSupCriterionJTableRowData()
|
|
{
|
|
}
|
|
|
|
public WatSupCriterionJTableRowData(String missingRepresentation)
|
|
{
|
|
//setMissingRepresentation(missingRepresentation);
|
|
missingRep = missingRepresentation;
|
|
}
|
|
|
|
/* public String toString()
|
|
{
|
|
String str = getWatsupCriterion();
|
|
return str;
|
|
}
|
|
|
|
public int compare(String columnName, JTableRowData rowData)
|
|
{
|
|
int ret = 0;
|
|
WatSupCriterionJTableRowData watsupCriterionRecord = (WatSupCriterionJTableRowData) rowData;
|
|
if(columnName.equals("Wat Sup Criterion"))
|
|
ret = compareStrings(getWatsupCriterion(), watsupCriterionRecord.getWatsupCriterion());
|
|
return ret;
|
|
}
|
|
|
|
public String getDataValue(String columnName)
|
|
{
|
|
String dataValue = null;
|
|
if(columnName.equals("Wat Sup Criterion"))
|
|
dataValue = getStringValue(getWatsupCriterion());
|
|
return dataValue;
|
|
}
|
|
*/
|
|
|
|
public void addAllCellsToMap()
|
|
{
|
|
addCell(new BaseTableCell("Wat Sup Criterion", CellType.STRING, getWatsupCriterion(), missingRep));
|
|
}
|
|
|
|
public String getWatsupCriterion() {
|
|
return watsupCriterion;
|
|
}
|
|
|
|
public void setWatsupCriterion(String watsupCriterion) {
|
|
this.watsupCriterion = watsupCriterion;
|
|
}
|
|
|
|
}
|