Package com.atlassian.query.operand
Class MultiValueOperand
java.lang.Object
com.atlassian.query.operand.MultiValueOperand
- All Implemented Interfaces:
 Operand,Serializable
Used to represent a multiple constant values as an Operand.
- Since:
 - v4.0
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionMultiValueOperand(QueryLiteral... literals) MultiValueOperand(Operand... operands) MultiValueOperand(Long... longs) MultiValueOperand(String... stringValues) MultiValueOperand(Collection<? extends Operand> values) MultiValueOperand(List<Long> longs)  - 
Method Summary
Modifier and TypeMethodDescription<R> Raccept(OperandVisitor<R> visitor) Allows us to perform operations over the operand based on the passed in visitor.booleanProduces the unexpanded representation of the Operand.getName()The name that represents this Operand.inthashCode()static MultiValueOperandofQueryLiterals(Collection<QueryLiteral> literals)  
- 
Field Details
- 
OPERAND_NAME
- See Also:
 
 
 - 
 - 
Constructor Details
- 
MultiValueOperand
 - 
MultiValueOperand
 - 
MultiValueOperand
 - 
MultiValueOperand
 - 
MultiValueOperand
 - 
MultiValueOperand
 
 - 
 - 
Method Details
- 
ofQueryLiterals
 - 
getValues
 - 
getName
Description copied from interface:OperandThe name that represents this Operand. - 
getDisplayString
Description copied from interface:OperandProduces the unexpanded representation of the Operand. In the case of a function operand this would be the function as represented in the Query (i.e. group(jira-users)).- Specified by:
 getDisplayStringin interfaceOperand- Returns:
 - a string that represents this operand as represented in the JQL query string.
 
 - 
accept
Description copied from interface:OperandAllows us to perform operations over the operand based on the passed in visitor. This method calls the visit method on the visitor with this reference. - 
equals
 - 
hashCode
public int hashCode() 
 -