/** * Create the ValueObject from the ims.icps.instantiation.domain.objects.PatientICP object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.icp.vo.PatientICPVo create( DomainObjectMap map, ims.icps.instantiation.domain.objects.PatientICP domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.icp.vo.PatientICPVo valueObject = (ims.icp.vo.PatientICPVo) map.getValueObject(domainObject, ims.icp.vo.PatientICPVo.class); if (null == valueObject) { valueObject = new ims.icp.vo.PatientICPVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.clinical.domain.objects.Medication object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.MedicationVo create( DomainObjectMap map, ims.core.clinical.domain.objects.Medication domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.MedicationVo valueObject = (ims.core.vo.MedicationVo) map.getValueObject(domainObject, ims.core.vo.MedicationVo.class); if (null == valueObject) { valueObject = new ims.core.vo.MedicationVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.ocrr.orderingresults.domain.objects.OcsOrderSession object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.ocrr.vo.OcsOrderVo create( DomainObjectMap map, ims.ocrr.orderingresults.domain.objects.OcsOrderSession domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.ocrr.vo.OcsOrderVo valueObject = (ims.ocrr.vo.OcsOrderVo) map.getValueObject(domainObject, ims.ocrr.vo.OcsOrderVo.class); if (null == valueObject) { valueObject = new ims.ocrr.vo.OcsOrderVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.configuration.domain.objects.DrawingGraphicGroup * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.GraphicGroupVo create( DomainObjectMap map, ims.core.configuration.domain.objects.DrawingGraphicGroup domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.GraphicGroupVo valueObject = (ims.core.vo.GraphicGroupVo) map.getValueObject(domainObject, ims.core.vo.GraphicGroupVo.class); if (null == valueObject) { valueObject = new ims.core.vo.GraphicGroupVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.nursing.domain.objects.PlanOfCare object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.nursing.vo.PlanOfCareListVo create( DomainObjectMap map, ims.nursing.domain.objects.PlanOfCare domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.nursing.vo.PlanOfCareListVo valueObject = (ims.nursing.vo.PlanOfCareListVo) map.getValueObject(domainObject, ims.nursing.vo.PlanOfCareListVo.class); if (null == valueObject) { valueObject = new ims.nursing.vo.PlanOfCareListVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.nursing.careplans.domain.objects.CarePlanTemplate object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.nursing.vo.CarePlanTemplateTitle create( DomainObjectMap map, ims.nursing.careplans.domain.objects.CarePlanTemplate domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.nursing.vo.CarePlanTemplateTitle valueObject = (ims.nursing.vo.CarePlanTemplateTitle) map.getValueObject(domainObject, ims.nursing.vo.CarePlanTemplateTitle.class); if (null == valueObject) { valueObject = new ims.nursing.vo.CarePlanTemplateTitle(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.patient.domain.objects.PDSBatchTraceParams object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.PDSBatchTraceItemsVo create( DomainObjectMap map, ims.core.patient.domain.objects.PDSBatchTraceParams domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.PDSBatchTraceItemsVo valueObject = (ims.core.vo.PDSBatchTraceItemsVo) map.getValueObject(domainObject, ims.core.vo.PDSBatchTraceItemsVo.class); if (null == valueObject) { valueObject = new ims.core.vo.PDSBatchTraceItemsVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.pathways.configuration.domain.objects.RTTStatusPoint * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.pathways.vo.RTTStatusPointLiteVo create( DomainObjectMap map, ims.pathways.configuration.domain.objects.RTTStatusPoint domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.pathways.vo.RTTStatusPointLiteVo valueObject = (ims.pathways.vo.RTTStatusPointLiteVo) map.getValueObject(domainObject, ims.pathways.vo.RTTStatusPointLiteVo.class); if (null == valueObject) { valueObject = new ims.pathways.vo.RTTStatusPointLiteVo(domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.therapies.treatment.domain.objects.Mobilisations object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.therapies.vo.MobilisationsShortVo create( DomainObjectMap map, ims.therapies.treatment.domain.objects.Mobilisations domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.therapies.vo.MobilisationsShortVo valueObject = (ims.therapies.vo.MobilisationsShortVo) map.getValueObject(domainObject, ims.therapies.vo.MobilisationsShortVo.class); if (null == valueObject) { valueObject = new ims.therapies.vo.MobilisationsShortVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.admin.pas.domain.objects.PASEvent object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.clinical.vo.PasEventForHospitalAtNightVo create( DomainObjectMap map, ims.core.admin.pas.domain.objects.PASEvent domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.clinical.vo.PasEventForHospitalAtNightVo valueObject = (ims.clinical.vo.PasEventForHospitalAtNightVo) map.getValueObject(domainObject, ims.clinical.vo.PasEventForHospitalAtNightVo.class); if (null == valueObject) { valueObject = new ims.clinical.vo.PasEventForHospitalAtNightVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.emergency.domain.objects.Tracking object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.emergency.vo.TrackingForSeenByHCPVo create( DomainObjectMap map, ims.emergency.domain.objects.Tracking domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.emergency.vo.TrackingForSeenByHCPVo valueObject = (ims.emergency.vo.TrackingForSeenByHCPVo) map.getValueObject(domainObject, ims.emergency.vo.TrackingForSeenByHCPVo.class); if (null == valueObject) { valueObject = new ims.emergency.vo.TrackingForSeenByHCPVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.scheduling.domain.objects.Booking_Appointment object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.scheduling.vo.AppointmentOutcomeDetailsVo create( DomainObjectMap map, ims.scheduling.domain.objects.Booking_Appointment domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.scheduling.vo.AppointmentOutcomeDetailsVo valueObject = (ims.scheduling.vo.AppointmentOutcomeDetailsVo) map.getValueObject(domainObject, ims.scheduling.vo.AppointmentOutcomeDetailsVo.class); if (null == valueObject) { valueObject = new ims.scheduling.vo.AppointmentOutcomeDetailsVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.RefMan.domain.objects.ReportNote object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.RefMan.vo.CorrespondenceNoteLiteVo create( DomainObjectMap map, ims.RefMan.domain.objects.ReportNote domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.RefMan.vo.CorrespondenceNoteLiteVo valueObject = (ims.RefMan.vo.CorrespondenceNoteLiteVo) map.getValueObject(domainObject, ims.RefMan.vo.CorrespondenceNoteLiteVo.class); if (null == valueObject) { valueObject = new ims.RefMan.vo.CorrespondenceNoteLiteVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.domain.objects.TransportBooking object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.RefMan.vo.TransportBookingShortVo create( DomainObjectMap map, ims.core.domain.objects.TransportBooking domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.RefMan.vo.TransportBookingShortVo valueObject = (ims.RefMan.vo.TransportBookingShortVo) map.getValueObject(domainObject, ims.RefMan.vo.TransportBookingShortVo.class); if (null == valueObject) { valueObject = new ims.RefMan.vo.TransportBookingShortVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.medical.domain.objects.NeuRootMotorFind object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.generalmedical.vo.NeuroMotorRootValueVo create( DomainObjectMap map, ims.medical.domain.objects.NeuRootMotorFind domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.generalmedical.vo.NeuroMotorRootValueVo valueObject = (ims.generalmedical.vo.NeuroMotorRootValueVo) map.getValueObject(domainObject, ims.generalmedical.vo.NeuroMotorRootValueVo.class); if (null == valueObject) { valueObject = new ims.generalmedical.vo.NeuroMotorRootValueVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.oncology.domain.objects.PathologyDetails object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.clinicaladmin.vo.PathologyDetailsVo create( DomainObjectMap map, ims.oncology.domain.objects.PathologyDetails domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.clinicaladmin.vo.PathologyDetailsVo valueObject = (ims.clinicaladmin.vo.PathologyDetailsVo) map.getValueObject(domainObject, ims.clinicaladmin.vo.PathologyDetailsVo.class); if (null == valueObject) { valueObject = new ims.clinicaladmin.vo.PathologyDetailsVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.oncology.domain.objects.ContactTypesByDisciplineItem * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.oncology.vo.ContactTypesByDisciplineItemVo create( DomainObjectMap map, ims.oncology.domain.objects.ContactTypesByDisciplineItem domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.oncology.vo.ContactTypesByDisciplineItemVo valueObject = (ims.oncology.vo.ContactTypesByDisciplineItemVo) map.getValueObject(domainObject, ims.oncology.vo.ContactTypesByDisciplineItemVo.class); if (null == valueObject) { valueObject = new ims.oncology.vo.ContactTypesByDisciplineItemVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.RefMan.domain.objects.CatsReferral object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.RefMan.vo.CatsReferralCallAttemptsVo create( DomainObjectMap map, ims.RefMan.domain.objects.CatsReferral domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.RefMan.vo.CatsReferralCallAttemptsVo valueObject = (ims.RefMan.vo.CatsReferralCallAttemptsVo) map.getValueObject(domainObject, ims.RefMan.vo.CatsReferralCallAttemptsVo.class); if (null == valueObject) { valueObject = new ims.RefMan.vo.CatsReferralCallAttemptsVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.vitals.domain.objects.Respiratory object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.RespiratoryForNursingNotesVo create( DomainObjectMap map, ims.core.vitals.domain.objects.Respiratory domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.RespiratoryForNursingNotesVo valueObject = (ims.core.vo.RespiratoryForNursingNotesVo) map.getValueObject(domainObject, ims.core.vo.RespiratoryForNursingNotesVo.class); if (null == valueObject) { valueObject = new ims.core.vo.RespiratoryForNursingNotesVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.nursing.assessment.domain.objects.EatingComponent object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.coe.vo.AssessmentEatingAndDrinking create( DomainObjectMap map, ims.nursing.assessment.domain.objects.EatingComponent domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.coe.vo.AssessmentEatingAndDrinking valueObject = (ims.coe.vo.AssessmentEatingAndDrinking) map.getValueObject(domainObject, ims.coe.vo.AssessmentEatingAndDrinking.class); if (null == valueObject) { valueObject = new ims.coe.vo.AssessmentEatingAndDrinking( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.clinical.domain.objects.PerfProcAndSignOutIntraOp object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.clinical.vo.PerformedProcAndSignOutIntraOpVo create( DomainObjectMap map, ims.clinical.domain.objects.PerfProcAndSignOutIntraOp domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.clinical.vo.PerformedProcAndSignOutIntraOpVo valueObject = (ims.clinical.vo.PerformedProcAndSignOutIntraOpVo) map.getValueObject( domainObject, ims.clinical.vo.PerformedProcAndSignOutIntraOpVo.class); if (null == valueObject) { valueObject = new ims.clinical.vo.PerformedProcAndSignOutIntraOpVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the * ims.therapies.mobilitytransfers.domain.objects.WheelchairAssessment object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.therapies.vo.WheelchairAssessmentVo create( DomainObjectMap map, ims.therapies.mobilitytransfers.domain.objects.WheelchairAssessment domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.therapies.vo.WheelchairAssessmentVo valueObject = (ims.therapies.vo.WheelchairAssessmentVo) map.getValueObject(domainObject, ims.therapies.vo.WheelchairAssessmentVo.class); if (null == valueObject) { valueObject = new ims.therapies.vo.WheelchairAssessmentVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.admin.domain.objects.EmergencyAttendance object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.emergency.vo.EmergencyAttendanceForTriageLiteVo create( DomainObjectMap map, ims.core.admin.domain.objects.EmergencyAttendance domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.emergency.vo.EmergencyAttendanceForTriageLiteVo valueObject = (ims.emergency.vo.EmergencyAttendanceForTriageLiteVo) map.getValueObject( domainObject, ims.emergency.vo.EmergencyAttendanceForTriageLiteVo.class); if (null == valueObject) { valueObject = new ims.emergency.vo.EmergencyAttendanceForTriageLiteVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the * ims.nursing.assessmenttools.domain.objects.SkinAssessmentFindings object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.nursing.vo.SkinAssessmentFindings create( DomainObjectMap map, ims.nursing.assessmenttools.domain.objects.SkinAssessmentFindings domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.nursing.vo.SkinAssessmentFindings valueObject = (ims.nursing.vo.SkinAssessmentFindings) map.getValueObject(domainObject, ims.nursing.vo.SkinAssessmentFindings.class); if (null == valueObject) { valueObject = new ims.nursing.vo.SkinAssessmentFindings( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.clinical.configuration.domain.objects.ProblemHotlistItem * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.clinicaladmin.vo.ProblemHotlistItemVo create( DomainObjectMap map, ims.clinical.configuration.domain.objects.ProblemHotlistItem domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.clinicaladmin.vo.ProblemHotlistItemVo valueObject = (ims.clinicaladmin.vo.ProblemHotlistItemVo) map.getValueObject(domainObject, ims.clinicaladmin.vo.ProblemHotlistItemVo.class); if (null == valueObject) { valueObject = new ims.clinicaladmin.vo.ProblemHotlistItemVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the * ims.coe.assessment.domain.objects.CommunicationSpeechAndLanguageUnderstanding object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.coe.vo.CommunicationUnderstanding create( DomainObjectMap map, ims.coe.assessment.domain.objects.CommunicationSpeechAndLanguageUnderstanding domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.coe.vo.CommunicationUnderstanding valueObject = (ims.coe.vo.CommunicationUnderstanding) map.getValueObject(domainObject, ims.coe.vo.CommunicationUnderstanding.class); if (null == valueObject) { valueObject = new ims.coe.vo.CommunicationUnderstanding( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.assessment.configuration.domain.objects.UserDefinedObject * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.assessment.vo.UserDefinedObjectListVo create( DomainObjectMap map, ims.assessment.configuration.domain.objects.UserDefinedObject domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.assessment.vo.UserDefinedObjectListVo valueObject = (ims.assessment.vo.UserDefinedObjectListVo) map.getValueObject(domainObject, ims.assessment.vo.UserDefinedObjectListVo.class); if (null == valueObject) { valueObject = new ims.assessment.vo.UserDefinedObjectListVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.admin.domain.objects.ReportBo object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.ReportVoForReportsToModalityConfigFormVo create( DomainObjectMap map, ims.core.admin.domain.objects.ReportBo domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.ReportVoForReportsToModalityConfigFormVo valueObject = (ims.core.vo.ReportVoForReportsToModalityConfigFormVo) map.getValueObject( domainObject, ims.core.vo.ReportVoForReportsToModalityConfigFormVo.class); if (null == valueObject) { valueObject = new ims.core.vo.ReportVoForReportsToModalityConfigFormVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.core.resource.domain.objects.ServiceActivity object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.core.vo.ServiceActivityForServiceConfigurationVo create( DomainObjectMap map, ims.core.resource.domain.objects.ServiceActivity domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.core.vo.ServiceActivityForServiceConfigurationVo valueObject = (ims.core.vo.ServiceActivityForServiceConfigurationVo) map.getValueObject( domainObject, ims.core.vo.ServiceActivityForServiceConfigurationVo.class); if (null == valueObject) { valueObject = new ims.core.vo.ServiceActivityForServiceConfigurationVo( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }
/** * Create the ValueObject from the ims.coe.assessment.domain.objects.AccommodationHomeFacilities * object. * * @param map DomainObjectMap of DomainObjects to already created ValueObjects. * @param domainObject */ public static ims.coe.vo.AccommodationHomeFacilities create( DomainObjectMap map, ims.coe.assessment.domain.objects.AccommodationHomeFacilities domainObject) { if (null == domainObject) { return null; } // check if the domainObject already has a valueObject created for it ims.coe.vo.AccommodationHomeFacilities valueObject = (ims.coe.vo.AccommodationHomeFacilities) map.getValueObject(domainObject, ims.coe.vo.AccommodationHomeFacilities.class); if (null == valueObject) { valueObject = new ims.coe.vo.AccommodationHomeFacilities( domainObject.getId(), domainObject.getVersion()); map.addValueObject(domainObject, valueObject); valueObject = insert(map, valueObject, domainObject); } return valueObject; }