package _VisualDVM.TestingSystem.SAPFOR.SapforSettingsCommand;
import Common.CommonConstants;
import _VisualDVM.Current;
import Common.Database.Objects.DBObject;
import Common.Database.Objects.riDBObject;
import Visual_DVM_2021.Passes.PassCode;
import _VisualDVM.Global;
import com.sun.org.glassfish.gmbal.Description;
public class SapforSettingsCommand  extends riDBObject {
    @Description("DEFAULT -1")
    public int sapforsettings_id = CommonConstants.Nan;
    public PassCode passCode = PassCode.SPF_RemoveDvmDirectives;
    @Override
    public boolean isVisible() {
        return Global.mainModule.matchCurrentID(Current.SapforSettings,sapforsettings_id);
    }
    @Override
    public void SynchronizeFields(DBObject src) {
        super.SynchronizeFields(src);
        SapforSettingsCommand c = (SapforSettingsCommand) src;
        sapforsettings_id = c.sapforsettings_id;
        passCode = c.passCode;
    }
    public SapforSettingsCommand() {
    }
    public SapforSettingsCommand(SapforSettingsCommand sapforSettingsCommand) {
        this.SynchronizeFields(sapforSettingsCommand);
    }
}
