当前位置: 首页>>代码示例>>Java>>正文


Java NurAssessmentAccommodationPropertyVoAssembler类代码示例

本文整理汇总了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");
	}
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:33,代码来源:NurAssessmentComponentImpl.java


注:本文中的ims.spinalinjuries.vo.domain.NurAssessmentAccommodationPropertyVoAssembler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。