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 Details

    • ODataEntryBuilder

      public ODataEntryBuilder()
  • Method Details

    • oDataEntryBuilder

      public static ODataEntryBuilder oDataEntryBuilder()
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in interface org.apache.olingo.odata2.api.ep.entry.ODataEntry
    • getMediaMetadata

      public org.apache.olingo.odata2.api.ep.entry.MediaMetadata getMediaMetadata()
      Specified by:
      getMediaMetadata in interface org.apache.olingo.odata2.api.ep.entry.ODataEntry
    • getMetadata

      public org.apache.olingo.odata2.api.ep.entry.EntryMetadata getMetadata()
      Specified by:
      getMetadata in interface org.apache.olingo.odata2.api.ep.entry.ODataEntry
    • containsInlineEntry

      public boolean containsInlineEntry()
      Specified by:
      containsInlineEntry in interface org.apache.olingo.odata2.api.ep.entry.ODataEntry
    • getExpandSelectTree

      public org.apache.olingo.odata2.api.uri.ExpandSelectTreeNode getExpandSelectTree()
      Specified by:
      getExpandSelectTree in interface org.apache.olingo.odata2.api.ep.entry.ODataEntry
    • withProperties

      public ODataEntryBuilder withProperties(com.google.common.collect.ImmutableMap<String,Object> propertyMap)
    • withProperty

      public ODataEntryBuilder withProperty(String name, Object value)
    • withProperty

      public ODataEntryBuilder withProperty(String name, ODataEntryBuilder builder)
    • build

      public org.apache.olingo.odata2.api.ep.entry.ODataEntry build()