Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.core.data
Class Query.Term

java.lang.Object
  extended by ch.elexis.core.data.Query.Term
Enclosing class:
Query

public static class Query.Term
extends java.lang.Object


Constructor Summary
Query.Term(Query.OP connector, java.lang.String field, Query.OP operator, java.lang.String value)
          create a term
 
Method Summary
 Query.OP getConnector()
           
 java.lang.String getField()
           
 Query.OP getOperator()
           
 java.lang.String getValue()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query.Term

public Query.Term(Query.OP connector,
                  java.lang.String field,
                  Query.OP operator,
                  java.lang.String value)
create a term

Parameters:
connector - Operator to apply to connect to previous term (AND, AND_NOT, OR, OR_NOT)
field - field to query
operator - Operator to match
value - value to query for
Method Detail

getConnector

public Query.OP getConnector()

getOperator

public Query.OP getOperator()

getField

public java.lang.String getField()

getValue

public java.lang.String getValue()

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis