org.xcmis.search.model.operand
Class UpperCase

java.lang.Object
  extended by org.xcmis.search.model.operand.DynamicOperand
      extended by org.xcmis.search.model.operand.UpperCase
All Implemented Interfaces:
Serializable, QueryElement

public class UpperCase
extends DynamicOperand

A dynamic operand that evaluates to the upper-case representation of the supplied operand, used in a Comparison constraint.

See Also:
Serialized Form

Constructor Summary
UpperCase(DynamicOperand operand)
          Create a dynamic operand that evaluates to the upper-case representation of the supplied operand.
 
Method Summary
 void accept(QueryObjectModelVisitor visitor)
          Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.
 boolean equals(Object obj)
          
 DynamicOperand getOperand()
          Get the operand that is being uppercased.
 SelectorName getSelectorName()
          Get the selector symbol upon which this operand applies.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class org.xcmis.search.model.operand.DynamicOperand
getSelectorNames
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpperCase

public UpperCase(DynamicOperand operand)
Create a dynamic operand that evaluates to the upper-case representation of the supplied operand.

Parameters:
operand - the operand that is to be lower-cased
Method Detail

accept

public void accept(QueryObjectModelVisitor visitor)
            throws VisitException
Description copied from interface: QueryElement
Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.

Parameters:
visitor - the visitor.
Throws:
VisitException
See Also:
QueryElement.accept(org.xcmis.search.QueryObjectModelVisitor)

equals

public boolean equals(Object obj)

Overrides:
equals in class DynamicOperand
See Also:
Object.equals(java.lang.Object)

getOperand

public final DynamicOperand getOperand()
Get the operand that is being uppercased.

Returns:
the operand being uppercased; never null

getSelectorName

public SelectorName getSelectorName()
Get the selector symbol upon which this operand applies.

Returns:
the one selector names used by this operand; never null

hashCode

public int hashCode()

Overrides:
hashCode in class DynamicOperand
See Also:
Object.hashCode()

toString

public String toString()

Overrides:
toString in class DynamicOperand
See Also:
Object.toString()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.