public class Query extends java.lang.Object implements AnnotationValue
| Constructor and Description |
|---|
Query(AnnotationValue condition,
AnnotationValue trueExpression,
AnnotationValue falseExpression) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(ExpressionVisitor visitor)
Accept a visitor for this value.
|
AnnotationValue |
getCondition() |
AnnotationValue |
getFalseExpression() |
java.lang.String |
getParameterValue()
Get a parameter value for
JavaAnnotation.getNamedParameter(String). |
AnnotationValue |
getTrueExpression() |
java.lang.String |
toString() |
public Query(AnnotationValue condition, AnnotationValue trueExpression, AnnotationValue falseExpression)
public java.lang.Object accept(ExpressionVisitor visitor)
accept in interface AnnotationValuevisitor - Visitorpublic AnnotationValue getCondition()
public AnnotationValue getTrueExpression()
public AnnotationValue getFalseExpression()
public java.lang.String getParameterValue()
JavaAnnotation.getNamedParameter(String).getParameterValue in interface Expressionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2002-2018. All Rights Reserved.