org.apache.olingo.odata2.api.ep
Class EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder
java.lang.Object
org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder
- Enclosing class:
- EntityProviderWriteProperties
public static class EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder()
includeSimplePropertyType
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder includeSimplePropertyType(boolean includeSimplePropertyType)
- Parameters:
includeSimplePropertyType
- true to include simple property type information in the payload
inlineCountType
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder inlineCountType(InlineCount inlineCountType)
- Parameters:
inlineCountType
- the inlineCountType to set
inlineCount
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder inlineCount(Integer inlineCount)
- Parameters:
inlineCount
- the inlineCount to set
serviceRoot
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder serviceRoot(URI serviceRoot)
- Parameters:
serviceRoot
-
nextLink
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder nextLink(String nextLink)
- Parameters:
nextLink
- Next link to render feeds with server side paging. Should usually contain a skiptoken.
build
public final EntityProviderWriteProperties build()
- Build properties object.
- Returns:
- assembled properties object
expandSelectTree
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder expandSelectTree(ExpandSelectTreeNode expandSelectTree)
- Set a expand select tree which results from $expand and $select query parameter. Usually the data structure is
constructed by the URI parser.
- Parameters:
expandSelectTree
- data structure
- Returns:
- properties builder
callbacks
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder callbacks(Map<String,ODataCallback> callbacks)
selfLink
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder selfLink(URI selfLink)
additionalLinks
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder additionalLinks(Map<String,Map<String,Object>> links)
- Sets additional links from this entity to other entities.
- Parameters:
links
- a Map where the navigation-property name is the key and
a key predicate is the value -
a key predicate is a Map from key-property names to their values
- Returns:
- properties builder
omitJsonWrapper
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder omitJsonWrapper(boolean omitJsonWrapper)
contentOnly
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder contentOnly(boolean contentOnly)
omitETag
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder omitETag(boolean omitETag)
fromProperties
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder fromProperties(EntityProviderWriteProperties properties)
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.