class PersonFamilyQueryBuilder extends AbstractQueryBuilder<PersonFamily> {

	@Override
	protected BaseQueryBuilder build(final PersonFamily context, final BaseQueryBuilder builder) {
		return builder	
				.where()
				.openBracket()
					.addAndCondition(PERSON_CONDITION, context.getPerson())
					.addAndCondition(FAMILYTYPE_CONDITION, context.getFamilyType())
					.addAndCondition(NAME_CONDITION, context.getName())
				.closeBracket();
	}

}