private TombstoneCallback getTombstoneCallback() { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(TombstoneCallback.CALLBACK_KEY_TOMBSTONE)) { TombstoneCallback callback = (TombstoneCallback) properties.getCallbacks().get(TombstoneCallback.CALLBACK_KEY_TOMBSTONE); return callback; } else { return null; } }
private TombstoneCallback getTombstoneCallback() { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(TombstoneCallback.CALLBACK_KEY_TOMBSTONE)) { TombstoneCallback callback = (TombstoneCallback) properties.getCallbacks().get(TombstoneCallback.CALLBACK_KEY_TOMBSTONE); return callback; } else { return null; } }
private TombstoneCallback getTombstoneCallback() { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(TombstoneCallback.CALLBACK_KEY_TOMBSTONE)) { TombstoneCallback callback = (TombstoneCallback) properties.getCallbacks().get(TombstoneCallback.CALLBACK_KEY_TOMBSTONE); return callback; } else { return null; } }
private TombstoneCallback getTombstoneCallback() { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(TombstoneCallback.CALLBACK_KEY_TOMBSTONE)) { TombstoneCallback callback = (TombstoneCallback) properties.getCallbacks().get(TombstoneCallback.CALLBACK_KEY_TOMBSTONE); return callback; } else { return null; } }
private TombstoneCallback getTombstoneCallback() { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(TombstoneCallback.CALLBACK_KEY_TOMBSTONE)) { TombstoneCallback callback = (TombstoneCallback) properties.getCallbacks().get(TombstoneCallback.CALLBACK_KEY_TOMBSTONE); return callback; } else { return null; } }
private void writeNavigationProperties(final Writer writer, final EntityInfoAggregator entityInfo, final Map<String, Object> data, final EdmEntityType type) throws EdmException, EntityProviderException, IOException { for (final String navigationPropertyName : type.getNavigationPropertyNames()) { if (entityInfo.getSelectedNavigationPropertyNames().contains(navigationPropertyName)) { jsonStreamWriter.separator(); jsonStreamWriter.name(navigationPropertyName); if (entityInfo.getExpandedNavigationPropertyNames().contains(navigationPropertyName)) { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { writeExpandedNavigationProperty(writer, entityInfo, data, type, navigationPropertyName); } else { writeDeferredUri(entityInfo, navigationPropertyName); } } else { writeDeferredUri(entityInfo, navigationPropertyName); } } } }
private void writeNavigationProperties(final Writer writer, final EntityInfoAggregator entityInfo, final Map<String, Object> data, final EdmEntityType type) throws EdmException, EntityProviderException, IOException { for (final String navigationPropertyName : type.getNavigationPropertyNames()) { if (entityInfo.getSelectedNavigationPropertyNames().contains(navigationPropertyName)) { jsonStreamWriter.separator(); jsonStreamWriter.name(navigationPropertyName); if (entityInfo.getExpandedNavigationPropertyNames().contains(navigationPropertyName)) { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { writeExpandedNavigationProperty(writer, entityInfo, data, type, navigationPropertyName); } else { writeDeferredUri(entityInfo, navigationPropertyName); } } else { writeDeferredUri(entityInfo, navigationPropertyName); } } } }
private void writeNavigationProperties(final Writer writer, final EntityInfoAggregator entityInfo, final Map<String, Object> data, final EdmEntityType type) throws EdmException, EntityProviderException, IOException { for (final String navigationPropertyName : type.getNavigationPropertyNames()) { if (entityInfo.getSelectedNavigationPropertyNames().contains(navigationPropertyName)) { jsonStreamWriter.separator(); jsonStreamWriter.name(navigationPropertyName); if (entityInfo.getExpandedNavigationPropertyNames().contains(navigationPropertyName)) { if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { writeExpandedNavigationProperty(writer, entityInfo, data, type, navigationPropertyName); } else { writeDeferredUri(navigationPropertyName); } } else { writeDeferredUri(navigationPropertyName); } } } }
public ODataEntityProviderPropertiesBuilder fromProperties(final EntityProviderWriteProperties properties) { this.properties.mediaResourceMimeType = properties.getMediaResourceMimeType(); this.properties.inlineCountType = properties.getInlineCountType(); this.properties.inlineCount = properties.getInlineCount(); this.properties.nextLink = properties.getNextLink(); this.properties.expandSelectTree = properties.getExpandSelectTree(); this.properties.callbacks = properties.getCallbacks(); this.properties.selfLink = properties.getSelfLink(); this.properties.includeSimplePropertyType = properties.includeSimplePropertyType; return this; } }
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { writer.writeStartElement(Edm.NAMESPACE_M_2007_08, FormatXml.M_INLINE); context.setSelfLink(new URI(self)); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderException(EntityProviderException.EXPANDNOTSUPPORTED);
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { context.setSelfLink(new URI(self)); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderProducerException(EntityProviderException.EXPANDNOTSUPPORTED);
public ODataEntityProviderPropertiesBuilder fromProperties(final EntityProviderWriteProperties properties) { this.properties.inlineCountType = properties.getInlineCountType(); this.properties.inlineCount = properties.getInlineCount(); this.properties.nextLink = properties.getNextLink(); this.properties.expandSelectTree = properties.getExpandSelectTree(); this.properties.callbacks = properties.getCallbacks(); this.properties.selfLink = properties.getSelfLink(); this.properties.includeSimplePropertyType = properties.includeSimplePropertyType; this.properties.additionalLinks = properties.additionalLinks; this.properties.omitJsonWrapper = properties.omitJsonWrapper; this.properties.contentOnly = properties.contentOnly; this.properties.omitETag = properties.omitETag; this.properties.validatingFacets = properties.validatingFacets; this.properties.isResponsePayload = properties.isResponsePayload; this.properties.includeMetadataInContentOnly = properties.includeMetadataInContentOnly; this.properties.isDataBasedPropertySerialization = properties.isDataBasedPropertySerialization; this.properties.omitInlineForNullData = properties.omitInlineForNullData; return this; }
public ODataEntityProviderPropertiesBuilder fromProperties(final EntityProviderWriteProperties properties) { this.properties.inlineCountType = properties.getInlineCountType(); this.properties.inlineCount = properties.getInlineCount(); this.properties.nextLink = properties.getNextLink(); this.properties.expandSelectTree = properties.getExpandSelectTree(); this.properties.callbacks = properties.getCallbacks(); this.properties.selfLink = properties.getSelfLink(); this.properties.includeSimplePropertyType = properties.includeSimplePropertyType; this.properties.additionalLinks = properties.additionalLinks; this.properties.omitJsonWrapper = properties.omitJsonWrapper; this.properties.contentOnly = properties.contentOnly; this.properties.omitETag = properties.omitETag; this.properties.validatingFacets = properties.validatingFacets; this.properties.isResponsePayload = properties.isResponsePayload; this.properties.includeMetadataInContentOnly = properties.includeMetadataInContentOnly; this.properties.isDataBasedPropertySerialization = properties.isDataBasedPropertySerialization; this.properties.omitInlineForNullData = properties.omitInlineForNullData; return this; }
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { writer.writeStartElement(Edm.NAMESPACE_M_2007_08, FormatXml.M_INLINE); context.setCurrentExpandSelectTreeNode(subNode); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderException(EntityProviderException.EXPANDNOTSUPPORTED);
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { context.setCurrentExpandSelectTreeNode(subNode); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderProducerException(EntityProviderException.EXPANDNOTSUPPORTED);
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { context.setSelfLink(new URI(self)); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderProducerException(EntityProviderException.EXPANDNOTSUPPORTED);
if (properties.getCallbacks() != null && properties.getCallbacks().containsKey(navigationPropertyName)) { context.setCurrentExpandSelectTreeNode(subNode); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderProducerException(EntityProviderException.EXPANDNOTSUPPORTED);
public ODataEntityProviderPropertiesBuilder fromProperties(final EntityProviderWriteProperties properties) { this.properties.inlineCountType = properties.getInlineCountType(); this.properties.inlineCount = properties.getInlineCount(); this.properties.callback = properties.getCallback(); this.properties.nextLink = properties.getNextLink(); this.properties.expandSelectTree = properties.getExpandSelectTree(); this.properties.callbacks = properties.getCallbacks(); this.properties.selfLink = properties.getSelfLink(); this.properties.includeSimplePropertyType = properties.includeSimplePropertyType; this.properties.additionalLinks = properties.additionalLinks; this.properties.omitJsonWrapper = properties.omitJsonWrapper; this.properties.contentOnly = properties.contentOnly; this.properties.omitETag = properties.omitETag; this.properties.validatingFacets = properties.validatingFacets; this.properties.isResponsePayload = properties.isResponsePayload; this.properties.includeMetadataInContentOnly = properties.includeMetadataInContentOnly; this.properties.isDataBasedPropertySerialization = properties.isDataBasedPropertySerialization; this.properties.omitInlineForNullData = properties.omitInlineForNullData; return this; }
navigationPropertyName)); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderException(EntityProviderException.EXPANDNOTSUPPORTED);
navigationPropertyName)); ODataCallback callback = properties.getCallbacks().get(navigationPropertyName); if (callback == null) { throw new EntityProviderProducerException(EntityProviderException.EXPANDNOTSUPPORTED);