Java 类ims.core.vo.ActivityContextPricingDetailsVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populatePricing(TreeNode rootNode, ActivityContextPricingDetailsVoCollection voCollActivityContextPricing)
{
    voCollActivityContextPricing.sort();

    if (rootNode.getNodes().size() > 0)
        rootNode.getNodes().clear();

    setHospitalSpecialtyProcedure();

    TreeNode pricingNode;
    for (int j = 0; j < voCollActivityContextPricing.size(); j++)
    {
        if ((voCollActivityContextPricing.get(j).getIsActiveIsNotNull() && voCollActivityContextPricing.get(j).getIsActive().booleanValue() && voCollActivityContextPricing.get(j).getEffectiveTo() == null && form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue()) || form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue() == false)
        {
            StringBuffer sb = createPricingString(voCollActivityContextPricing.get(j));
            pricingNode = rootNode.getNodes().add(voCollActivityContextPricing.get(j), sb.toString());
            pricingNode.setCollapsedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            pricingNode.setExpandedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            if (voCollActivityContextPricing.get(j).getEffectiveToIsNotNull())
                pricingNode.setTextColor(Color.Gray);

            pricingNode.setTooltip(createPricingTooltip(voCollActivityContextPricing.get(j)));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populatePricing(TreeNode rootNode, ActivityContextPricingDetailsVoCollection voCollActivityContextPricing)
{
    voCollActivityContextPricing.sort();

    if (rootNode.getNodes().size() > 0)
        rootNode.getNodes().clear();

    setHospitalSpecialtyProcedure();

    TreeNode pricingNode;
    for (int j = 0; j < voCollActivityContextPricing.size(); j++)
    {
        if ((voCollActivityContextPricing.get(j).getIsActiveIsNotNull() && voCollActivityContextPricing.get(j).getIsActive().booleanValue() && voCollActivityContextPricing.get(j).getEffectiveTo() == null && form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue()) || form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue() == false)
        {
            StringBuffer sb = createPricingString(voCollActivityContextPricing.get(j));
            pricingNode = rootNode.getNodes().add(voCollActivityContextPricing.get(j), sb.toString());
            pricingNode.setCollapsedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            pricingNode.setExpandedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            if (voCollActivityContextPricing.get(j).getEffectiveToIsNotNull())
                pricingNode.setTextColor(Color.Gray);

            pricingNode.setTooltip(createPricingTooltip(voCollActivityContextPricing.get(j)));
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populatePricing(TreeNode rootNode, ActivityContextPricingDetailsVoCollection voCollActivityContextPricing)
{
    voCollActivityContextPricing.sort();

    if (rootNode.getNodes().size() > 0)
        rootNode.getNodes().clear();

    setHospitalSpecialtyProcedure();

    TreeNode pricingNode;
    for (int j = 0; j < voCollActivityContextPricing.size(); j++)
    {
        if ((voCollActivityContextPricing.get(j).getIsActiveIsNotNull() && voCollActivityContextPricing.get(j).getIsActive().booleanValue() && voCollActivityContextPricing.get(j).getEffectiveTo() == null && form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue()) || form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue() == false)
        {
            StringBuffer sb = createPricingString(voCollActivityContextPricing.get(j));
            pricingNode = rootNode.getNodes().add(voCollActivityContextPricing.get(j), sb.toString());
            pricingNode.setCollapsedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            pricingNode.setExpandedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            if (voCollActivityContextPricing.get(j).getEffectiveToIsNotNull())
                pricingNode.setTextColor(Color.Gray);

            pricingNode.setTooltip(createPricingTooltip(voCollActivityContextPricing.get(j)));
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populatePricing(TreeNode rootNode, ActivityContextPricingDetailsVoCollection voCollActivityContextPricing)
{
    voCollActivityContextPricing.sort();

    if (rootNode.getNodes().size() > 0)
        rootNode.getNodes().clear();

    setHospitalSpecialtyProcedure();

    TreeNode pricingNode;
    for (int j = 0; j < voCollActivityContextPricing.size(); j++)
    {
        if ((voCollActivityContextPricing.get(j).getIsActiveIsNotNull() && voCollActivityContextPricing.get(j).getIsActive().booleanValue() && voCollActivityContextPricing.get(j).getEffectiveTo() == null && form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue()) || form.lyr1().Edit().lyrLocationDetail().tabPagePricing().chkActivePricing().getValue() == false)
        {
            StringBuffer sb = createPricingString(voCollActivityContextPricing.get(j));
            pricingNode = rootNode.getNodes().add(voCollActivityContextPricing.get(j), sb.toString());
            pricingNode.setCollapsedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            pricingNode.setExpandedImage(voCollActivityContextPricing.get(j).getCurrency().getImage() == null ? form.getImages().Core.help1 : voCollActivityContextPricing.get(j).getCurrency().getImage());
            if (voCollActivityContextPricing.get(j).getEffectiveToIsNotNull())
                pricingNode.setTextColor(Color.Gray);

            pricingNode.setTooltip(createPricingTooltip(voCollActivityContextPricing.get(j)));
        }
    }
}