本文整理汇总了Java中ims.oncology.vo.CopyChemotherapyFractionsVo类的典型用法代码示例。如果您正苦于以下问题:Java CopyChemotherapyFractionsVo类的具体用法?Java CopyChemotherapyFractionsVo怎么用?Java CopyChemotherapyFractionsVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CopyChemotherapyFractionsVo类属于ims.oncology.vo包,在下文中一共展示了CopyChemotherapyFractionsVo类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onFormOpen
import ims.oncology.vo.CopyChemotherapyFractionsVo; //导入依赖的package包/类
@Override
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
CopyChemotherapyFractionsVoCollection voFractions = domain.listFractionsByChemotherapyDetail(form.getGlobalContext().Oncology.getChemoTherapyDetailRecord());
if(voFractions != null)
{
for (int i = 0 ; i < voFractions.size() ; i ++)
{
CopyChemotherapyFractionsVo voFraction = voFractions.get(i);
grdPreviousRow row = form.grdPrevious().getRows().newRow();
row.setColumnDate(voFraction.getDayDetailsIsNotNull() && voFraction.getDayDetails().getDayDateIsNotNull() ? voFraction.getDayDetails().getDayDate().toString() : "<no date>");
row.setColumnCycleNo(voFraction.getCycleNumber());
row.setColumnDayNo(voFraction.getDayDetailsIsNotNull() && voFraction.getDayDetails().getDayNumberIsNotNull() ? voFraction.getDayDetails().getDayNumber().toString() : "<no day number>");
row.setValue(voFraction.getDayDetails());
}
}
else
{
engine.showMessage("No existing Fractions available to copy from");
engine.close(DialogResult.CANCEL);
}
}