Class ODataEntryBuilder
java.lang.Object
de.hybris.platform.odata2services.odata.persistence.utils.ODataEntryBuilder
- All Implemented Interfaces:
org.apache.olingo.odata2.api.ep.entry.ODataEntry
public class ODataEntryBuilder
extends Object
implements org.apache.olingo.odata2.api.ep.entry.ODataEntry
Implementation of ODataEntry with builder like syntax to create an ODataEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.ep.entry.ODataEntrybuild()booleanorg.apache.olingo.odata2.api.uri.ExpandSelectTreeNodeorg.apache.olingo.odata2.api.ep.entry.MediaMetadataorg.apache.olingo.odata2.api.ep.entry.EntryMetadatastatic ODataEntryBuilderwithProperties(com.google.common.collect.ImmutableMap<String, Object> propertyMap) withProperty(String name, ODataEntryBuilder builder) withProperty(String name, Object value)
-
Constructor Details
-
ODataEntryBuilder
public ODataEntryBuilder()
-
-
Method Details
-
oDataEntryBuilder
-
getProperties
- Specified by:
getPropertiesin interfaceorg.apache.olingo.odata2.api.ep.entry.ODataEntry
-
getMediaMetadata
public org.apache.olingo.odata2.api.ep.entry.MediaMetadata getMediaMetadata()- Specified by:
getMediaMetadatain interfaceorg.apache.olingo.odata2.api.ep.entry.ODataEntry
-
getMetadata
public org.apache.olingo.odata2.api.ep.entry.EntryMetadata getMetadata()- Specified by:
getMetadatain interfaceorg.apache.olingo.odata2.api.ep.entry.ODataEntry
-
containsInlineEntry
public boolean containsInlineEntry()- Specified by:
containsInlineEntryin interfaceorg.apache.olingo.odata2.api.ep.entry.ODataEntry
-
getExpandSelectTree
public org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode getExpandSelectTree()- Specified by:
getExpandSelectTreein interfaceorg.apache.olingo.odata2.api.ep.entry.ODataEntry
-
withProperties
public ODataEntryBuilder withProperties(com.google.common.collect.ImmutableMap<String, Object> propertyMap) -
withProperty
-
withProperty
-
build
public org.apache.olingo.odata2.api.ep.entry.ODataEntry build()
-