public void ExtractRelation(IfDataStrategy DataReader, MainDataSet dataset) { //Procedure Record record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Assign"); this.procedure = dataset.GetProcedureItem(record.Name); }
public void ExtractRelation(IfDataStrategy DataReader, MainDataSet dataset) { Record record; //TaskType[1:1] record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "SetType"); this.task.BusinessType = dataset.GetTypeItem(record.Name); //Sumitter[1:1] record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Submitter"); this.task.Submitter = dataset.GetUserItem(record.Name); //Handler[1:1] record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Handler"); this.task.Handler = dataset.GetUserItem(record.Name); //Priority[1:1] record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "SetPriority"); this.task.QLevel = dataset.GetQlevelItem(record.Name); UpdatePriority(); }
public void ExtractRelation(IfDataStrategy DataReader, MainDataSet dataset) { Record record; //Procedure record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "BelongTo"); this.procedure = dataset.GetProcedureItem(record.Name); //NextStep record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Next"); this.nextStep = dataset.GetStepItem(record.Name); //PreviousStep record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Previous"); this.preStep = dataset.GetStepItem(record.Name); if (this.IsFeedback == true) { return; } //HandleRole record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "HandleBy"); this.handleRole = dataset.GetGroupItem(record.Name); }
public void ExtractRelation(IfDataStrategy DataReader, MainDataSet dataset) { //TaskType Record record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Binding"); this.taskType = dataset.GetTypeItem(record.Name); //ProcedureSteps this.procedureSteps.Clear(); List <string> steps = DataReader.GetDNodesBySNodeandEdgeType(this.Name, this.Type, "Include"); foreach (string stepname in steps) { this.procedureSteps.Add(dataset.GetStepItem(stepname)); } procedureSteps.Sort(); }