All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.api.model.wsdl.editable.EditableWSDLModel Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.api.model.wsdl.editable;

import java.util.Map;

import javax.xml.namespace.QName;

import com.sun.istack.NotNull;
import com.sun.xml.ws.api.model.wsdl.WSDLModel;
import com.sun.xml.ws.policy.PolicyMap;

public interface EditableWSDLModel extends WSDLModel {

    @Override
    EditableWSDLPortType getPortType(@NotNull QName name);

    /**
     * Add Binding
     *
     * @param portType Bound port type
     */
    void addBinding(EditableWSDLBoundPortType portType);

    @Override
    EditableWSDLBoundPortType getBinding(@NotNull QName name);

    @Override
    EditableWSDLBoundPortType getBinding(@NotNull QName serviceName, @NotNull QName portName);

    @Override
    EditableWSDLService getService(@NotNull QName name);

    @Override
    @NotNull
    Map getMessages();

    /**
     * Add message
     *
     * @param msg Message
     */
    void addMessage(EditableWSDLMessage msg);

    @Override
    @NotNull
    Map getPortTypes();

    /**
     * Add port type
     *
     * @param pt Port type
     */
    void addPortType(EditableWSDLPortType pt);

    @Override
    @NotNull
    Map getBindings();

    @Override
    @NotNull
    Map getServices();

    /**
     * Add service
     *
     * @param svc Service
     */
    void addService(EditableWSDLService svc);

    @Override
    EditableWSDLMessage getMessage(QName name);

    /**
     * @deprecated
     */
    @Deprecated
    void setPolicyMap(PolicyMap policyMap);

    /**
     * Finalize rpc-lit binding
     *
     * @param portType Binding
     */
    void finalizeRpcLitBinding(EditableWSDLBoundPortType portType);

    /**
     * Freezes WSDL model to prevent further modification
     */
    void freeze();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy