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

The following are Jave code examples for showing how to use getSeparatorTextIsNotNull() 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.
+ Save this method
Example 1
Project: AvoinApotti   File: Logic.java   View Source Code Vote up 4 votes
private String getParentTooltip(QuestionAnswerTypeVo voQAT)
{
	if (voQAT != null)
	{
		StringBuffer sb = new StringBuffer();
		sb.append("*Active: *");
		sb.append(voQAT.getActiveStatusIsNotNull() && voQAT.getActiveStatus().booleanValue() ? "Active" : "Inactive");
		sb.append(CR);

		if(voQAT.getAnswerWidthIsNotNull())
		{
			sb.append("*Custom Width: *");
			sb.append(voQAT.getAnswerWidth());
			sb.append(CR);
		}
		
		if(voQAT.getMaxMultiselectAllowedIsNotNull())
		{
			sb.append("*Max. Multiselect: *");
			sb.append(voQAT.getMaxMultiselectAllowed());
			sb.append(CR);
		}
		
		if (voQAT.getSeparatorTextIsNotNull())
		{
			sb.append("*Separator Text: *");
			sb.append(voQAT.getSeparatorText());
			sb.append(CR);
		}

		if (voQAT.getIsMandatoryIsNotNull())
		{
			sb.append("*Mandatory: *");
			sb.append(voQAT.getIsMandatory().booleanValue() ? "True" : "False");
			sb.append(CR);
			if (voQAT.getMandatoryValMessageIsNotNull())
			{
				sb.append("*Mandatory Message: *");
				sb.append(voQAT.getMandatoryValMessage());
				sb.append(CR);
			}
		}

		return new Textile().process(sb.toString());
	}
	return "";
}
 
Example 2
Project: openMAXIMS   File: Logic.java   View Source Code Vote up 4 votes
private String getParentTooltip(QuestionAnswerTypeVo voQAT)
{
	if (voQAT != null)
	{
		StringBuffer sb = new StringBuffer();
		sb.append("*Active: *");
		sb.append(voQAT.getActiveStatusIsNotNull() && voQAT.getActiveStatus().booleanValue() ? "Active" : "Inactive");
		sb.append(CR);

		if(voQAT.getAnswerWidthIsNotNull())
		{
			sb.append("*Custom Width: *");
			sb.append(voQAT.getAnswerWidth());
			sb.append(CR);
		}
		
		if(voQAT.getMaxMultiselectAllowedIsNotNull())
		{
			sb.append("*Max. Multiselect: *");
			sb.append(voQAT.getMaxMultiselectAllowed());
			sb.append(CR);
		}
		
		if (voQAT.getSeparatorTextIsNotNull())
		{
			sb.append("*Separator Text: *");
			sb.append(voQAT.getSeparatorText());
			sb.append(CR);
		}

		if (voQAT.getIsMandatoryIsNotNull())
		{
			sb.append("*Mandatory: *");
			sb.append(voQAT.getIsMandatory().booleanValue() ? "True" : "False");
			sb.append(CR);
			if (voQAT.getMandatoryValMessageIsNotNull())
			{
				sb.append("*Mandatory Message: *");
				sb.append(voQAT.getMandatoryValMessage());
				sb.append(CR);
			}
		}

		return new Textile().process(sb.toString());
	}
	return "";
}
 
Example 3
Project: openMAXIMS   File: Logic.java   View Source Code Vote up 4 votes
private String getParentTooltip(QuestionAnswerTypeVo voQAT)
{
	if (voQAT != null)
	{
		StringBuffer sb = new StringBuffer();
		sb.append("*Active: *");
		sb.append(voQAT.getActiveStatusIsNotNull() && voQAT.getActiveStatus().booleanValue() ? "Active" : "Inactive");
		sb.append(CR);

		if(voQAT.getAnswerWidthIsNotNull())
		{
			sb.append("*Custom Width: *");
			sb.append(voQAT.getAnswerWidth());
			sb.append(CR);
		}
		
		if(voQAT.getMaxMultiselectAllowedIsNotNull())
		{
			sb.append("*Max. Multiselect: *");
			sb.append(voQAT.getMaxMultiselectAllowed());
			sb.append(CR);
		}
		
		if (voQAT.getSeparatorTextIsNotNull())
		{
			sb.append("*Separator Text: *");
			sb.append(voQAT.getSeparatorText());
			sb.append(CR);
		}

		if (voQAT.getIsMandatoryIsNotNull())
		{
			sb.append("*Mandatory: *");
			sb.append(voQAT.getIsMandatory().booleanValue() ? "True" : "False");
			sb.append(CR);
			if (voQAT.getMandatoryValMessageIsNotNull())
			{
				sb.append("*Mandatory Message: *");
				sb.append(voQAT.getMandatoryValMessage());
				sb.append(CR);
			}
		}

		return new Textile().process(sb.toString());
	}
	return "";
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   View Source Code Vote up 4 votes
private String getParentTooltip(QuestionAnswerTypeVo voQAT)
{
	if (voQAT != null)
	{
		StringBuffer sb = new StringBuffer();
		sb.append("*Active: *");
		sb.append(voQAT.getActiveStatusIsNotNull() && voQAT.getActiveStatus().booleanValue() ? "Active" : "Inactive");
		sb.append(CR);

		if(voQAT.getAnswerWidthIsNotNull())
		{
			sb.append("*Custom Width: *");
			sb.append(voQAT.getAnswerWidth());
			sb.append(CR);
		}
		
		if(voQAT.getMaxMultiselectAllowedIsNotNull())
		{
			sb.append("*Max. Multiselect: *");
			sb.append(voQAT.getMaxMultiselectAllowed());
			sb.append(CR);
		}
		
		if (voQAT.getSeparatorTextIsNotNull())
		{
			sb.append("*Separator Text: *");
			sb.append(voQAT.getSeparatorText());
			sb.append(CR);
		}

		if (voQAT.getIsMandatoryIsNotNull())
		{
			sb.append("*Mandatory: *");
			sb.append(voQAT.getIsMandatory().booleanValue() ? "True" : "False");
			sb.append(CR);
			if (voQAT.getMandatoryValMessageIsNotNull())
			{
				sb.append("*Mandatory Message: *");
				sb.append(voQAT.getMandatoryValMessage());
				sb.append(CR);
			}
		}

		return new Textile().process(sb.toString());
	}
	return "";
}