Java 类ims.core.vo.lookups.RACPRiskFactorCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateRiskFactorsFromGrid(RACPSymptomRiskFactorsVo symptomRiskFactorsVo) {
    RACPRiskFactorCollection collRACPRiskFactor  = new RACPRiskFactorCollection();
    for (int i = 0; i < form.grdRisks().getRows().size(); i++)
    {
        grdRisksRow row = form.grdRisks().getRows().get(i);
        if(row.getcolSelect())
            collRACPRiskFactor.add(row.getValue());
    }

    if(collRACPRiskFactor.size()>0)
        symptomRiskFactorsVo.setRiskFactors(collRACPRiskFactor);
    else
        symptomRiskFactorsVo.setRiskFactors(null);

}
项目:openMAXIMS    文件:Logic.java   
private void populateRiskFactorsFromGrid(RACPSymptomRiskFactorsVo symptomRiskFactorsVo) {
    RACPRiskFactorCollection collRACPRiskFactor  = new RACPRiskFactorCollection();
    for (int i = 0; i < form.grdRisks().getRows().size(); i++)
    {
        grdRisksRow row = form.grdRisks().getRows().get(i);
        if(row.getcolSelect())
            collRACPRiskFactor.add(row.getValue());
    }

    if(collRACPRiskFactor.size()>0)
        symptomRiskFactorsVo.setRiskFactors(collRACPRiskFactor);
    else
        symptomRiskFactorsVo.setRiskFactors(null);

}
项目:openMAXIMS    文件:Logic.java   
private void populateRiskFactorsFromGrid(RACPSymptomRiskFactorsVo symptomRiskFactorsVo) {
    RACPRiskFactorCollection collRACPRiskFactor  = new RACPRiskFactorCollection();
    for (int i = 0; i < form.grdRisks().getRows().size(); i++)
    {
        grdRisksRow row = form.grdRisks().getRows().get(i);
        if(row.getcolSelect())
            collRACPRiskFactor.add(row.getValue());
    }

    if(collRACPRiskFactor.size()>0)
        symptomRiskFactorsVo.setRiskFactors(collRACPRiskFactor);
    else
        symptomRiskFactorsVo.setRiskFactors(null);

}
项目:openmaxims-linux    文件:Logic.java   
private void populateRiskFactorsFromGrid(RACPSymptomRiskFactorsVo symptomRiskFactorsVo) {
    RACPRiskFactorCollection collRACPRiskFactor  = new RACPRiskFactorCollection();
    for (int i = 0; i < form.grdRisks().getRows().size(); i++)
    {
        grdRisksRow row = form.grdRisks().getRows().get(i);
        if(row.getcolSelect())
            collRACPRiskFactor.add(row.getValue());
    }

    if(collRACPRiskFactor.size()>0)
        symptomRiskFactorsVo.setRiskFactors(collRACPRiskFactor);
    else
        symptomRiskFactorsVo.setRiskFactors(null);

}