2023-09-17 22:13:42 +03:00
|
|
|
package GlobalData.SapforProfileSetting;
|
2023-10-04 22:01:09 +03:00
|
|
|
import Common.Constants;
|
2023-09-17 22:13:42 +03:00
|
|
|
import Common.Current;
|
|
|
|
|
import Common.Database.iDBObject;
|
|
|
|
|
import 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")
|
2023-09-29 21:46:08 +03:00
|
|
|
public int sapforprofile_id = Constants.Nan;
|
2023-09-17 22:13:42 +03:00
|
|
|
@Override
|
|
|
|
|
public boolean isVisible() {
|
|
|
|
|
return Current.HasSapforProfile() && Current.getSapforProfile().id == sapforprofile_id;
|
|
|
|
|
}
|
|
|
|
|
}
|