31 lines
992 B
Java
31 lines
992 B
Java
package _VisualDVM.GlobalData.SapforProfileSetting;
|
|
import Common.CommonConstants;
|
|
import Common.Database.Objects.iDBObject;
|
|
import _VisualDVM.Current;
|
|
import _VisualDVM.Global;
|
|
import _VisualDVM.GlobalData.Settings.SettingName;
|
|
import com.sun.org.glassfish.gmbal.Description;
|
|
public class SapforProfileSetting extends iDBObject {
|
|
@Description("DEFAULT 'Undefined'")
|
|
public SettingName name = SettingName.Undefined;
|
|
@Description("DEFAULT ''")
|
|
public String value = "";
|
|
@Description("DEFAULT -1")
|
|
public int sapforprofile_id = CommonConstants.Nan;
|
|
@Override
|
|
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;
|
|
}
|
|
}
|
|
}
|