public interface ClientObjectFactory
ClientEntitySet newEntitySet()
ClientEntitySet newEntitySet(URI next)
next
- next link.ClientEntity newEntity(FullQualifiedName typeName)
typeName
- OData entity type name.ClientEntity newEntity(FullQualifiedName typeName, URI link)
typeName
- OData entity type name.link
- self link.ClientInlineEntitySet newDeepInsertEntitySet(String name, ClientEntitySet entitySet)
name
- name.entitySet
- entity set.ClientInlineEntity newDeepInsertEntity(String name, ClientEntity entity)
name
- name.entity
- entity.ClientLink newEntitySetNavigationLink(String name, URI link)
name
- name.link
- link.ClientSingleton newSingleton(FullQualifiedName typeName)
typeName
- OData singleton entity type name.ClientLink newEntityNavigationLink(String name, URI link)
name
- name.link
- link.ClientLink newAssociationLink(String name, URI link)
ClientLink newMediaEditLink(String name, URI link, String type, String eTag)
ClientLink newMediaReadLink(String name, URI link, String type, String eTag)
ClientPrimitiveValue.Builder newPrimitiveValueBuilder()
ClientEnumValue newEnumValue(String typeName, String value)
ClientComplexValue newComplexValue(String typeName)
ClientCollectionValue<ClientValue> newCollectionValue(String typeName)
ClientProperty newPrimitiveProperty(String name, ClientPrimitiveValue value)
name
- name.value
- primitive value.ClientProperty newComplexProperty(String name, ClientComplexValue value)
name
- name.value
- value.ClientProperty newCollectionProperty(String name, ClientCollectionValue<? extends ClientValue> value)
name
- name.value
- value.ClientProperty newEnumProperty(String name, ClientEnumValue value)
name
- name.value
- value.ClientDelta newDelta()
ClientDelta newDelta(URI next)
next
- next link for delta propertyCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.