org.xcmis.search.model.operand
Class Literal
java.lang.Object
org.xcmis.search.model.operand.StaticOperand
org.xcmis.search.model.operand.Literal
- All Implemented Interfaces:
- Serializable, QueryElement
public class Literal
- extends StaticOperand
A literal value used in a Comparison constraint.
- See Also:
- Serialized Form
Literal
public Literal(Object value)
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 Object
- See Also:
Object.equals(java.lang.Object)
getValue
public final Object getValue()
- Returns:
- value
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
- See Also:
Object.hashCode()
toString
public String toString()
-
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.