Class ODataEntryImpl
java.lang.Object
org.apache.olingo.odata2.core.ep.entry.ODataEntryImpl
- All Implemented Interfaces:
ODataEntry
-
Constructor Summary
ConstructorsConstructorDescriptionODataEntryImpl(Map<String, Object> data, MediaMetadata mediaMetadata, EntryMetadata entryMetadata, ExpandSelectTreeNode expandSelectTree, boolean containsInlineEntry) ODataEntryImpl(Map<String, Object> data, MediaMetadata mediaMetadata, EntryMetadata entryMetadata, ExpandSelectTreeNodeImpl expandSelectTree) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf thisODataEntrycontains properties of an inline navigation property this method returnstrue.Gets the expand select tree data structure which can be used for$expandquery option.GetMediaMetadatafor thisODataEntryif available.GetEntryMetadatafor thisODataEntryif available.Properties of thisODataEntryin form of a property name to property value map.voidsetContainsInlineEntry(boolean containsInlineEntry) toString()
-
Constructor Details
-
ODataEntryImpl
public ODataEntryImpl(Map<String, Object> data, MediaMetadata mediaMetadata, EntryMetadata entryMetadata, ExpandSelectTreeNodeImpl expandSelectTree) -
ODataEntryImpl
public ODataEntryImpl(Map<String, Object> data, MediaMetadata mediaMetadata, EntryMetadata entryMetadata, ExpandSelectTreeNode expandSelectTree, boolean containsInlineEntry)
-
-
Method Details
-
getProperties
Description copied from interface:ODataEntryProperties of thisODataEntryin form of a property name to property value map.- Specified by:
getPropertiesin interfaceODataEntry- Returns:
- a property name to property value map.
-
getMediaMetadata
Description copied from interface:ODataEntryGetMediaMetadatafor thisODataEntryif available.- Specified by:
getMediaMetadatain interfaceODataEntry- Returns:
MediaMetadatafor thisODataEntryif available.
-
getMetadata
Description copied from interface:ODataEntryGetEntryMetadatafor thisODataEntryif available.- Specified by:
getMetadatain interfaceODataEntry- Returns:
EntryMetadatafor thisODataEntryif available.
-
containsInlineEntry
public boolean containsInlineEntry()Description copied from interface:ODataEntryIf thisODataEntrycontains properties of an inline navigation property this method returnstrue. Otherwise if thisODataEntryonly contains it own properties this method returnsfalse.- Specified by:
containsInlineEntryin interfaceODataEntry- Returns:
trueif inline navigation properties are contained, otherwisefalse.
-
getExpandSelectTree
Description copied from interface:ODataEntryGets the expand select tree data structure which can be used for$expandquery option.- Specified by:
getExpandSelectTreein interfaceODataEntry- Returns:
- parsed tree structure representing the $expand
-
setContainsInlineEntry
public void setContainsInlineEntry(boolean containsInlineEntry) -
toString
-