예제 #1
0
        public void ExtractRelation(IfDataStrategy DataReader, MainDataSet dataset)
        {
            //Procedure
            Record record = DataReader.GetDNodeBySNodeandEdgeType(this.Name, this.Type, "Assign");

            this.procedure = dataset.GetProcedureItem(record.Name);
        }
예제 #2
0
        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();
        }
예제 #3
0
        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);
        }
예제 #4
0
        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();
        }