|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.query.operand.FunctionOperand
public class FunctionOperand
Represents a function in the query tree.
| Constructor Summary | |
|---|---|
FunctionOperand(String name)
|
|
FunctionOperand(String name,
Collection<String> args)
|
|
FunctionOperand(String name,
String... args)
|
|
| Method Summary | ||
|---|---|---|
|
accept(OperandVisitor<R> visitor)
Allows us to perform operations over the operand based on the passed in visitor. |
|
boolean |
equals(Object o)
|
|
List<String> |
getArgs()
|
|
String |
getDisplayString()
Renders the function call with its name and arguments for display in the UI. |
|
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(String name)
public FunctionOperand(String name,
String... args)
public FunctionOperand(String name,
Collection<String> args)
| Method Detail |
|---|
public String getName()
Operand
getName in interface Operandpublic String getDisplayString()
getDisplayString in interface Operandpublic <R> R accept(OperandVisitor<R> visitor)
Operand
accept in interface OperandR - the return type for the visitor.visitor - the visitor to accept.
public List<String> getArgs()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||