Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Polish resource type mapping section

...

OData Resource TypeResource URI from resourcePath and keyPredicateIn or Out Body Type
Entity data model$metadata
org.apache.olingo.odata2.api.edm.Edm
Service document/
org.apache.olingo.odata2.api.servicedocument.ServiceDocument
OData feed<entity-set>
org.apache.olingo.odata2.api.ep.feed.ODataFeed
OData entry<entity-set>(<key-predicate>)
org.apache.olingo.odata2.api.ep.entry.ODataEntry for outOut body (readingresponse) and java.util.Map<String, Object> for inIn body (writingrequest)
Simple property<entity-set>(<key-predicate>)/<simple-property>Appropriate Java data type as described by Olingo EdmProperty
Simple property value<entity-set>(<key-predicate>)/<simple-property>/$valueAppropriate Java data type as described by Olingo EdmProperty
Complex property<entity-set>(<key-predicate>)/<complex-property>
java.util.Map<String, Object>
Zero or one association link<entity-set>(<key-predicate>/$link/<one-to-one-entity-set-property>
String
Zero or many association links<entity-set>(<key-predicate>/$link/<one-to-many-entity-set-property>
java.util.List<String>
Count<resource-uri>/$count
java.lang.Long

...