Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
57 lines
1.3 KiB
Java
Executable file
57 lines
1.3 KiB
Java
Executable file
package ohd.hseb.fcstservice;
|
|
|
|
import ohd.hseb.util.gui.jtable.*;
|
|
import ohd.hseb.ihfsdb.generated.*;
|
|
|
|
public class WatSupMethodJTableRowData extends AbstractJTableRowData
|
|
{
|
|
private String watsupMethod;
|
|
private String missingRep = null;
|
|
|
|
public WatSupMethodJTableRowData()
|
|
{
|
|
}
|
|
|
|
public WatSupMethodJTableRowData(String missingRepresentation)
|
|
{
|
|
//setMissingRepresentation(missingRepresentation);
|
|
missingRep = missingRepresentation;
|
|
}
|
|
|
|
/* public String toString()
|
|
{
|
|
String str = getWatsupMethod();
|
|
return str;
|
|
}
|
|
|
|
public int compare(String columnName, JTableRowData rowData)
|
|
{
|
|
int ret = 0;
|
|
WatSupMethodJTableRowData watsupMethodRecord = (WatSupMethodJTableRowData) rowData;
|
|
if(columnName.equals("Wat Sup Method"))
|
|
ret = compareStrings(getWatsupMethod(), watsupMethodRecord.getWatsupMethod());
|
|
return ret;
|
|
}
|
|
|
|
public String getDataValue(String columnName)
|
|
{
|
|
String dataValue = null;
|
|
if(columnName.equals("Wat Sup Method"))
|
|
dataValue = getStringValue(getWatsupMethod());
|
|
return dataValue;
|
|
}
|
|
*/
|
|
|
|
public void addAllCellsToMap()
|
|
{
|
|
addCell(new BaseTableCell("Wat Sup Method", CellType.STRING, getWatsupMethod(), missingRep));
|
|
}
|
|
|
|
public String getWatsupMethod() {
|
|
return watsupMethod;
|
|
}
|
|
|
|
public void setWatsupMethod(String watsupMethod) {
|
|
this.watsupMethod = watsupMethod;
|
|
}
|
|
}
|