@Override
	public Object visit(PropertyIsEqualTo filter, Object userData) {
		String propertyName = getPropertyName(filter.getExpression1());
		String finalName = parsePropertyName(propertyName, userData);

		Object value = castLiteral(getLiteralValue(filter.getExpression2()), propertyName);
		return Restrictions.eq(finalName, value);
	}
@ Override public Object visit ( PropertyIsEqualTo filter , Object userData ) { String propertyName = getPropertyName ( filter . getExpression1 ( ) ) ; String finalName = parsePropertyName ( propertyName , userData ) ; Object value = castLiteral ( getLiteralValue ( filter . getExpression2 ( ) ) , propertyName ) ; return Restrictions . eq ( finalName , value ) ; }
{@inheritDoc}