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 java.lang.Object implements org.apache.olingo.odata2.api.ep.entry.ODataEntryImplementation of ODataEntry with builder like syntax to create an ODataEntry
-
-
Constructor Summary
Constructors Constructor Description ODataEntryBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.olingo.odata2.api.ep.entry.ODataEntrybuild()booleancontainsInlineEntry()org.apache.olingo.odata2.api.uri.ExpandSelectTreeNodegetExpandSelectTree()org.apache.olingo.odata2.api.ep.entry.MediaMetadatagetMediaMetadata()org.apache.olingo.odata2.api.ep.entry.EntryMetadatagetMetadata()java.util.Map<java.lang.String,java.lang.Object>getProperties()static ODataEntryBuilderoDataEntryBuilder()ODataEntryBuilderwithProperties(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> propertyMap)ODataEntryBuilderwithProperty(java.lang.String name, ODataEntryBuilder builder)ODataEntryBuilderwithProperty(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
oDataEntryBuilder
public static ODataEntryBuilder oDataEntryBuilder()
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> 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<java.lang.String,java.lang.Object> propertyMap)
-
withProperty
public ODataEntryBuilder withProperty(java.lang.String name, java.lang.Object value)
-
withProperty
public ODataEntryBuilder withProperty(java.lang.String name, ODataEntryBuilder builder)
-
build
public org.apache.olingo.odata2.api.ep.entry.ODataEntry build()
-
-