Package org.teiid.query.sql.lang
Class SetClauseList
- java.lang.Object
-
- org.teiid.query.sql.lang.SetClauseList
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
public class SetClauseList extends Object implements LanguageObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description SetClauseList()
SetClauseList(List<SetClause> setClauses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.void
addClause(SetClause clause)
void
addClause(ElementSymbol symbol, Expression expression)
Object
clone()
Implement clone to make objects cloneable.boolean
equals(Object obj)
LinkedHashMap<ElementSymbol,Expression>
getClauseMap()
List<SetClause>
getClauses()
int
hashCode()
boolean
isEmpty()
String
toString()
-
-
-
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 interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
clone
public Object clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
getClauseMap
public LinkedHashMap<ElementSymbol,Expression> getClauseMap()
- Returns:
- a non-updateable map representation
-
isEmpty
public boolean isEmpty()
-
-