/**
  * Constraints a property to be not equal to a specified other property
  *
  * @param propertyName The property
  * @param otherPropertyName The other property
  * @return This criteria
  */
 public Criteria neProperty(String propertyName, String otherPropertyName) {
   validatePropertyName(propertyName, "neProperty");
   validatePropertyName(otherPropertyName, "neProperty");
   addToCriteria(Restrictions.neProperty(propertyName, otherPropertyName));
   return this;
 }