FileDocCategorySizeDatePackage
SearchBinding.javaAPI DocExample1454Mon Apr 03 17:21:48 BST 2000com.imaginary.lwp

SearchBinding

public class SearchBinding extends Object implements Serializable

Fields Summary
static final long
serialVersionUID
private String
field
The name of the field being searched on.
private SearchBoolean
searchBoolean
The boolean for the search, i.e. AND or OR.
private SearchOperator
operator
The operator joining the field and the value in question.
private Object
value
The value to which the field should be related for this query.
Constructors Summary
public SearchBinding(SearchCriteria crit)

    
       
        super();
        value = crit;
    
public SearchBinding(String fld, Object val)

        super();
        field = fld;
        value = val;
    
public SearchBinding(SearchBoolean sb, String fld, SearchOperator oper, Object val)

        this(fld, val);
        searchBoolean = sb;
        operator = oper;
    
Methods Summary
public SearchBooleangetBoolean()

        return searchBoolean;
    
public java.lang.StringgetField()

        return field;
    
public SearchOperatorgetOperator()

        return operator;
    
public java.lang.ObjectgetValue()

        return value;