перенос метода получающего поле объекта для отображения
This commit is contained in:
@@ -17,4 +17,15 @@ public class EnvironmentValue extends iDBObject {
|
||||
public String toString() {
|
||||
return name + "=" + Utils_.DQuotes(value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getFieldAt(int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 1:
|
||||
return name;
|
||||
case 2:
|
||||
return value;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,16 +92,6 @@ public class EnvironmentValuesDBTable extends iDBTable<EnvironmentValue> {
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt(EnvironmentValue object, int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 1:
|
||||
return object.name;
|
||||
case 2:
|
||||
return object.value;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
return Current.EnvironmentValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user