Java Code Examples for ims.ocrr.vo.MyOrderChildComponentVoCollection

The following are top voted examples for showing how to use ims.ocrr.vo.MyOrderChildComponentVoCollection. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   Source Code and License 6 votes vote down vote up
private ArrayList<Integer> getUsedServices(MyOrderChildComponentVoCollection components, ArrayList<Integer> serviceIDs)
{
	if (components == null)
		return serviceIDs;
	
	if (serviceIDs == null) serviceIDs = new ArrayList<Integer>();
	
	for (MyOrderChildComponentVo component : components)
	{
		if (component.getServiceID() != null)
		{
			serviceIDs.add(component.getServiceID());
		}
	}
	
	return serviceIDs;
}
 
Example 2
Project: openMAXIMS   File: Logic.java   Source Code and License 6 votes vote down vote up
private ArrayList<Integer> getUsedServices(MyOrderChildComponentVoCollection components, ArrayList<Integer> serviceIDs)
{
	if (components == null)
		return serviceIDs;
	
	if (serviceIDs == null) serviceIDs = new ArrayList<Integer>();
	
	for (MyOrderChildComponentVo component : components)
	{
		if (component.getServiceID() != null)
		{
			serviceIDs.add(component.getServiceID());
		}
	}
	
	return serviceIDs;
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License 6 votes vote down vote up
private ArrayList<Integer> getUsedServices(MyOrderChildComponentVoCollection components, ArrayList<Integer> serviceIDs)
{
	if (components == null)
		return serviceIDs;
	
	if (serviceIDs == null) serviceIDs = new ArrayList<Integer>();
	
	for (MyOrderChildComponentVo component : components)
	{
		if (component.getServiceID() != null)
		{
			serviceIDs.add(component.getServiceID());
		}
	}
	
	return serviceIDs;
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   Source Code and License 6 votes vote down vote up
private ArrayList<Integer> getUsedServices(MyOrderChildComponentVoCollection components, ArrayList<Integer> serviceIDs)
{
	if (components == null)
		return serviceIDs;
	
	if (serviceIDs == null) serviceIDs = new ArrayList<Integer>();
	
	for (MyOrderChildComponentVo component : components)
	{
		if (component.getServiceID() != null)
		{
			serviceIDs.add(component.getServiceID());
		}
	}
	
	return serviceIDs;
}