Java 类ims.therapies.vo.TreatmentEquipmentConfigVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateListControl(TreatmentEquipmentConfigVoCollection voTreatEquipConfigColl)
{
    clear();

    if (voTreatEquipConfigColl != null)
    {
        GenForm.grdDetailsRow row;
        for (int i =0; i < voTreatEquipConfigColl.size();i++)
        {
            row = form.grdDetails().getRows().newRow();
            row.setValue(voTreatEquipConfigColl.get(i));

            row.setColEquipType(voTreatEquipConfigColl.get(i).getType().toString());            
            row.setColDesc(voTreatEquipConfigColl.get(i).getDescription());
            row.setColModel(voTreatEquipConfigColl.get(i).getModel());
            row.setColSerial(voTreatEquipConfigColl.get(i).getSerialNumber());                              
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(TreatmentEquipmentConfigVoCollection voTreatEquipConfigColl)
{
    clear();

    if (voTreatEquipConfigColl != null)
    {
        GenForm.grdDetailsRow row;
        for (int i =0; i < voTreatEquipConfigColl.size();i++)
        {
            row = form.grdDetails().getRows().newRow();
            row.setValue(voTreatEquipConfigColl.get(i));

            row.setColEquipType(voTreatEquipConfigColl.get(i).getType().toString());            
            row.setColDesc(voTreatEquipConfigColl.get(i).getDescription());
            row.setColModel(voTreatEquipConfigColl.get(i).getModel());
            row.setColSerial(voTreatEquipConfigColl.get(i).getSerialNumber());                              
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateListControl(TreatmentEquipmentConfigVoCollection voTreatEquipConfigColl)
{
    clear();

    if (voTreatEquipConfigColl != null)
    {
        GenForm.grdDetailsRow row;
        for (int i =0; i < voTreatEquipConfigColl.size();i++)
        {
            row = form.grdDetails().getRows().newRow();
            row.setValue(voTreatEquipConfigColl.get(i));

            row.setColEquipType(voTreatEquipConfigColl.get(i).getType().toString());            
            row.setColDesc(voTreatEquipConfigColl.get(i).getDescription());
            row.setColModel(voTreatEquipConfigColl.get(i).getModel());
            row.setColSerial(voTreatEquipConfigColl.get(i).getSerialNumber());                              
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateListControl(TreatmentEquipmentConfigVoCollection voTreatEquipConfigColl)
{
    clear();

    if (voTreatEquipConfigColl != null)
    {
        GenForm.grdDetailsRow row;
        for (int i =0; i < voTreatEquipConfigColl.size();i++)
        {
            row = form.grdDetails().getRows().newRow();
            row.setValue(voTreatEquipConfigColl.get(i));

            row.setColEquipType(voTreatEquipConfigColl.get(i).getType().toString());            
            row.setColDesc(voTreatEquipConfigColl.get(i).getDescription());
            row.setColModel(voTreatEquipConfigColl.get(i).getModel());
            row.setColSerial(voTreatEquipConfigColl.get(i).getSerialNumber());                              
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadMachineUsedCombo()
{               
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.ULTRASOUND);
    if (voCollTreatmentEquipment != null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
            form.ctnUltra().lyrUltra().tabDetails().cmbMachine().newRow(voCollTreatmentEquipment.get(i), 
                                                        voCollTreatmentEquipment.get(i).getDescription());
    }
}
项目:AvoinApotti    文件:Logic.java   
private void loadMachineUsedCombo()
{
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.PNEUMATIC);
    if(voCollTreatmentEquipment!=null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
        {
            form.ctnPneumatic().lyrPneumatic().tabDetails().cmbMachineUsed().newRow(voCollTreatmentEquipment.get(i), 
                                                            voCollTreatmentEquipment.get(i).getDescription());          
        }
    }       
}
项目:AvoinApotti    文件:TreatmentEquipmentConfigImpl.java   
public TreatmentEquipmentConfigVoCollection list(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentTypeConfig)
{
    DomainFactory factory = getDomainFactory();             


    TreatmentEquipmentConfigVoCollection voTreatEquipConfigVoColl = new TreatmentEquipmentConfigVoCollection();
    java.util.List tecList = null;
    if (lkpTreatmentEquipmentTypeConfig == null)
    {
        tecList = factory.listDomainObjects(TreatmentEquipmentConfig.class);
    }
    else
    {
        ArrayList markers = new ArrayList();
        ArrayList values = new ArrayList();
        StringBuffer condStr = new StringBuffer();
        String hql = "from TreatmentEquipmentConfig t where ";

        condStr.append(" t.type = :equipmentType");
        markers.add("equipmentType");
        values.add(getDomLookup(lkpTreatmentEquipmentTypeConfig));          

        hql += condStr.toString();
        tecList = factory.find(hql, markers, values);
    }

    voTreatEquipConfigVoColl = TreatmentEquipmentConfigVoAssembler.createTreatmentEquipmentConfigVoCollectionFromTreatmentEquipmentConfig(tecList);

    if(voTreatEquipConfigVoColl.size()>0)
        return voTreatEquipConfigVoColl;
    else
        return null;
}
项目:openMAXIMS    文件:Logic.java   
private void loadMachineUsedCombo()
{               
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.ULTRASOUND);
    if (voCollTreatmentEquipment != null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
            form.ctnUltra().lyrUltra().tabDetails().cmbMachine().newRow(voCollTreatmentEquipment.get(i), 
                                                        voCollTreatmentEquipment.get(i).getDescription());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadMachineUsedCombo()
{
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.PNEUMATIC);
    if(voCollTreatmentEquipment!=null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
        {
            form.ctnPneumatic().lyrPneumatic().tabDetails().cmbMachineUsed().newRow(voCollTreatmentEquipment.get(i), 
                                                            voCollTreatmentEquipment.get(i).getDescription());          
        }
    }       
}
项目:openMAXIMS    文件:TreatmentEquipmentConfigImpl.java   
public TreatmentEquipmentConfigVoCollection list(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentTypeConfig)
{
    DomainFactory factory = getDomainFactory();             


    TreatmentEquipmentConfigVoCollection voTreatEquipConfigVoColl = new TreatmentEquipmentConfigVoCollection();
    java.util.List tecList = null;
    if (lkpTreatmentEquipmentTypeConfig == null)
    {
        tecList = factory.listDomainObjects(TreatmentEquipmentConfig.class);
    }
    else
    {
        ArrayList markers = new ArrayList();
        ArrayList values = new ArrayList();
        StringBuffer condStr = new StringBuffer();
        String hql = "from TreatmentEquipmentConfig t where ";

        condStr.append(" t.type = :equipmentType");
        markers.add("equipmentType");
        values.add(getDomLookup(lkpTreatmentEquipmentTypeConfig));          

        hql += condStr.toString();
        tecList = factory.find(hql, markers, values);
    }

    voTreatEquipConfigVoColl = TreatmentEquipmentConfigVoAssembler.createTreatmentEquipmentConfigVoCollectionFromTreatmentEquipmentConfig(tecList);

    if(voTreatEquipConfigVoColl.size()>0)
        return voTreatEquipConfigVoColl;
    else
        return null;
}
项目:openMAXIMS    文件:Logic.java   
private void loadMachineUsedCombo()
{               
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.ULTRASOUND);
    if (voCollTreatmentEquipment != null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
            form.ctnUltra().lyrUltra().tabDetails().cmbMachine().newRow(voCollTreatmentEquipment.get(i), 
                                                        voCollTreatmentEquipment.get(i).getDescription());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void loadMachineUsedCombo()
{
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.PNEUMATIC);
    if(voCollTreatmentEquipment!=null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
        {
            form.ctnPneumatic().lyrPneumatic().tabDetails().cmbMachineUsed().newRow(voCollTreatmentEquipment.get(i), 
                                                            voCollTreatmentEquipment.get(i).getDescription());          
        }
    }       
}
项目:openMAXIMS    文件:TreatmentEquipmentConfigImpl.java   
public TreatmentEquipmentConfigVoCollection list(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentTypeConfig)
{
    DomainFactory factory = getDomainFactory();             


    TreatmentEquipmentConfigVoCollection voTreatEquipConfigVoColl = new TreatmentEquipmentConfigVoCollection();
    java.util.List tecList = null;
    if (lkpTreatmentEquipmentTypeConfig == null)
    {
        tecList = factory.listDomainObjects(TreatmentEquipmentConfig.class);
    }
    else
    {
        ArrayList markers = new ArrayList();
        ArrayList values = new ArrayList();
        StringBuffer condStr = new StringBuffer();
        String hql = "from TreatmentEquipmentConfig t where ";

        condStr.append(" t.type = :equipmentType");
        markers.add("equipmentType");
        values.add(getDomLookup(lkpTreatmentEquipmentTypeConfig));          

        hql += condStr.toString();
        tecList = factory.find(hql, markers, values);
    }

    voTreatEquipConfigVoColl = TreatmentEquipmentConfigVoAssembler.createTreatmentEquipmentConfigVoCollectionFromTreatmentEquipmentConfig(tecList);

    if(voTreatEquipConfigVoColl.size()>0)
        return voTreatEquipConfigVoColl;
    else
        return null;
}
项目:openmaxims-linux    文件:Logic.java   
private void loadMachineUsedCombo()
{               
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.ULTRASOUND);
    if (voCollTreatmentEquipment != null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
            form.ctnUltra().lyrUltra().tabDetails().cmbMachine().newRow(voCollTreatmentEquipment.get(i), 
                                                        voCollTreatmentEquipment.get(i).getDescription());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void loadMachineUsedCombo()
{
    TreatmentEquipmentConfigVoCollection voCollTreatmentEquipment = domain.listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig.PNEUMATIC);
    if(voCollTreatmentEquipment!=null)
    {
        for (int i = 0; i < voCollTreatmentEquipment.size(); i++) 
        {
            form.ctnPneumatic().lyrPneumatic().tabDetails().cmbMachineUsed().newRow(voCollTreatmentEquipment.get(i), 
                                                            voCollTreatmentEquipment.get(i).getDescription());          
        }
    }       
}
项目:openmaxims-linux    文件:TreatmentEquipmentConfigImpl.java   
public TreatmentEquipmentConfigVoCollection list(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentTypeConfig)
{
    DomainFactory factory = getDomainFactory();             


    TreatmentEquipmentConfigVoCollection voTreatEquipConfigVoColl = new TreatmentEquipmentConfigVoCollection();
    java.util.List tecList = null;
    if (lkpTreatmentEquipmentTypeConfig == null)
    {
        tecList = factory.listDomainObjects(TreatmentEquipmentConfig.class);
    }
    else
    {
        ArrayList markers = new ArrayList();
        ArrayList values = new ArrayList();
        StringBuffer condStr = new StringBuffer();
        String hql = "from TreatmentEquipmentConfig t where ";

        condStr.append(" t.type = :equipmentType");
        markers.add("equipmentType");
        values.add(getDomLookup(lkpTreatmentEquipmentTypeConfig));          

        hql += condStr.toString();
        tecList = factory.find(hql, markers, values);
    }

    voTreatEquipConfigVoColl = TreatmentEquipmentConfigVoAssembler.createTreatmentEquipmentConfigVoCollectionFromTreatmentEquipmentConfig(tecList);

    if(voTreatEquipConfigVoColl.size()>0)
        return voTreatEquipConfigVoColl;
    else
        return null;
}
项目:AvoinApotti    文件:PneumaticImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) {
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:AvoinApotti    文件:UltrasoundImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) 
{
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openMAXIMS    文件:PneumaticImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) {
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openMAXIMS    文件:UltrasoundImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) 
{
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openMAXIMS    文件:PneumaticImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) {
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openMAXIMS    文件:UltrasoundImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) 
{
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openmaxims-linux    文件:PneumaticImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) {
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}
项目:openmaxims-linux    文件:UltrasoundImpl.java   
public TreatmentEquipmentConfigVoCollection listTreatmentEquipmentConfigs(TreatmentEquipmentTypeConfig lkpTreatmentEquipmentConfig) 
{
    TreatmentEquipmentConfig impl = (TreatmentEquipmentConfig) getDomainImpl(TreatmentEquipmentConfigImpl.class);       
    return impl.list(lkpTreatmentEquipmentConfig);
}