/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param schemas all XML schemas which will be written * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final List<Schema> schemas, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(schemas, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param schemas all XML schemas which will be written * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final List<Schema> schemas, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(schemas, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param schemas all XML schemas which will be written * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final List<Schema> schemas, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(schemas, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param schemas all XML schemas which will be written * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final List<Schema> schemas, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(schemas, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param serviceMetadata * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final DataServices serviceMetadata, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(serviceMetadata, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param serviceMetadata * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final DataServices serviceMetadata, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(serviceMetadata, predefinedNamespaces); }
/** * Write metadata document in XML format for the given schemas and the provided predefined * namespaces at the EDMX element. PredefinedNamespaces is of type * Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map. * * @param serviceMetadata * @param predefinedNamespaces type of Map{@literal <}prefix,namespace{@literal >} and may be null or an empty Map * @return resulting {@link ODataResponse} with written metadata content. * @throws EntityProviderException if writing of data (serialization) fails */ public static ODataResponse writeMetadata(final DataServices serviceMetadata, final Map<String, String> predefinedNamespaces) throws EntityProviderException { return createEntityProvider().writeMetadata(serviceMetadata, predefinedNamespaces); }