public static class EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder extends Object
Constructor and Description |
---|
ODataEntityProviderPropertiesBuilder() |
public ODataEntityProviderPropertiesBuilder()
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder omitInlineForNullData(boolean omitInlineForNullData)
public final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder isDataBasedPropertySerialization(boolean isDataBasedPropertySerialization)
setting
- if payload has dynamic propertypublic final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder includeSimplePropertyType(boolean includeSimplePropertyType)
includeSimplePropertyType
- true to include simple property type information in the payloadpublic final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder inlineCountType(InlineCount inlineCountType)
inlineCountType
- the inlineCountType to setpublic final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder inlineCount(Integer inlineCount)
inlineCount
- the inlineCount to setpublic final EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder serviceRoot(URI serviceRoot)
serviceRoot
- public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder nextLink(String nextLink)
nextLink
- Next link to render feeds with server side paging. Should usually contain a skiptoken.public final EntityProviderWriteProperties build()
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder expandSelectTree(ExpandSelectTreeNode expandSelectTree)
expandSelectTree
- data structurepublic EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder callbacks(Map<String,ODataCallback> callbacks)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder selfLink(URI selfLink)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder additionalLinks(Map<String,Map<String,Object>> links)
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 valuespublic EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder omitJsonWrapper(boolean omitJsonWrapper)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder contentOnly(boolean contentOnly)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder omitETag(boolean omitETag)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder validatingFacets(boolean validatingFacets)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder responsePayload(boolean responsePayload)
responsePayload
- true for response payload handling, false for request payload handlingpublic EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder includeMetadataInContentOnly(boolean includeMetadataInContentOnly)
public EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder fromProperties(EntityProviderWriteProperties properties)
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.