public interface ODataBinder
Modifier and Type | Method and Description |
---|---|
boolean |
add(ClientEntity entity,
ClientProperty property)
Adds the given property to the given entity.
|
Entity |
getEntity(ClientEntity entity)
Gets an Entity from the given OData entity.
|
EntityCollection |
getEntitySet(ClientEntitySet entitySet)
Gets a EntitySet from the given OData entity set.
|
Link |
getLink(ClientLink link)
Gets a Link from the given OData link.
|
ClientDelta |
getODataDelta(ResWrap<Delta> resource) |
ClientEntity |
getODataEntity(ResWrap<Entity> resource)
Gets ODataEntity from the given entity resource.
|
ClientEntitySet |
getODataEntitySet(ResWrap<EntityCollection> resource)
Gets ODataEntitySet from the given entity set resource.
|
ClientProperty |
getODataProperty(ResWrap<Property> resource)
Gets an ODataProperty from the given property resource.
|
ClientServiceDocument |
getODataServiceDocument(ServiceDocument resource)
Gets ODataServiceDocument from the given service document resource.
|
Property |
getProperty(ClientProperty property)
Gets a Property from the given OData property.
|
EntityCollection getEntitySet(ClientEntitySet entitySet)
entitySet
- OData entity set.EntityCollection
object.Entity getEntity(ClientEntity entity)
entity
- OData entity.Entity
object.Link getLink(ClientLink link)
link
- OData link.Property getProperty(ClientProperty property)
property
- OData property.boolean add(ClientEntity entity, ClientProperty property)
entity
- OData entity.property
- OData property.ClientServiceDocument getODataServiceDocument(ServiceDocument resource)
resource
- service document resource.ClientEntitySet getODataEntitySet(ResWrap<EntityCollection> resource)
resource
- entity set resource.ClientEntitySet
object.ClientEntity getODataEntity(ResWrap<Entity> resource)
resource
- entity resource.ClientEntity
object.ClientProperty getODataProperty(ResWrap<Property> resource)
resource
- property resource.ClientProperty
object.ClientDelta getODataDelta(ResWrap<Delta> resource)
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.