public class EntityProviderWriteProperties extends Object
EntityProviderWriteProperties
contains all additional properties which are necessary to write
(serialize) an ODataEntry
into an specific format (e.g.
XML
or JSON
or ...).Modifier and Type | Class and Description |
---|---|
static class |
EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder |
Modifier and Type | Method and Description |
---|---|
static EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder |
fromProperties(EntityProviderWriteProperties properties) |
Map<String,Map<String,Object>> |
getAdditionalLinks()
Gets the additional links that should be in the payload.
|
Map<String,ODataCallback> |
getCallbacks() |
ExpandSelectTreeNode |
getExpandSelectTree()
Gets the expand select tree data structure resulting from $expand and $select query options.
|
Integer |
getInlineCount()
Gets the inlinecount.
|
InlineCount |
getInlineCountType()
Gets the type of the inlinecount request from the system query option.
|
String |
getNextLink()
Gets the next link used for server-side paging of feeds.
|
URI |
getSelfLink()
Gets the self link from an application.
|
URI |
getServiceRoot()
Gets the service root.
|
boolean |
isContentOnly() |
boolean |
isDataBasedPropertySerialization()
Returns true if the payload has dynamic properties i.e.
|
boolean |
isIncludeMetadataInContentOnly() |
boolean |
isIncludeSimplePropertyType()
Returns if type information of simple properties should be in the payload.
|
boolean |
isOmitETag() |
boolean |
isOmitInlineForNullData() |
boolean |
isOmitJsonWrapper() |
boolean |
isResponsePayload() |
boolean |
isValidatingFacets() |
static EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder |
serviceRoot(URI serviceRoot) |
public final boolean isOmitInlineForNullData()
public final boolean isDataBasedPropertySerialization()
public final boolean isOmitETag()
public final boolean isContentOnly()
public final boolean isOmitJsonWrapper()
public final boolean isIncludeSimplePropertyType()
public final URI getSelfLink()
public final URI getServiceRoot()
public final InlineCount getInlineCountType()
public final Map<String,ODataCallback> getCallbacks()
public final ExpandSelectTreeNode getExpandSelectTree()
public final Integer getInlineCount()
getInlineCountType()
public final String getNextLink()
public final Map<String,Map<String,Object>> getAdditionalLinks()
public static EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder serviceRoot(URI serviceRoot)
public boolean isValidatingFacets()
public boolean isResponsePayload()
public boolean isIncludeMetadataInContentOnly()
public static EntityProviderWriteProperties.ODataEntityProviderPropertiesBuilder fromProperties(EntityProviderWriteProperties properties)
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.