Java Code Examples for ims.core.vo.QuestionAnswerTypeVo.getActiveStatus()

The following are Jave code examples for showing how to use getActiveStatus() of the ims.core.vo.QuestionAnswerTypeVo 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 5 votes
private void setAnswerGridRowData(grdAnswerTypeRow row, QuestionAnswerTypeVo vo) 
{
	if(row != null && vo != null)
	{
		row.setColAnswerType(vo.getAnswerTypeIsNotNull()?vo.getAnswerType().toString():"");
		row.setColMandatory(vo.getIsMandatoryIsNotNull() && vo.getIsMandatory().booleanValue()?"Yes":"No");
		if(vo.getActiveStatus() == null || vo.getActiveStatus().booleanValue() == false)
			row.setBackColor(Color.LightSalmon);
		row.setValue(vo);
	}
}
 
Example 2
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void setAnswerGridRowData(grdAnswerTypeRow row, QuestionAnswerTypeVo vo) 
{
	if(row != null && vo != null)
	{
		row.setColAnswerType(vo.getAnswerTypeIsNotNull()?vo.getAnswerType().toString():"");
		row.setColMandatory(vo.getIsMandatoryIsNotNull() && vo.getIsMandatory().booleanValue()?"Yes":"No");
		if(vo.getActiveStatus() == null || vo.getActiveStatus().booleanValue() == false)
			row.setBackColor(Color.LightSalmon);
		row.setValue(vo);
	}
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void setAnswerGridRowData(grdAnswerTypeRow row, QuestionAnswerTypeVo vo) 
{
	if(row != null && vo != null)
	{
		row.setColAnswerType(vo.getAnswerTypeIsNotNull()?vo.getAnswerType().toString():"");
		row.setColMandatory(vo.getIsMandatoryIsNotNull() && vo.getIsMandatory().booleanValue()?"Yes":"No");
		if(vo.getActiveStatus() == null || vo.getActiveStatus().booleanValue() == false)
			row.setBackColor(Color.LightSalmon);
		row.setValue(vo);
	}
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 5 votes
private void setAnswerGridRowData(grdAnswerTypeRow row, QuestionAnswerTypeVo vo) 
{
	if(row != null && vo != null)
	{
		row.setColAnswerType(vo.getAnswerTypeIsNotNull()?vo.getAnswerType().toString():"");
		row.setColMandatory(vo.getIsMandatoryIsNotNull() && vo.getIsMandatory().booleanValue()?"Yes":"No");
		if(vo.getActiveStatus() == null || vo.getActiveStatus().booleanValue() == false)
			row.setBackColor(Color.LightSalmon);
		row.setValue(vo);
	}
}