本文整理汇总了Java中ims.coe.vo.Discharge.setNotes方法的典型用法代码示例。如果您正苦于以下问题:Java Discharge.setNotes方法的具体用法?Java Discharge.setNotes怎么用?Java Discharge.setNotes使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ims.coe.vo.Discharge
的用法示例。
在下文中一共展示了Discharge.setNotes方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: populateFunctionalVO
import ims.coe.vo.Discharge; //导入方法依赖的package包/类
private boolean populateFunctionalVO(Discharge dischargeVO)
{
// Populate Discharge Assessment VO
if (!dischargeVO.getAssessmentIsNotNull())
dischargeVO.setAssessment(new DischargeAssessment());
DateTime dt = new DateTime(form.layerControl1().tab2().dteFuncAssess().getValue(), form.layerControl1().tab2().timFuncAssess().getValue());
dischargeVO.getAssessment().setDateTime(dt);
Object hcpLite = domain.getHcpLiteUser();
dischargeVO.getAssessment().setHCP(hcpLite != null ? (HcpLiteVo) hcpLite : null);
if (dischargeVO.getCareContext() == null)
dischargeVO.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
dischargeVO.setNotes(form.layerControl1().tab2().textBoxNotes().getValue());
// Clear the Functional and Support Collection
dischargeVO.getAssessment().setFunctionalAndSupport(new DischargeFunctionalCollection());
for (int i = 0; i < form.layerControl1().tab2().gridFunctional().getRows().size(); i++)
{
populateVo(form.layerControl1().tab2().gridFunctional().getRows().get(i), dischargeVO);
}
return true;
}