public class EnumerationImpl extends Object implements Enumeration
| Constructor and Description |
|---|
EnumerationImpl(EdmEnumType type,
List<String> values) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Method
VisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. |
EdmEnumType |
getType() |
List<String> |
getValues() |
String |
toString() |
public EnumerationImpl(EdmEnumType type, List<String> values)
public EdmEnumType getType()
getType in interface Enumerationpublic List<String> getValues()
getValues in interface Enumerationpublic <T> T accept(ExpressionVisitor<T> visitor) throws ExpressionVisitException, ODataApplicationException
VisitableExpressionVisitableExpression.accept(ExpressionVisitor) is called when traversing the expression tree. This method is invoked on
each expression used as node in an expression tree. The implementations should
behave as follows:
ExpressionVisitor instance and provide the stored return objects
to that instance
accept in interface VisitableExpressionvisitor - Visitor object (implementing ExpressionVisitor) whose methods are called during traversing a
expression node of the expression tree.ExpressionVisitException - Exception occurred in the OData library while traversing the treeODataApplicationException - Exception thrown by the application who implemented the visitorCopyright © 2023. All rights reserved.