Esempio n. 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);
        }
Esempio n. 2
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);
        }