2023-11-17 00:04:21 +03:00
|
|
|
package TestingSystem.SAPFOR.SapforConfigurationCommand;
|
2023-11-17 21:26:01 +03:00
|
|
|
import Common.Constants;
|
|
|
|
|
import Common.Current;
|
2023-11-17 21:36:56 +03:00
|
|
|
import Common.Database.DBObject;
|
2023-11-17 21:26:01 +03:00
|
|
|
import Common.Database.riDBObject;
|
2023-09-17 22:13:42 +03:00
|
|
|
import Visual_DVM_2021.Passes.PassCode_2021;
|
|
|
|
|
import com.sun.org.glassfish.gmbal.Description;
|
2023-11-17 21:26:01 +03:00
|
|
|
public class SapforConfigurationCommand extends riDBObject {
|
|
|
|
|
@Description("DEFAULT -1")
|
|
|
|
|
public int sapforconfiguration_id = Constants.Nan;
|
2023-09-17 22:13:42 +03:00
|
|
|
public PassCode_2021 passCode = PassCode_2021.SPF_RemoveDvmDirectives;
|
|
|
|
|
@Override
|
|
|
|
|
public boolean isVisible() {
|
2023-11-17 21:26:01 +03:00
|
|
|
return Current.HasSapforConfiguration() && (Current.getSapforConfiguration().id == sapforconfiguration_id);
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
2023-11-17 21:36:56 +03:00
|
|
|
@Override
|
|
|
|
|
public void SynchronizeFields(DBObject src) {
|
|
|
|
|
super.SynchronizeFields(src);
|
|
|
|
|
SapforConfigurationCommand c = (SapforConfigurationCommand) src;
|
|
|
|
|
sapforconfiguration_id = c.sapforconfiguration_id;
|
|
|
|
|
passCode = c.passCode;
|
|
|
|
|
}
|
|
|
|
|
public SapforConfigurationCommand() {
|
|
|
|
|
}
|
|
|
|
|
public SapforConfigurationCommand(SapforConfigurationCommand sapforConfigurationCommand) {
|
|
|
|
|
this.SynchronizeFields(sapforConfigurationCommand);
|
|
|
|
|
}
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|