org.nuiton.wikitty.search
Class NotEquals
java.lang.Object
org.nuiton.wikitty.search.Restriction
org.nuiton.wikitty.search.BinaryOperator
org.nuiton.wikitty.search.NotEquals
- All Implemented Interfaces:
- java.io.Serializable
public class NotEquals
- extends BinaryOperator
- implements java.io.Serializable
NotEquals operator is used to build restriction containing "element != value"
where element could be an Id, a String, a multimedia, a closed list, an
Integer, a Float or a Date.
For example, use: RestrictionHelper.neq( myElement , "REF1234567890" )
- See Also:
- Serialized Form
|
Constructor Summary |
NotEquals()
Default constructor |
|
Method Summary |
boolean |
equals(java.lang.Object other)
Equality test based attributes values |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NotEquals
public NotEquals()
- Default constructor
equals
public boolean equals(java.lang.Object other)
- Equality test based attributes values
- Overrides:
equals in class BinaryOperator
- Parameters:
other - Value to compare
hashCode
public int hashCode()
- Overrides:
hashCode in class BinaryOperator
Copyright © 2009-2010 CodeLutin. All Rights Reserved.