本文整理汇总了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);
}
}
示例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);
}
}