Java 类ims.emergency.vo.TrackingCubicleRoomBedVo 实例源码

项目:AvoinApotti    文件:TrackingImpl.java   
private TrackingCubicleRoomBedVo assembleCubicleRoomBed(String cubicle)
{
    if(cubicle == null)
        return null;

    TrackingCubicleRoomBedVo tempVo = new TrackingCubicleRoomBedVo();
    tempVo.setCubicleRoomBedName(cubicle);

    return tempVo;

}
项目:openMAXIMS    文件:Logic.java   
private void newInstanceNewClick()
{
    clear();

    form.getLocalContext().setCurrentTracking(domain.getTracking(form.getGlobalContext().Emergency.getTracking())); //WDEV-15827
    form.getLocalContext().setCurrentCubicleAllocation(new CubicleAllocationVo());

    MemberOfStaffLiteVo temp = null;

    if(domain.getMosUser() instanceof MemberOfStaffLiteVo)
    {
        temp = (MemberOfStaffLiteVo) domain.getMosUser();
    }

    form.ccAllocatedBy().setValue(temp);

    if(form.getLocalContext().getCurrentTrackingIsNotNull())
    {
        TrackingAreaLiteVo trackingArea = form.getLocalContext().getCurrentTracking().getCurrentArea();
        form.lblNameOfTrackingArea().setValue(trackingArea != null ? trackingArea.getAreaDisplayName():"");
    }
    else
    {
        form.lblNameOfTrackingArea().setValue("");
    }

    form.dtimAllocatedCubicle().setValue(new DateTime());
    initializeCubiclesRoomsBedsCombo();             //wdev-16011

    //wdev-16068
    if( form.cmbCubicle().getValues().size() == 1)
    {
        TrackingCubicleRoomBedVo tempvo = (TrackingCubicleRoomBedVo) form.cmbCubicle().getValues().get(0);
        form.cmbCubicle().setValue(tempvo);
    }
    //----------------
    form.setMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:TrackingImpl.java   
private TrackingCubicleRoomBedVo assembleCubicleRoomBed(String cubicle)
{
    if(cubicle == null)
        return null;

    TrackingCubicleRoomBedVo tempVo = new TrackingCubicleRoomBedVo();
    tempVo.setCubicleRoomBedName(cubicle);

    return tempVo;

}
项目:openMAXIMS    文件:Logic.java   
private void newInstanceNewClick()
{
    clear();

    form.getLocalContext().setCurrentTracking(domain.getTracking(form.getGlobalContext().Emergency.getTracking())); //WDEV-15827
    form.getLocalContext().setCurrentCubicleAllocation(new CubicleAllocationVo());

    MemberOfStaffLiteVo temp = null;

    if(domain.getMosUser() instanceof MemberOfStaffLiteVo)
    {
        temp = (MemberOfStaffLiteVo) domain.getMosUser();
    }

    form.ccAllocatedBy().setValue(temp);

    if(form.getLocalContext().getCurrentTrackingIsNotNull())
    {
        TrackingAreaLiteVo trackingArea = form.getLocalContext().getCurrentTracking().getCurrentArea();
        form.lblNameOfTrackingArea().setValue(trackingArea != null ? trackingArea.getAreaDisplayName():"");
    }
    else
    {
        form.lblNameOfTrackingArea().setValue("");
    }

    form.dtimAllocatedCubicle().setValue(new DateTime());
    initializeCubiclesRoomsBedsCombo();             //wdev-16011

    //wdev-16068
    if( form.cmbCubicle().getValues().size() == 1)
    {
        TrackingCubicleRoomBedVo tempvo = (TrackingCubicleRoomBedVo) form.cmbCubicle().getValues().get(0);
        form.cmbCubicle().setValue(tempvo);
    }
    //----------------
    form.setMode(FormMode.EDIT);
}
项目:openMAXIMS    文件:TrackingImpl.java   
private TrackingCubicleRoomBedVo assembleCubicleRoomBed(String cubicle)
{
    if(cubicle == null)
        return null;

    TrackingCubicleRoomBedVo tempVo = new TrackingCubicleRoomBedVo();
    tempVo.setCubicleRoomBedName(cubicle);

    return tempVo;

}
项目:openmaxims-linux    文件:Logic.java   
private void newInstanceNewClick()
{
    clear();

    form.getLocalContext().setCurrentTracking(domain.getTracking(form.getGlobalContext().Emergency.getTracking())); //WDEV-15827
    form.getLocalContext().setCurrentCubicleAllocation(new CubicleAllocationVo());

    MemberOfStaffLiteVo temp = null;

    if(domain.getMosUser() instanceof MemberOfStaffLiteVo)
    {
        temp = (MemberOfStaffLiteVo) domain.getMosUser();
    }

    form.ccAllocatedBy().setValue(temp);

    if(form.getLocalContext().getCurrentTrackingIsNotNull())
    {
        TrackingAreaLiteVo trackingArea = form.getLocalContext().getCurrentTracking().getCurrentArea();
        form.lblNameOfTrackingArea().setValue(trackingArea != null ? trackingArea.getAreaDisplayName():"");
    }
    else
    {
        form.lblNameOfTrackingArea().setValue("");
    }

    form.dtimAllocatedCubicle().setValue(new DateTime());
    initializeCubiclesRoomsBedsCombo();             //wdev-16011

    //wdev-16068
    if( form.cmbCubicle().getValues().size() == 1)
    {
        TrackingCubicleRoomBedVo tempvo = (TrackingCubicleRoomBedVo) form.cmbCubicle().getValues().get(0);
        form.cmbCubicle().setValue(tempvo);
    }
    //----------------
    form.setMode(FormMode.EDIT);
}
项目:openmaxims-linux    文件:TrackingImpl.java   
private TrackingCubicleRoomBedVo assembleCubicleRoomBed(String cubicle)
{
    if(cubicle == null)
        return null;

    TrackingCubicleRoomBedVo tempVo = new TrackingCubicleRoomBedVo();
    tempVo.setCubicleRoomBedName(cubicle);

    return tempVo;

}