public class ProjectionElem extends AbstractQueryModelNode
Constructor and Description |
---|
ProjectionElem() |
ProjectionElem(String name) |
ProjectionElem(String sourceName,
String targetName) |
Modifier and Type | Method and Description |
---|---|
ProjectionElem |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
ExtensionElem |
getSourceExpression() |
String |
getSourceName() |
String |
getTargetName() |
boolean |
hasAggregateOperatorInExpression() |
int |
hashCode() |
void |
setAggregateOperatorInExpression(boolean aggregateOperatorInExpression) |
void |
setSourceExpression(ExtensionElem sourceExpression) |
void |
setSourceName(String sourceName) |
void |
setTargetName(String targetName) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getParentNode, isGraphPatternGroup, nullEquals, replaceChildNode, replaceNodeInList, replaceWith, setGraphPatternGroup, setParentNode, toString, visitChildren
public ProjectionElem()
public ProjectionElem(String name)
public String getSourceName()
public void setSourceName(String sourceName)
public String getTargetName()
public void setTargetName(String targetName)
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
X extends Exception
public String getSignature()
AbstractQueryModelNode
QueryModelNode.getSignature()
that prints the name of the node's class.getSignature
in interface QueryModelNode
getSignature
in class AbstractQueryModelNode
public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class Object
public ProjectionElem clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in class AbstractQueryModelNode
public boolean hasAggregateOperatorInExpression()
public void setAggregateOperatorInExpression(boolean aggregateOperatorInExpression)
aggregateOperatorInExpression
- The aggregateOperatorInExpression to set.public ExtensionElem getSourceExpression()
public void setSourceExpression(ExtensionElem sourceExpression)
sourceExpression
- The sourceExpression to set.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.