Package net.anotheria.anodoc.query2
Class QueryModProperty
- java.lang.Object
-
- net.anotheria.anodoc.query2.QueryProperty
-
- net.anotheria.anodoc.query2.QueryModProperty
-
- All Implemented Interfaces:
java.io.Serializable
public class QueryModProperty extends QueryProperty
IMPORTANT:Tested only in postgressql!- Version:
- $Id: $Id
- Author:
- denis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryModProperty(java.lang.String aName, long aMod, long aValue)Constructor for QueryModProperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoesMatch(java.lang.Object o)doesMatch.java.lang.StringgetComparator()Returns the comparator operation for this query.longgetMod()Getter for the fieldmod.voidsetMod(long mod)Setter for the fieldmod.booleanunprepaireable()unprepaireable.-
Methods inherited from class net.anotheria.anodoc.query2.QueryProperty
getName, getOriginalValue, getValue, setName, setValue, toString
-
-
-
-
Method Detail
-
doesMatch
public boolean doesMatch(java.lang.Object o)
doesMatch.
- Overrides:
doesMatchin classQueryProperty- Parameters:
o- aObjectobject.- Returns:
- a boolean.
-
getComparator
public java.lang.String getComparator()
Returns the comparator operation for this query.- Overrides:
getComparatorin classQueryProperty- Returns:
- a
Stringobject.
-
unprepaireable
public boolean unprepaireable()
unprepaireable.
- Overrides:
unprepaireablein classQueryProperty- Returns:
- a boolean.
-
getMod
public long getMod()
Getter for the field
mod.- Returns:
- a long.
-
setMod
public void setMod(long mod)
Setter for the field
mod.- Parameters:
mod- a long.
-
-