Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.query.sql.model
Class StringLiteral

java.lang.Object
  extended by org.nuxeo.ecm.core.query.sql.model.Literal
      extended by org.nuxeo.ecm.core.query.sql.model.StringLiteral
All Implemented Interfaces:
Serializable, ASTNode, Operand

public class StringLiteral
extends Literal

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 String value
           
 
Constructor Summary
StringLiteral(String value)
           
 
Method Summary
 void accept(IVisitor visitor)
          Accept the given visitor.
 String asString()
          Gets a string representation of the value.
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public final String value
Constructor Detail

StringLiteral

public StringLiteral(String value)
Method Detail

accept

public void accept(IVisitor visitor)
Description copied from interface: ASTNode
Accept the given visitor.

Parameters:
visitor - the AST node visitor

asString

public String asString()
Description copied from class: Literal
Gets a string representation of the value.

Specified by:
asString in class Literal
Returns:
a string representation of the value

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.