javax.wvcm
Class SearchToken.PropertyExpression

java.lang.Object
  extended by javax.wvcm.SearchToken.Expression
      extended by javax.wvcm.SearchToken.PropertyExpression
Enclosing class:
SearchToken

public static final class SearchToken.PropertyExpression
extends SearchToken.Expression

Represents a property expression


Constructor Summary
SearchToken.PropertyExpression(PropertyNameList.PropertyName pname, java.lang.Object value, SearchToken.PropOperator operator, java.lang.Boolean caseless)
          Constructor
 
Method Summary
 java.lang.Boolean caseless()
          Get caseles
 SearchToken.PropOperator operator()
          Get the comparison oprator.
 PropertyNameList.PropertyName propertyName()
          Get the PropertyName involved in this expression
 java.lang.Object value()
          Get the literal (value).
 
Methods inherited from class javax.wvcm.SearchToken.Expression
isNegated, negate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchToken.PropertyExpression

public SearchToken.PropertyExpression(PropertyNameList.PropertyName pname,
                                      java.lang.Object value,
                                      SearchToken.PropOperator operator,
                                      java.lang.Boolean caseless)
Constructor

Parameters:
pname - a PropertyName
value - the value
operator - the comparison operator
caseless - case-sensitivenes
Method Detail

propertyName

public PropertyNameList.PropertyName propertyName()
Get the PropertyName involved in this expression

Returns:
a PropertyName

value

public java.lang.Object value()
Get the literal (value).

Returns:
an Object

operator

public SearchToken.PropOperator operator()
Get the comparison oprator.

Returns:
a CompOperator

caseless

public java.lang.Boolean caseless()
Get caseles

Returns:
a Boolean


Copyright (c) 2003 - Apache Software Foundation