Package org.apache.olingo.odata2.api.uri
Class ExpandSelectTreeNode
java.lang.Object
org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode
- Direct Known Subclasses:
ExpandSelectTreeNodeImpl
Expression tree node with information about selected properties and to be expanded links.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentitySet(EdmEntitySet entitySet) Creates a builder instance and sets the entitySet for this node.abstract List<ExpandSelectTreeNode>A list of all expanded links within the parent entity.abstract Map<String,ExpandSelectTreeNode> getLinks()Gets the links that have to be included or expanded.abstract List<EdmProperty>Gets the list of explicitly selectedproperties.abstract booleanisAll()Determines whether all properties (including navigation properties) have been selected.
-
Constructor Details
-
ExpandSelectTreeNode
public ExpandSelectTreeNode()
-
-
Method Details
-
isAll
public abstract boolean isAll()Determines whether all properties (including navigation properties) have been selected. -
getProperties
Gets the list of explicitly selected
properties.This list does not contain any navigation properties. It is empty if
isAll()returnstrue.- Returns:
- List of selected properties
-
getLinks
Gets the links that have to be included or expanded.- Returns:
- a Map from EdmNavigationProperty Name to its related
ExpandSelectTreeNode; if that node isnull, a deferred link has been requested, otherwise the link must be expanded with information found in that node
-
getExpandedList
A list of all expanded links within the parent entity.- Returns:
ExpandSelectTreeNode.ExpandSelectTreeNodeBuilderfor method chaining.
-
entitySet
Creates a builder instance and sets the entitySet for this node.- Parameters:
entitySet- on which this node is based- Returns:
ExpandSelectTreeNode.ExpandSelectTreeNodeBuilderto build the node
-