Java 类ims.nursing.vo.CarePlanForCopyCarePlansVo 实例源码

项目:AvoinApotti    文件:CopyCarePlansImpl.java   
public CarePlanForCopyCarePlansVo getCarePlan(CarePlanRefVo carePlanRef)
{
    if (carePlanRef == null || carePlanRef.getID_CarePlan() == null)
    {
        throw new CodingRuntimeException("Cannot get CarePlanVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    CarePlan domainCarePlan = (CarePlan) factory.getDomainObject(CarePlan.class, carePlanRef.getID_CarePlan());

    return CarePlanForCopyCarePlansVoAssembler.create(domainCarePlan);
}
项目:openMAXIMS    文件:CopyCarePlansImpl.java   
public CarePlanForCopyCarePlansVo getCarePlan(CarePlanRefVo carePlanRef)
{
    if (carePlanRef == null || carePlanRef.getID_CarePlan() == null)
    {
        throw new CodingRuntimeException("Cannot get CarePlanVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    CarePlan domainCarePlan = (CarePlan) factory.getDomainObject(CarePlan.class, carePlanRef.getID_CarePlan());

    return CarePlanForCopyCarePlansVoAssembler.create(domainCarePlan);
}
项目:openMAXIMS    文件:CopyCarePlansImpl.java   
public CarePlanForCopyCarePlansVo getCarePlan(CarePlanRefVo carePlanRef)
{
    if (carePlanRef == null || carePlanRef.getID_CarePlan() == null)
    {
        throw new CodingRuntimeException("Cannot get CarePlanVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    CarePlan domainCarePlan = (CarePlan) factory.getDomainObject(CarePlan.class, carePlanRef.getID_CarePlan());

    return CarePlanForCopyCarePlansVoAssembler.create(domainCarePlan);
}
项目:openmaxims-linux    文件:CopyCarePlansImpl.java   
public CarePlanForCopyCarePlansVo getCarePlan(CarePlanRefVo carePlanRef)
{
    if (carePlanRef == null || carePlanRef.getID_CarePlan() == null)
    {
        throw new CodingRuntimeException("Cannot get CarePlanVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    CarePlan domainCarePlan = (CarePlan) factory.getDomainObject(CarePlan.class, carePlanRef.getID_CarePlan());

    return CarePlanForCopyCarePlansVoAssembler.create(domainCarePlan);
}