fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator
Class ComparatorNotEqual

java.lang.Object
  extended by fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator.ComparatorNotEqual
All Implemented Interfaces:
IComparator

public class ComparatorNotEqual
extends Object
implements IComparator

ComparatorNotEqual


Constructor Summary
ComparatorNotEqual()
           
 
Method Summary
 boolean compare(String strValue1, String strValue2)
          Checks if the values are not equals
 String getMessage()
          Gets the I18n message key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComparatorNotEqual

public ComparatorNotEqual()
Method Detail

compare

public boolean compare(String strValue1,
                       String strValue2)
Checks if the values are not equals

Specified by:
compare in interface IComparator
Parameters:
strValue1 - the first value
strValue2 - the second value
Returns:
true if the values are not equals, otherwise false

getMessage

public String getMessage()
Gets the I18n message key

Specified by:
getMessage in interface IComparator
Returns:
the I18n message key


Copyright © 2014 Mairie de Paris. All Rights Reserved.