java类ims.core.vo.InpatientEpisodeForTransfersVo的实例源码

TransfersImpl.java 文件源码 项目:AvoinApotti 阅读 24 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo saveTransfer(InpatientEpisodeForTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null InpatientEpisodeForTransfersVo");

    DomainFactory factory = getDomainFactory();

    InpatientEpisode doTrans = InpatientEpisodeForTransfersVoAssembler.extractInpatientEpisode(factory, voTransfer);

    factory.save(doTrans);
    return InpatientEpisodeForTransfersVoAssembler.create(doTrans);     
}
TransfersImpl.java 文件源码 项目:openMAXIMS 阅读 20 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo saveTransfer(InpatientEpisodeForTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null InpatientEpisodeForTransfersVo");
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");

    DomainFactory factory = getDomainFactory();

    InpatientEpisode doTrans = InpatientEpisodeForTransfersVoAssembler.extractInpatientEpisode(factory, voTransfer);

    factory.save(doTrans);
    return InpatientEpisodeForTransfersVoAssembler.create(doTrans);     
}
TransfersImpl.java 文件源码 项目:openMAXIMS 阅读 18 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo saveTransfer(InpatientEpisodeForTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null InpatientEpisodeForTransfersVo");

    DomainFactory factory = getDomainFactory();

    InpatientEpisode doTrans = InpatientEpisodeForTransfersVoAssembler.extractInpatientEpisode(factory, voTransfer);

    factory.save(doTrans);
    return InpatientEpisodeForTransfersVoAssembler.create(doTrans);     
}
TransfersImpl.java 文件源码 项目:openmaxims-linux 阅读 21 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo saveTransfer(InpatientEpisodeForTransfersVo voTransfer) throws DomainInterfaceException, StaleObjectException 
{
    if (!voTransfer.isValidated())
        throw new CodingRuntimeException("Transfer Record has not been validated");
    if(voTransfer == null)
        throw new CodingRuntimeException("Cannot save null InpatientEpisodeForTransfersVo");

    DomainFactory factory = getDomainFactory();

    InpatientEpisode doTrans = InpatientEpisodeForTransfersVoAssembler.extractInpatientEpisode(factory, voTransfer);

    factory.save(doTrans);
    return InpatientEpisodeForTransfersVoAssembler.create(doTrans);     
}
TransfersImpl.java 文件源码 项目:AvoinApotti 阅读 18 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo getCurrentTransferRecord(InpatientEpisodeRefVo ipRefVo)
{
    DomainFactory factory = getDomainFactory();
    return InpatientEpisodeForTransfersVoAssembler.create((InpatientEpisode) factory.getDomainObject(InpatientEpisode.class, ipRefVo.getID_InpatientEpisode()));
}
TransfersImpl.java 文件源码 项目:openMAXIMS 阅读 21 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo getCurrentTransferRecord(InpatientEpisodeRefVo ipRefVo)
{
    DomainFactory factory = getDomainFactory();
    return InpatientEpisodeForTransfersVoAssembler.create((InpatientEpisode) factory.getDomainObject(InpatientEpisode.class, ipRefVo.getID_InpatientEpisode()));
}
TransfersImpl.java 文件源码 项目:openMAXIMS 阅读 18 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo getCurrentTransferRecord(InpatientEpisodeRefVo ipRefVo)
{
    DomainFactory factory = getDomainFactory();
    return InpatientEpisodeForTransfersVoAssembler.create((InpatientEpisode) factory.getDomainObject(InpatientEpisode.class, ipRefVo.getID_InpatientEpisode()));
}
TransfersImpl.java 文件源码 项目:openmaxims-linux 阅读 18 收藏 0 点赞 0 评论 0
public InpatientEpisodeForTransfersVo getCurrentTransferRecord(InpatientEpisodeRefVo ipRefVo)
{
    DomainFactory factory = getDomainFactory();
    return InpatientEpisodeForTransfersVoAssembler.create((InpatientEpisode) factory.getDomainObject(InpatientEpisode.class, ipRefVo.getID_InpatientEpisode()));
}


问题


面经


文章

微信
公众号

扫码关注公众号