public static WfActivityAbstractImpl GetConcretImpl(WfActivity wfActivity)
        {
            switch (wfActivity.Type)
            {
                case ActdefType.INITIAL:
                    return new WfActivityInitialImpl(wfActivity);

                case ActdefType.INTERACTION:
                    return new WfActivityInteractionImpl(wfActivity);

                case ActdefType.COMPLETION:
                    return new WfActivityCompletionImpl(wfActivity);

                case ActdefType.AND_BRANCH:
                    return new WfActivityAndBranchImpl(wfActivity);

                case ActdefType.OR_BRANCH:
                    return new WfActivityOrBranchImpl(wfActivity);

                case ActdefType.AND_MERGE:
                    return new WfActivityAndMergeImpl(wfActivity);

                case ActdefType.OR_MERGE:
                    return new WfActivityOrMergeImpl(wfActivity);

                case ActdefType.DUMMY:
                    return new WfActivityDummyImpl(wfActivity);

                case ActdefType.SUBFLOW:
                    return new WfActivitySubflowImpl(wfActivity);

                case ActdefType.MN_MERGE:
                    return new WfActivityMNMergeImpl(wfActivity);
            }
            throw new WfException("No implement actdef type");
        }
 public WfActivityCompletionImpl(WfActivity wfactivity) : base(wfactivity)
 {
 }
 public WfActivityInteractionImpl(WfActivity wfactivity) : base(wfactivity)
 {
 }
 public WfActivityMNMergeImpl(WfActivity wfactivity)
     : base(wfactivity)
 {
 }
 public WfActivityAndBranchImpl(WfActivity wfactivity) : base(wfactivity)
 {
 }
 public WfActivityDummyImpl(WfActivity wfactivity)
     : base(wfactivity)
 {
 }
 public WfActivityAbstractImpl(WfActivity wfactivity)
 {
     this.wfActivity = wfactivity;
 }