anvil.annot
Class QueryProposition

java.lang.Object
  |
  +--anvil.annot.QueryProposition

public class QueryProposition
extends java.lang.Object

Stores a search criterium in from attribute and value. If attribute is null it means that any attribute should be searched. If matchAnywhere is set, the value string should be tried to be found anywhere.


Constructor Summary
QueryProposition(java.lang.String att, java.lang.String val)
           
 
Method Summary
 boolean doMatchAnywhere()
          If true, the proposition's value string should be allowed to occur anywhere in an attribute's value string.
 java.lang.String getAttribute()
           
 java.lang.String getValue()
           
 void setMatchAnywhere(boolean val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryProposition

public QueryProposition(java.lang.String att,
                        java.lang.String val)
Method Detail

getAttribute

public java.lang.String getAttribute()

getValue

public java.lang.String getValue()

setMatchAnywhere

public void setMatchAnywhere(boolean val)

doMatchAnywhere

public boolean doMatchAnywhere()
If true, the proposition's value string should be allowed to occur anywhere in an attribute's value string.