com.metamatrix.query.sql.lang
Class SetClauseList

java.lang.Object
  extended by com.metamatrix.query.sql.lang.SetClauseList
All Implemented Interfaces:
LanguageObject, java.io.Serializable, java.lang.Cloneable

public class SetClauseList
extends java.lang.Object
implements LanguageObject

See Also:
Serialized Form

Constructor Summary
SetClauseList()
           
SetClauseList(java.util.List<SetClause> setClauses)
           
 
Method Summary
 void acceptVisitor(LanguageVisitor visitor)
          Method for accepting a visitor.
 void addClause(ElementSymbol symbol, Expression expression)
           
 void addClause(SetClause clause)
           
 java.lang.Object clone()
          Implement clone to make objects cloneable.
 boolean equals(java.lang.Object obj)
           
 java.util.LinkedHashMap<ElementSymbol,Expression> getClauseMap()
           
 java.util.List<SetClause> getClauses()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetClauseList

public SetClauseList()

SetClauseList

public SetClauseList(java.util.List<SetClause> setClauses)
Method Detail

addClause

public void addClause(ElementSymbol symbol,
                      Expression expression)

addClause

public void addClause(SetClause clause)

acceptVisitor

public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface: LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.

Specified by:
acceptVisitor in interface LanguageObject
Parameters:
visitor - Visitor being used

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
Description copied from interface: LanguageObject
Implement clone to make objects cloneable.

Specified by:
clone in interface LanguageObject
Overrides:
clone in class java.lang.Object
Returns:
Deep clone of this object

getClauseMap

public java.util.LinkedHashMap<ElementSymbol,Expression> getClauseMap()
Returns:
a non-updateable map representation

getClauses

public java.util.List<SetClause> getClauses()

isEmpty

public boolean isEmpty()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.