public class Query extends Object implements AnnotationValue
| Constructor and Description |
|---|
Query(AnnotationValue condition,
AnnotationValue trueExpression,
AnnotationValue falseExpression) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(ExpressionVisitor visitor)
Accept a visitor for this value.
|
AnnotationValue |
getCondition() |
AnnotationValue |
getFalseExpression() |
String |
getParameterValue()
Get a parameter value for
JavaAnnotation#getNamedParameter(String). |
AnnotationValue |
getTrueExpression() |
String |
toString() |
public Query(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
public Object accept(ExpressionVisitor visitor)
AnnotationValueaccept in interface AnnotationValuevisitor - Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public String getParameterValue()
ExpressionJavaAnnotation#getNamedParameter(String).getParameterValue in interface ExpressionCopyright © 2002–2016. All rights reserved.