public virtual void MapToServerObject(Server.Application.CareMeasure serverObject)
        {
            base.MapToServerObject((Server.Application.CoreConfigurationObject)serverObject);

            serverObject.CareMeasureDomainId = careMeasureDomainId;

            serverObject.CareMeasureDomainName = careMeasureDomainName;

            serverObject.CareMeasureClassId = careMeasureClassId;

            serverObject.CareMeasureClassName = careMeasureClassName;


            serverObject.Components = new Server.Application.CareMeasureComponent[components.Count];

            Int32 componentIndex = 0;

            foreach (CareMeasureComponent currentComponent in components)
            {
                Server.Application.CareMeasureComponent serverComponent = (Server.Application.CareMeasureComponent)currentComponent.ToServerObject();

                serverObject.Components[componentIndex] = serverComponent;

                componentIndex = componentIndex + 1;
            }

            return;
        }
Beispiel #2
0
        public override Object ToServerObject()
        {
            Server.Application.CareMeasureComponent serverObject = new Server.Application.CareMeasureComponent();

            MapToServerObject(serverObject);

            return(serverObject);
        }
Beispiel #3
0
        public CareMeasureComponent Copy()
        {
            Server.Application.CareMeasureComponent serverObject = (Server.Application.CareMeasureComponent)ToServerObject();

            CareMeasureComponent copiedObject = new CareMeasureComponent(application, serverObject);

            return(copiedObject);
        }
Beispiel #4
0
        public virtual void MapToServerObject(Server.Application.CareMeasureComponent serverObject)
        {
            base.MapToServerObject((Server.Application.CoreConfigurationObject)serverObject);


            serverObject.CareMeasureId = CareMeasureId;

            serverObject.CareMeasureScaleId = CareMeasureScaleId;

            serverObject.Tag = Tag;


            return;
        }