本文整理汇总了Java中ims.core.vo.CareContextHistVo类的典型用法代码示例。如果您正苦于以下问题:Java CareContextHistVo类的具体用法?Java CareContextHistVo怎么用?Java CareContextHistVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CareContextHistVo类属于ims.core.vo包,在下文中一共展示了CareContextHistVo类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onFormOpen
import ims.core.vo.CareContextHistVo; //导入依赖的package包/类
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
form.grdCareContextHistory().getRows().clear();
CareContextSmallVo tempVo = form.getGlobalContext().Clinical.getCareContextWithHistory();
if(tempVo != null && tempVo.getCareContextHistoryIsNotNull() && tempVo.getCareContextHistory().size() > 0)
{
CareContextHistVoCollection tempColl = tempVo.getCareContextHistory();
tempColl.sort(new CreationDateComparator(SortOrder.ASCENDING));
for(int i = 0;i < tempColl.size();i++)
{
CareContextHistVo voHist = tempColl.get(i);
if(voHist != null)
populateChildGrid(voHist);
}
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:19,代码来源:Logic.java
示例2: populateChildGrid
import ims.core.vo.CareContextHistVo; //导入依赖的package包/类
protected void populateChildGrid(CareContextHistVo voHist)
{
if(voHist == null)
return;
grdCareContextHistoryRow careContextRow = form.grdCareContextHistory().getRows().newRow();
careContextRow.setColumnContextType(voHist.getContextIsNotNull() ? voHist.getContext().getIItemText():"");
careContextRow.setTooltipForColumnContextType(voHist.getContextIsNotNull() ? voHist.getContext().getIItemText():"");
careContextRow.setColumnStartDateTime(voHist.getStartDateTimeIsNotNull() ? voHist.getStartDateTime().toString():"");
careContextRow.setTooltipForColumnStartDateTime(voHist.getStartDateTimeIsNotNull() ? voHist.getStartDateTime().toString():"");
careContextRow.setColumnEndDateTime(voHist.getEndDateTimeIsNotNull() ? voHist.getEndDateTime().toString():"");
careContextRow.setTooltipForColumnEndDateTime(voHist.getEndDateTimeIsNotNull() ? voHist.getEndDateTime().toString():"");
careContextRow.setColumnResponsibleHCP(voHist.getResponsibleHCPIsNotNull() ? voHist.getResponsibleHCP().getMos().toString():"");
careContextRow.setTooltipForColumnResponsibleHCP(voHist.getResponsibleHCPIsNotNull() ? voHist.getResponsibleHCP().getMos().toString():"");
careContextRow.setColumnChangedDateTime(voHist.getSystemInformationIsNotNull() && voHist.getSystemInformation().getCreationDateTime() != null ? voHist.getSystemInformation().getCreationDateTime().toString():"");
careContextRow.setTooltipForColumnChangedDateTime(voHist.getSystemInformationIsNotNull() && voHist.getSystemInformation().getCreationDateTime() != null ? voHist.getSystemInformation().getCreationDateTime().toString():"");
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:Logic.java
示例3: compare
import ims.core.vo.CareContextHistVo; //导入依赖的package包/类
public int compare(Object ob1, Object ob2)
{
DateTime pdate1 = null;
DateTime pdate2 = null;
if(ob1 instanceof CareContextHistVo )
{
CareContextHistVo ps1 = (CareContextHistVo)ob1;
pdate1 = ps1 != null && ps1.getSystemInformationIsNotNull() ? ps1.getSystemInformation().getCreationDateTime():null;
}
if(ob2 instanceof CareContextHistVo)
{
CareContextHistVo ps2 = (CareContextHistVo)ob2;
pdate2 = ps2 != null && ps2.getSystemInformationIsNotNull() ? ps2.getSystemInformation().getCreationDateTime():null;
}
if(pdate1 != null )
return pdate1.compareTo(pdate2)*direction;
if(pdate2 != null)
return (-1)*direction;
return 0;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java
注:本文中的ims.core.vo.CareContextHistVo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论