Interface MemberExpression
- All Superinterfaces:
CommonExpression,Visitable
- All Known Implementing Classes:
MemberExpressionImpl
Represents a member expression in the expression tree
A member expression node is inserted in the expression tree for any member operator ("/")
which is used to reference a property of an complex type or entity type.
For example: The expression "address/city eq 'Heidelberg' will result in an expression tree
containing a member expression node for accessing property "city" which is part of the
complex property "address". Method getPath() will return a reference to the "address" property,
method getProperty() will return a refence to the "city" property.
-
Method Summary
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.CommonExpression
getEdmType, getKind, getUriLiteral, setEdmType
-
Method Details
-
getPath
CommonExpression getPath()- Returns:
- Returns the CommonExpression forming the path (the left side of '/') of the method operator.
For OData 2.0 the value returned by
getPath()is aPropertyExpression
-
getProperty
CommonExpression getProperty()- Returns:
- Return the CommonExpression forming the property (the right side of '/') of the method operator.
For OData 2.0 the value returned by
getProperty()is aPropertyExpression
-