перенос метода получающего поле объекта для отображения
This commit is contained in:
@@ -136,4 +136,21 @@ public abstract class Component extends DBObject implements Loggable {
|
||||
public boolean isNecessary() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt(int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 2:
|
||||
return getComponentType().getDescription();
|
||||
case 3:
|
||||
return version;
|
||||
case 4:
|
||||
return actual_version;
|
||||
case 5:
|
||||
return date_text;
|
||||
case 6:
|
||||
return getState();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user