fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator
Class ComparatorNotEqual
java.lang.Object
fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator.ComparatorNotEqual
- All Implemented Interfaces:
- IComparator
public class ComparatorNotEqual
- extends Object
- implements IComparator
ComparatorNotEqual
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComparatorNotEqual
public ComparatorNotEqual()
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 valuestrValue2
- 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.