org.apache.olingo.odata2.api.uri.expression
Interface MemberExpression
- All Superinterfaces:
- CommonExpression, Visitable
public interface MemberExpression
- extends CommonExpression
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.
Methods inherited from interface org.apache.olingo.odata2.api.uri.expression.Visitable |
accept |
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 a PropertyExpression
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 a PropertyExpression
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.