class PersonTypeQueryBuilder extends AbstractQueryBuilder<PersonType> {

	@Override
	protected BaseQueryBuilder build(final PersonType context, final BaseQueryBuilder builder) {
		return builder
				.where()
				.openBracket()
				.addAndCondition(NAME_CONDITION, context.getName())
				.addAndCondition(ABBRNAME_CONDITION, context.getAbbrName())
				.closeBracket();
	}

}