Class 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.ODataEntry
    Implementation of ODataEntry with builder like syntax to create an ODataEntry
    • Constructor Detail

      • ODataEntryBuilder

        public ODataEntryBuilder()
    • Method Detail

      • getProperties

        public java.util.Map<java.lang.String,​java.lang.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<java.lang.String,​java.lang.Object> propertyMap)
      • withProperty

        public ODataEntryBuilder withProperty​(java.lang.String name,
                                              java.lang.Object value)
      • build

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