AnnotationValue
, Expression
public class Query extends Object implements AnnotationValue
Constructor | Description |
---|---|
Query(AnnotationValue condition,
AnnotationValue trueExpression,
AnnotationValue falseExpression) |
Modifier and Type | Method | 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)
accept
in interface AnnotationValue
visitor
- Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public String getParameterValue()
JavaAnnotation.getNamedParameter(String)
.getParameterValue
in interface Expression
Copyright © 2002–2018. All rights reserved.