Package org.apache.olingo.odata2.api.uri
Class ExpandSelectTreeNode
- java.lang.Object
-
- org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode
-
public abstract class ExpandSelectTreeNode extends Object
Expression tree node with information about selected properties and to be expanded links. @org.apache.olingo.odata2.DoNotImplement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpandSelectTreeNode.ExpandSelectTreeNodeBuilderBuilder interface
-
Constructor Summary
Constructors Constructor Description ExpandSelectTreeNode()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExpandSelectTreeNode.ExpandSelectTreeNodeBuilderentitySet(EdmEntitySet entitySet)Creates a builder instance and sets the entitySet for this node.abstract Map<String,ExpandSelectTreeNode>getLinks()Gets the links that have to be included or expanded.abstract List<EdmProperty>getProperties()Gets the list of explicitly selectedproperties.abstract booleanisAll()Determines whether all properties (including navigation properties) have been selected.
-
-
-
Method Detail
-
isAll
public abstract boolean isAll()
Determines whether all properties (including navigation properties) have been selected.- Returns:
- boolean
-
getProperties
public abstract List<EdmProperty> 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
public abstract Map<String,ExpandSelectTreeNode> 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
-
entitySet
public static ExpandSelectTreeNode.ExpandSelectTreeNodeBuilder entitySet(EdmEntitySet 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
-
-