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)
AnnotationValue
accept
in interface AnnotationValue
visitor
- Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public String getParameterValue()
Expression
JavaAnnotation#getNamedParameter(String)
.getParameterValue
in interface Expression
Copyright © 2002–2014. All rights reserved.