当前位置: 首页>>代码示例>>Java>>正文


Java MosLiteEDVoCollection.size方法代码示例

本文整理汇总了Java中ims.emergency.vo.MosLiteEDVoCollection.size方法的典型用法代码示例。如果您正苦于以下问题:Java MosLiteEDVoCollection.size方法的具体用法?Java MosLiteEDVoCollection.size怎么用?Java MosLiteEDVoCollection.size使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ims.emergency.vo.MosLiteEDVoCollection的用法示例。


在下文中一共展示了MosLiteEDVoCollection.size方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: populateMedics

import ims.emergency.vo.MosLiteEDVoCollection; //导入方法依赖的package包/类
private void populateMedics(ILocation currentLocation) 
{
	MosLiteEDVoCollection medics=domain.getMedics(currentLocation);
	for(int i=0;i<medics.size();i++)
	{
		grdCurrentEmergDeptRow row=form.grdCurrentEmergDept().getRows().newRow();
		String str="";
		if(medics.get(i).getName().getTitleIsNotNull())
		{
			str=str+medics.get(i).getName().getTitle().toString();
		}
		if(medics.get(i).getName().getSurnameIsNotNull())
		{
			str=str+" "+medics.get(i).getName().getSurname().toString();
		}
		if(medics.get(i).getName().getForenameIsNotNull()) //WDEV-15947
		{
			str=str+" "+medics.get(i).getName().getForename().toString();
		}
			
		row.setMemberOfStaff(str);			
		row.setMedicImage(form.getImages().Emergency.DoctorEnabled16);
		
		String val=domain.getCurrentlyAllocatedCountsMedics(currentLocation, medics.get(i));
		row.setCurrentlyAllocatedTotal(val.equals("0")?"-":val);
		
		val=domain.getMedicsToBeSeenCounts(currentLocation, medics.get(i));
		row.setTobeSeen(val.equals("0")?"-":val);
		
		val=domain.getMedicsSeenCounts(currentLocation, medics.get(i));
		row.setSeen(val.equals("0")?"-":val);
		
		val=domain.getAwaitingCompletionCounts(currentLocation, medics.get(i));
		row.setAwaitingCompletion(val.equals("0")?"-":val);
	}
	
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:38,代码来源:Logic.java

示例2: populateNurses

import ims.emergency.vo.MosLiteEDVoCollection; //导入方法依赖的package包/类
private void populateNurses(ILocation currentLocation) 
{
	// TODO Auto-generated method stub
	MosLiteEDVoCollection nurses=domain.getNurses(currentLocation);
	for(int i=0;i<nurses.size();i++)
	{
		grdCurrentEmergDeptRow row=form.grdCurrentEmergDept().getRows().newRow();
		String str="";
		if(nurses.get(i).getName().getTitleIsNotNull())
		{
			str=str+nurses.get(i).getName().getTitle().toString();
		}
		if(nurses.get(i).getName().getSurnameIsNotNull())
		{
			str=str+" "+nurses.get(i).getName().getSurname().toString();
		}
		if(nurses.get(i).getName().getSurnameIsNotNull())
		{
			str=str+" "+nurses.get(i).getName().getForename().toString();
		}
			
		row.setMemberOfStaff(str);
		row.setMedicImage(form.getImages().Emergency.NurseEnabled16);
		
		String val=domain.getCurrentlyAllocatedNursesCounts(currentLocation, nurses.get(i));
		row.setCurrentlyAllocatedTotal(val.equals("0")?"-":val);
		
		val=domain.getNursesToBeSeenCounts(currentLocation, nurses.get(i));
		row.setTobeSeen(val.equals("0")?"-":val);
		
		val=domain.getNursesSeenCounts(currentLocation, nurses.get(i));
		row.setSeen(val.equals("0")?"-":val);
		
		val=domain.getNursesAwaitingCompletionCounts(currentLocation, nurses.get(i));
		row.setAwaitingCompletion(val.equals("0")?"-":val);
	}
}
 
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:38,代码来源:Logic.java


注:本文中的ims.emergency.vo.MosLiteEDVoCollection.size方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。