Java Code Examples for ims.ocrr.vo.SelectedComponentFromSelectOrderVo.getComponentTypeIsNotNull()

The following are Jave code examples for showing how to use getComponentTypeIsNotNull() of the ims.ocrr.vo.SelectedComponentFromSelectOrderVo class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 6 votes
private boolean selectionIsEmpty()
{
	SelectedComponentFromSelectOrderVoCollection selection = form.getLocalContext().getSelectedComponents();
	if (selection == null || selection.size() == 0)
		return true;

	for (int x = 0; x < selection.size(); x++)
	{
		SelectedComponentFromSelectOrderVo component = selection.get(x);
		if (component != null && component.getComponentTypeIsNotNull()
				&& component.getComponentType().equals(SelectAndOrderComponentType.INVESTIGATION))
			return false;
	}

	return true;
}
 
Example 2
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private boolean selectionIsEmpty()
{
	SelectedComponentFromSelectOrderVoCollection selection = form.getLocalContext().getSelectedComponents();
	if (selection == null || selection.size() == 0)
		return true;

	for (int x = 0; x < selection.size(); x++)
	{
		SelectedComponentFromSelectOrderVo component = selection.get(x);
		if (component != null && component.getComponentTypeIsNotNull()
				&& component.getComponentType().equals(SelectAndOrderComponentType.INVESTIGATION))
			return false;
	}

	return true;
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private boolean selectionIsEmpty()
{
	SelectedComponentFromSelectOrderVoCollection selection = form.getLocalContext().getSelectedComponents();
	if (selection == null || selection.size() == 0)
		return true;

	for (int x = 0; x < selection.size(); x++)
	{
		SelectedComponentFromSelectOrderVo component = selection.get(x);
		if (component != null && component.getComponentTypeIsNotNull()
				&& component.getComponentType().equals(SelectAndOrderComponentType.INVESTIGATION))
			return false;
	}

	return true;
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 6 votes
private boolean selectionIsEmpty()
{
	SelectedComponentFromSelectOrderVoCollection selection = form.getLocalContext().getSelectedComponents();
	if (selection == null || selection.size() == 0)
		return true;

	for (int x = 0; x < selection.size(); x++)
	{
		SelectedComponentFromSelectOrderVo component = selection.get(x);
		if (component != null && component.getComponentTypeIsNotNull()
				&& component.getComponentType().equals(SelectAndOrderComponentType.INVESTIGATION))
			return false;
	}

	return true;
}