Class ExpandSelectTreeNodeImpl
java.lang.Object
org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode
org.apache.olingo.odata2.core.uri.ExpandSelectTreeNodeImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumclassNested classes/interfaces inherited from class org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode
ExpandSelectTreeNode.ExpandSelectTreeNodeBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(EdmProperty property) A list of all expanded links within the parent entity.getLinks()Gets the links that have to be included or expanded.Gets the list of explicitly selectedproperties.booleanisAll()Determines whether all properties (including navigation properties) have been selected.booleanbooleanvoidputLink(String name, ExpandSelectTreeNodeImpl node) voidremoveLink(String name) voidvoidvoidvoidMethods inherited from class org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode
entitySet
-
Constructor Details
-
ExpandSelectTreeNodeImpl
public ExpandSelectTreeNodeImpl()
-
-
Method Details
-
isAll
public boolean isAll()Description copied from class:ExpandSelectTreeNodeDetermines whether all properties (including navigation properties) have been selected.- Specified by:
isAllin classExpandSelectTreeNode
-
getProperties
Description copied from class:ExpandSelectTreeNodeGets the list of explicitly selected
properties.This list does not contain any navigation properties. It is empty if
ExpandSelectTreeNode.isAll()returnstrue.- Specified by:
getPropertiesin classExpandSelectTreeNode- Returns:
- List of selected properties
-
getLinks
Description copied from class:ExpandSelectTreeNodeGets the links that have to be included or expanded.- Specified by:
getLinksin classExpandSelectTreeNode- 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
Description copied from class:ExpandSelectTreeNodeA list of all expanded links within the parent entity.- Specified by:
getExpandedListin classExpandSelectTreeNode- Returns:
ExpandSelectTreeNode.ExpandSelectTreeNodeBuilderfor method chaining.
-
putLink
-
removeLink
-
isExplicitlySelected
public boolean isExplicitlySelected() -
setExplicitlySelected
public void setExplicitlySelected() -
isExpanded
public boolean isExpanded() -
setExpanded
public void setExpanded() -
addProperty
-
setAllExplicitly
public void setAllExplicitly() -
getAllKind
-
setAllKindFalse
public void setAllKindFalse() -
toJsonString
-