fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator
Class ComparatorEqual
java.lang.Object
fr.paris.lutece.plugins.form.modules.comparevalidators.business.comparator.ComparatorEqual
- All Implemented Interfaces:
- IComparator
public class ComparatorEqual
- extends Object
- implements IComparator
ComparatorEqual
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComparatorEqual
public ComparatorEqual()
compare
public boolean compare(String strValue1,
String strValue2)
- Checks if the values are equals
- Specified by:
compare
in interface IComparator
- Parameters:
byValue1
- the first valuebyValue2
- the second value
- Returns:
- true if the values are 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.