Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.ecm.core.query.sql.model.Reference
All Implemented Interfaces:
Serializable, ASTNode, Operand
Direct Known Subclasses:
PathReference

public class Reference
extends Object
implements Operand

A named reference to a variable (this can be a field or table).

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Field Summary
 String name
           
 
Constructor Summary
Reference(String name)
           
 
Method Summary
 void accept(IVisitor visitor)
          Accept the given visitor.
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean isPathReference()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name
Constructor Detail

Reference

public Reference(String name)
Method Detail

accept

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

Specified by:
accept in interface ASTNode
Parameters:
visitor - the AST node visitor

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

isPathReference

public boolean isPathReference()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.