перенос метода получающего поле объекта для отображения

This commit is contained in:
2024-10-20 13:34:38 +03:00
parent dc53ecd6c8
commit f13a9cda2e
76 changed files with 721 additions and 612 deletions

View File

@@ -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;
}
}
}