Esempio n. 1
0
        public MemberCaseCarePlanAssessmentCareMeasureComponent Copy()
        {
            Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverObject = (Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent)ToServerObject();

            MemberCaseCarePlanAssessmentCareMeasureComponent copiedObject = new MemberCaseCarePlanAssessmentCareMeasureComponent(application, serverObject);

            return(copiedObject);
        }
Esempio n. 2
0
        public override Object ToServerObject()
        {
            Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverObject = new Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent();

            MapToServerObject(serverObject);

            return(serverObject);
        }
Esempio n. 3
0
        public void MapFromServerObject(Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverObject)
        {
            base.MapFromServerObject((Server.Application.CoreObject)serverObject);


            MemberCaseCarePlanAssessmentCareMeasureId = serverObject.MemberCaseCarePlanAssessmentCareMeasureId;

            CareMeasureComponentId = serverObject.CareMeasureComponentId;

            CareMeasureScaleId = serverObject.CareMeasureScaleId;

            Tag = serverObject.Tag;

            ComponentValue = serverObject.ComponentValue;


            return;
        }
Esempio n. 4
0
        public virtual void MapToServerObject(Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverObject)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverObject);


            serverObject.MemberCaseCarePlanAssessmentCareMeasureId = MemberCaseCarePlanAssessmentCareMeasureId;

            serverObject.CareMeasureComponentId = CareMeasureComponentId;

            serverObject.CareMeasureScaleId = CareMeasureScaleId;

            serverObject.Tag = Tag;

            serverObject.ComponentValue = ComponentValue;


            return;
        }
        public virtual void MapToServerObject(Server.Application.MemberCaseCarePlanAssessmentCareMeasure serverObject)
        {
            base.MapToServerObject((Server.Application.CoreObject)serverObject);


            serverObject.MemberCaseCarePlanAssessmentId = MemberCaseCarePlanAssessmentId;

            serverObject.CareMeasureDomainId = CareMeasureDomainId;

            serverObject.CareMeasureDomainName = CareMeasureDomainName;

            serverObject.CareMeasureClassId = CareMeasureClassId;

            serverObject.CareMeasureClassName = CareMeasureClassName;

            serverObject.CareMeasureId = CareMeasureId;

            serverObject.TargetValue = TargetValue;



            serverObject.Goals = new Server.Application.MemberCaseCarePlanAssessmentCareMeasureGoal[Goals.Count];

            foreach (MemberCaseCarePlanAssessmentCareMeasureGoal currentAssessmentGoal in Goals)
            {
                Server.Application.MemberCaseCarePlanAssessmentCareMeasureGoal serverAssessmentGoal = (Server.Application.MemberCaseCarePlanAssessmentCareMeasureGoal)currentAssessmentGoal.ToServerObject();

                serverObject.Goals[Goals.IndexOf(currentAssessmentGoal)] = serverAssessmentGoal;
            }

            serverObject.Components = new Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent[Components.Count];

            foreach (MemberCaseCarePlanAssessmentCareMeasureComponent currentAssessmentComponent in Components)
            {
                Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverAssessmentComponent = (Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent)currentAssessmentComponent.ToServerObject();

                serverObject.Components[Components.IndexOf(currentAssessmentComponent)] = serverAssessmentComponent;
            }

            return;
        }
Esempio n. 6
0
        public MemberCaseCarePlanAssessmentCareMeasureComponent(Application applicationReference, Server.Application.MemberCaseCarePlanAssessmentCareMeasureComponent serverObject)
        {
            base.BaseConstructor(applicationReference, serverObject);

            MapFromServerObject(serverObject);

            return;
        }