Package org.apache.tuscany.sca.itest.admin

Examples of org.apache.tuscany.sca.itest.admin.MyListService


        return getHolidays(new Integer(year).intValue());
    }

    public String[] getHolidays(int year)
    {
        MyListService myService;
        if (myListServicesList!=null)
        {
            for (int i=0; i<myListServicesList.size(); i++)
            {
                myService=myListServicesList.get(i);
                if(new Integer(myService.getYear()).intValue()==year)
                {
                    return myService.getHolidays();
                }
            }
        }
        if (myListServicesArray!=null)
        {
            for (int i=0; i<myListServicesArray.length; i++)
            {
                myService=myListServicesArray[i];
                if(new Integer(myService.getYear()).intValue()==year)
                {
                    return myService.getHolidays();
                }
            }
        }
        return null;
    }
View Full Code Here


        return getHolidays(new Integer(year).intValue());
    }

    public String[] getHolidays(int year)
    {
        MyListService myService;
        if (myListServicesList!=null)
        {
            for (int i=0; i<myListServicesList.size(); i++)
            {
                myService=myListServicesList.get(i);
                if(new Integer(myService.getYear()).intValue()==year)
                {
                    return myService.getHolidays();
                }
            }
        }
        if (myListServicesArray!=null)
        {
            for (int i=0; i<myListServicesArray.length; i++)
            {
                myService=myListServicesArray[i];
                if(new Integer(myService.getYear()).intValue()==year)
                {
                    return myService.getHolidays();
                }
            }
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.itest.admin.MyListService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.