public class MultipleElementSymbol extends Object implements Expression
This is a subclass of Symbol representing multiple output columns.
LanguageObject.Util
Constructor and Description |
---|
MultipleElementSymbol() |
MultipleElementSymbol(String name)
Construct a multiple element symbol
|
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
void |
addElementSymbol(ElementSymbol symbol)
Add an element symbol referenced by this multiple element symbol
|
Object |
clone()
Return a deep copy of this object
|
boolean |
equals(Object obj) |
List<ElementSymbol> |
getElementSymbols()
Get the element symbols referred to by this multiple element symbol
|
GroupSymbol |
getGroup() |
Class<?> |
getType()
Get the return type of this expression.
|
int |
hashCode() |
void |
setElementSymbols(List<ElementSymbol> elementSymbols)
Set the
ElementSymbol s that this symbol refers to |
void |
setGroup(GroupSymbol group) |
String |
toString() |
public MultipleElementSymbol()
public MultipleElementSymbol(String name)
name
- Name of the symbolpublic Class<?> getType()
Expression
getType
in interface Expression
public void setElementSymbols(List<ElementSymbol> elementSymbols)
ElementSymbol
s that this symbol refers toelementSymbols
- List of ElementSymbol
public List<ElementSymbol> getElementSymbols()
ElementSymbol
s, may be nullpublic void addElementSymbol(ElementSymbol symbol)
symbol
- Element symbol referenced by this multiple element symbolpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic Object clone()
clone
in interface LanguageObject
clone
in class Object
public GroupSymbol getGroup()
public void setGroup(GroupSymbol group)
Copyright © 2020. All rights reserved.