|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.query.operand.FunctionOperand
public class FunctionOperand
Represents a function in the query tree.
Constructor Summary | |
---|---|
FunctionOperand(java.lang.String name)
|
|
FunctionOperand(java.lang.String name,
java.util.Collection<java.lang.String> args)
|
|
FunctionOperand(java.lang.String name,
java.lang.String... args)
|
Method Summary | ||
---|---|---|
|
accept(OperandVisitor<R> visitor)
Allows us to perform operations over the operand based on the passed in visitor. |
|
boolean |
equals(java.lang.Object o)
|
|
java.util.List<java.lang.String> |
getArgs()
|
|
java.lang.String |
getDisplayString()
Renders the function call with its name and arguments for display in the UI. |
|
java.lang.String |
getName()
The name that represents this Operand. |
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionOperand(java.lang.String name)
public FunctionOperand(java.lang.String name, java.lang.String... args)
public FunctionOperand(java.lang.String name, java.util.Collection<java.lang.String> args)
Method Detail |
---|
public java.lang.String getName()
Operand
getName
in interface Operand
public java.lang.String getDisplayString()
getDisplayString
in interface Operand
public <R> R accept(OperandVisitor<R> visitor)
Operand
accept
in interface Operand
R
- the return type for the visitor.visitor
- the visitor to accept.
public java.util.List<java.lang.String> getArgs()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |