public interface ODataObjectFactory extends CommonODataObjectFactory
Modifier and Type | Method and Description |
---|---|
ODataLink |
newAssociationLink(URI link)
Instantiates a new association link.
|
ODataProperty |
newCollectionProperty(String name,
ODataCollectionValue<? extends ODataValue> value)
Instantiates a new collection property.
|
ODataCollectionValue<ODataValue> |
newCollectionValue(String typeName) |
ODataProperty |
newComplexProperty(String name,
ODataComplexValue<? extends CommonODataProperty> value)
Instantiates a new complex property.
|
ODataComplexValue<ODataProperty> |
newComplexValue(String typeName) |
ODataEntity |
newEntity(FullQualifiedName typeName)
Instantiates a new entity.
|
ODataEntity |
newEntity(FullQualifiedName typeName,
URI link)
Instantiates a new entity.
|
ODataEntitySet |
newEntitySet()
Instantiates a new entity set.
|
ODataEntitySet |
newEntitySet(URI next)
Instantiates a new entity set.
|
ODataProperty |
newPrimitiveProperty(String name,
ODataPrimitiveValue value)
Instantiates a new primitive property.
|
newAssociationLink, newDeepInsertEntity, newDeepInsertEntitySet, newEntityNavigationLink, newEntitySetNavigationLink, newMediaEditLink, newPrimitiveValueBuilder
ODataEntitySet newEntitySet()
CommonODataObjectFactory
newEntitySet
in interface CommonODataObjectFactory
ODataEntitySet newEntitySet(URI next)
CommonODataObjectFactory
newEntitySet
in interface CommonODataObjectFactory
next
- next link.ODataEntity newEntity(FullQualifiedName typeName)
CommonODataObjectFactory
newEntity
in interface CommonODataObjectFactory
typeName
- OData entity type name.ODataEntity newEntity(FullQualifiedName typeName, URI link)
CommonODataObjectFactory
newEntity
in interface CommonODataObjectFactory
typeName
- OData entity type name.link
- self link.ODataLink newAssociationLink(URI link)
link
- link.ODataComplexValue<ODataProperty> newComplexValue(String typeName)
newComplexValue
in interface CommonODataObjectFactory
ODataCollectionValue<ODataValue> newCollectionValue(String typeName)
newCollectionValue
in interface CommonODataObjectFactory
ODataProperty newPrimitiveProperty(String name, ODataPrimitiveValue value)
CommonODataObjectFactory
newPrimitiveProperty
in interface CommonODataObjectFactory
name
- name.value
- primitive value.ODataProperty newComplexProperty(String name, ODataComplexValue<? extends CommonODataProperty> value)
CommonODataObjectFactory
newComplexProperty
in interface CommonODataObjectFactory
name
- name.value
- value.ODataProperty newCollectionProperty(String name, ODataCollectionValue<? extends ODataValue> value)
CommonODataObjectFactory
newCollectionProperty
in interface CommonODataObjectFactory
name
- name.value
- value.Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.