Java 类ims.ocrr.vo.lookups.ReportToType 实例源码

项目:AvoinApotti    文件:Logic.java   
private DynamicGridRow addOtherRowTodyngrdReportTo()
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.STRING);
    cellReportTo.setTooltip("Please enter a Name");
    cellReportTo.setStringMaxLength(149); //WDEV-14450
    cellReportTo.setReadOnly(false);
    DynamicGridCell cellAddress = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.STRING);
    cellAddress.setTooltip("Please enter an Address");
    cellAddress.setStringMaxLength(150); //WDEV-14450
    cellAddress.setReadOnly(false);

    row.setIdentifier(ReportToType.FREE);
    return row;
}
项目:AvoinApotti    文件:Logic.java   
@SuppressWarnings("rawtypes")
private DynamicGridRow addQueryComboRowTodyngrdReportTo(Class classType)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setIdentifier(classType);
    if (classType.equals(MemberOfStaffRefVo.class))
    {
        cellReportTo.setTooltip("Please search for a Member Of Staff");
        row.setIdentifier(ReportToType.MOS);
    }
    else
    {
        cellReportTo.setTooltip("Please search for a GP");
        row.setIdentifier(ReportToType.GP);
    }
    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
private DynamicGridRow addOtherRowTodyngrdReportTo()
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.STRING);
    cellReportTo.setTooltip("Please enter a Name");
    cellReportTo.setStringMaxLength(149); //WDEV-14450
    cellReportTo.setReadOnly(false);
    DynamicGridCell cellAddress = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.STRING);
    cellAddress.setTooltip("Please enter an Address");
    cellAddress.setStringMaxLength(150); //WDEV-14450
    cellAddress.setReadOnly(false);

    row.setIdentifier(ReportToType.FREE);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
@SuppressWarnings("rawtypes")
private DynamicGridRow addQueryComboRowTodyngrdReportTo(Class classType)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setIdentifier(classType);
    if (classType.equals(MemberOfStaffRefVo.class))
    {
        cellReportTo.setTooltip("Please search for a Member Of Staff");
        row.setIdentifier(ReportToType.MOS);
    }
    else
    {
        cellReportTo.setTooltip("Please search for a GP");
        row.setIdentifier(ReportToType.GP);
    }
    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
private DynamicGridRow addOtherRowTodyngrdReportTo()
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.STRING);
    cellReportTo.setTooltip("Please enter a Name");
    cellReportTo.setStringMaxLength(149); //WDEV-14450
    cellReportTo.setReadOnly(false);
    DynamicGridCell cellAddress = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.STRING);
    cellAddress.setTooltip("Please enter an Address");
    cellAddress.setStringMaxLength(150); //WDEV-14450
    cellAddress.setReadOnly(false);

    row.setIdentifier(ReportToType.FREE);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
@SuppressWarnings("rawtypes")
private DynamicGridRow addQueryComboRowTodyngrdReportTo(Class classType)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setIdentifier(classType);
    if (classType.equals(MemberOfStaffRefVo.class))
    {
        cellReportTo.setTooltip("Please search for a Member Of Staff");
        row.setIdentifier(ReportToType.MOS);
    }
    else
    {
        cellReportTo.setTooltip("Please search for a GP");
        row.setIdentifier(ReportToType.GP);
    }
    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openmaxims-linux    文件:Logic.java   
private DynamicGridRow addOtherRowTodyngrdReportTo()
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.STRING);
    cellReportTo.setTooltip("Please enter a Name");
    cellReportTo.setStringMaxLength(149); //WDEV-14450
    cellReportTo.setReadOnly(false);
    DynamicGridCell cellAddress = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.STRING);
    cellAddress.setTooltip("Please enter an Address");
    cellAddress.setStringMaxLength(150); //WDEV-14450
    cellAddress.setReadOnly(false);

    row.setIdentifier(ReportToType.FREE);
    return row;
}
项目:openmaxims-linux    文件:Logic.java   
@SuppressWarnings("rawtypes")
private DynamicGridRow addQueryComboRowTodyngrdReportTo(Class classType)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();
    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setIdentifier(classType);
    if (classType.equals(MemberOfStaffRefVo.class))
    {
        cellReportTo.setTooltip("Please search for a Member Of Staff");
        row.setIdentifier(ReportToType.MOS);
    }
    else
    {
        cellReportTo.setTooltip("Please search for a GP");
        row.setIdentifier(ReportToType.GP);
    }
    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:AvoinApotti    文件:Logic.java   
private DynamicGridRow addHospitalComboRowTodyngrdReportTo(LocationType type)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    LocShortMappingsVoCollection voCollHospitals = listActiveHospitals();
    if (voCollHospitals == null || voCollHospitals.size() == 0)
    {
        engine.showMessage("No Hospitals Configured");
        return null;
    }

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();

    if (type.equals(LocationType.OUTPATIENT_DEPT))
        row.setIdentifier(ReportToType.OUTPAT);
    else
        row.setIdentifier(ReportToType.WARD);

    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.ENUMERATION);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setTooltip("Please select a Hospital");
    cellReportTo.setIdentifier(LocationType.HOSP);
    loadHospitals(voCollHospitals, cellReportTo);

    DynamicGridCell cellWardOrClinic = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(WARDOUTPAT_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellWardOrClinic.setAutoPostBack(true);
    cellWardOrClinic.setIdentifier(type);
    cellWardOrClinic.setReadOnly(true);
    cellWardOrClinic.setTooltip("Please select a " + type.toString());

    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
private DynamicGridRow addHospitalComboRowTodyngrdReportTo(LocationType type)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    LocShortMappingsVoCollection voCollHospitals = listActiveHospitals();
    if (voCollHospitals == null || voCollHospitals.size() == 0)
    {
        engine.showMessage("No Hospitals Configured");
        return null;
    }

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();

    if (type.equals(LocationType.OUTPATIENT_DEPT))
        row.setIdentifier(ReportToType.OUTPAT);
    else
        row.setIdentifier(ReportToType.WARD);

    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.ENUMERATION);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setTooltip("Please select a Hospital");
    cellReportTo.setIdentifier(LocationType.HOSP);
    loadHospitals(voCollHospitals, cellReportTo);

    DynamicGridCell cellWardOrClinic = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(WARDOUTPAT_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellWardOrClinic.setAutoPostBack(true);
    cellWardOrClinic.setIdentifier(type);
    cellWardOrClinic.setReadOnly(true);
    cellWardOrClinic.setTooltip("Please select a " + type.toString());

    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openMAXIMS    文件:Logic.java   
private DynamicGridRow addHospitalComboRowTodyngrdReportTo(LocationType type)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    LocShortMappingsVoCollection voCollHospitals = listActiveHospitals();
    if (voCollHospitals == null || voCollHospitals.size() == 0)
    {
        engine.showMessage("No Hospitals Configured");
        return null;
    }

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();

    if (type.equals(LocationType.OUTPATIENT_DEPT))
        row.setIdentifier(ReportToType.OUTPAT);
    else
        row.setIdentifier(ReportToType.WARD);

    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.ENUMERATION);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setTooltip("Please select a Hospital");
    cellReportTo.setIdentifier(LocationType.HOSP);
    loadHospitals(voCollHospitals, cellReportTo);

    DynamicGridCell cellWardOrClinic = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(WARDOUTPAT_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellWardOrClinic.setAutoPostBack(true);
    cellWardOrClinic.setIdentifier(type);
    cellWardOrClinic.setReadOnly(true);
    cellWardOrClinic.setTooltip("Please select a " + type.toString());

    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}
项目:openmaxims-linux    文件:Logic.java   
private DynamicGridRow addHospitalComboRowTodyngrdReportTo(LocationType type)
{
    if (maxNoOfReportToRowsEqualsFlagValue())
        return null;

    LocShortMappingsVoCollection voCollHospitals = listActiveHospitals();
    if (voCollHospitals == null || voCollHospitals.size() == 0)
    {
        engine.showMessage("No Hospitals Configured");
        return null;
    }

    DynamicGridRow row = form.lyrDetails().tabGenDetails().dyngrdReportTo().getRows().newRow();

    if (type.equals(LocationType.OUTPATIENT_DEPT))
        row.setIdentifier(ReportToType.OUTPAT);
    else
        row.setIdentifier(ReportToType.WARD);

    DynamicGridCell cellReportTo = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(REPORTTO_COLUMN), DynamicCellType.ENUMERATION);
    cellReportTo.setAutoPostBack(true);
    cellReportTo.setReadOnly(false);
    cellReportTo.setTooltip("Please select a Hospital");
    cellReportTo.setIdentifier(LocationType.HOSP);
    loadHospitals(voCollHospitals, cellReportTo);

    DynamicGridCell cellWardOrClinic = row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(WARDOUTPAT_COLUMN), DynamicCellType.QUERYCOMBOBOX);
    cellWardOrClinic.setAutoPostBack(true);
    cellWardOrClinic.setIdentifier(type);
    cellWardOrClinic.setReadOnly(true);
    cellWardOrClinic.setTooltip("Please select a " + type.toString());

    row.getCells().newCell(form.lyrDetails().tabGenDetails().dyngrdReportTo().getColumns().getByIdentifier(ADDRESS_COLUMN), DynamicCellType.LABEL);
    return row;
}