|
|
|
Comment: Updated OData entry type mapping
...
OData Resource Type |
Resource URI from resourcePath and keyPredicate |
In 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 out body (reading) and java.util.Map<String, Object> for in body (writing)
|
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>/$value |
Appropriate 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 |
...
|