本文整理汇总了Java中ims.spinalinjuries.vo.domain.NurAssessmentAccommodationPropertyVoAssembler类的典型用法代码示例。如果您正苦于以下问题:Java NurAssessmentAccommodationPropertyVoAssembler类的具体用法?Java NurAssessmentAccommodationPropertyVoAssembler怎么用?Java NurAssessmentAccommodationPropertyVoAssembler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NurAssessmentAccommodationPropertyVoAssembler类属于ims.spinalinjuries.vo.domain包,在下文中一共展示了NurAssessmentAccommodationPropertyVoAssembler类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getComponent
import ims.spinalinjuries.vo.domain.NurAssessmentAccommodationPropertyVoAssembler; //导入依赖的package包/类
public AssessmentComponent getComponent(AssessmentComponentRefVo voRefAssessComp)
{
DomainFactory factory = getDomainFactory();
ims.nursing.assessment.domain.objects.AssessmentComponent comp = (ims.nursing.assessment.domain.objects.AssessmentComponent) factory.getDomainObject(ims.nursing.assessment.domain.objects.AssessmentComponent.class, voRefAssessComp.getID_AssessmentComponent());
if (comp instanceof AccommodationandPropertyComponent)
return NurAssessmentAccommodationPropertyVoAssembler.create((AccommodationandPropertyComponent)comp);
else if (comp instanceof BreathingComponent)
return NurAssessmentBreathingVoAssembler.create((BreathingComponent)comp);
else if (comp instanceof NurMobilityComponent)
return NurAssessmentMobilityVoAssembler.create((NurMobilityComponent)comp);
else if (comp instanceof NurCommunicationComponent)
return NurAssessmentCommunicationVoAssembler.create((NurCommunicationComponent) comp);
else if (comp instanceof SafeEnvironmentComponent)
return NurAssessmentSafeEnvironmentVoAssembler.create((SafeEnvironmentComponent) comp);
else if (comp instanceof PersonalDetailsComponent)
return NurAssessmentPersonalDetailsVoAssembler.create((PersonalDetailsComponent) comp);
else if (comp instanceof NurBowelComponent)
return NurAssessmentBowelsVoAssembler.create((NurBowelComponent) comp);
else if (comp instanceof SkinComponent)
return NurAssessmentSkinVoAssembler.create((SkinComponent) comp);
else if (comp instanceof NurBladderComponent)
return NurAssessmentBladderVoAssembler.create((NurBladderComponent) comp);
else if (comp instanceof CleansingandDressingComponent)
return NurAssessmentCleansingDressingVoAssembler.create((CleansingandDressingComponent) comp);
else if (comp instanceof NurEatingComponent)
return NurAssessmentEatingVoAssembler.create((NurEatingComponent) comp);
else
{
throw new DomainRuntimeException("Invalid Assessment Component Type Specified (" + comp.getComponentType().toString()+ ")in AssessmentComponentImpl.getComponent");
}
}