本文整理汇总了Java中ims.core.generic.domain.objects.ScreenHint类的典型用法代码示例。如果您正苦于以下问题:Java ScreenHint类的具体用法?Java ScreenHint怎么用?Java ScreenHint使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ScreenHint类属于ims.core.generic.domain.objects包,在下文中一共展示了ScreenHint类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getScreenHint
import ims.core.generic.domain.objects.ScreenHint; //导入依赖的package包/类
/**
* getClinicalNote
*/
public ims.core.vo.ScreenHintVo getScreenHint(ims.core.generic.vo.ScreenHintRefVo hintRefVo)
{
if(hintRefVo == null)
throw new CodingRuntimeException("hintRefVo is null");
DomainFactory factory = getDomainFactory();
return ScreenHintVoAssembler.create((ScreenHint)factory.getDomainObject(ScreenHint.class, hintRefVo.getID_ScreenHint()));
}
示例2: saveHint
import ims.core.generic.domain.objects.ScreenHint; //导入依赖的package包/类
public ims.core.vo.ScreenHintVo saveHint(ims.core.vo.ScreenHintVo hintVo) throws ims.domain.exceptions.DomainInterfaceException, ims.domain.exceptions.StaleObjectException
{
if(hintVo == null)
throw new CodingRuntimeException("hintVo is null");
if(!hintVo.isValidated())
throw new CodingRuntimeException("hintVo Value Object has not been validated");
DomainFactory factory = getDomainFactory();
ScreenHint doHint = ScreenHintVoAssembler.extractScreenHint(factory, hintVo);
factory.save(doHint);
return ScreenHintVoAssembler.create(doHint);
}
示例3: getHint
import ims.core.generic.domain.objects.ScreenHint; //导入依赖的package包/类
public IScreenHint getHint(String hintId)
{
return ScreenHintVoAssembler.create(ScreenHint.getScreenHintFromImsId(getDomainFactory(),hintId));
}