перенос метода получающего поле объекта для отображения
This commit is contained in:
@@ -16,4 +16,15 @@ public class SapforProfileSetting extends iDBObject {
|
||||
public boolean isVisible() {
|
||||
return Global.mainModule.matchCurrentID(Current.SapforProfile, sapforprofile_id);
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt( int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 1:
|
||||
return name.getDescription();
|
||||
case 2:
|
||||
return value;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,15 +32,4 @@ public class SapforProfileSettingsDBTable extends iDBTable<SapforProfileSetting>
|
||||
public Current CurrentName() {
|
||||
return Current.SapforProfileSetting;
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt(SapforProfileSetting object, int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 1:
|
||||
return object.name.getDescription();
|
||||
case 2:
|
||||
return object.value;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user