org.apache.woden.wsdl20.xml.BindingMessageReferenceElement Maven / Gradle / Ivy
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.woden.wsdl20.xml;
import org.apache.woden.types.NCName;
import org.apache.woden.wsdl20.enumeration.Direction;
/**
* Represents the WSDL 2.0 <input> and <output> elements,
* declared as child elements of the binding <operation> element.
*
* @author John Kaputin ([email protected])
*/
public interface BindingMessageReferenceElement extends DocumentableElement,
NestedElement
{
/**
* Set the message direction using the specified enumerated type, Direction,
* which indicates the direction of the message.
* Direction.IN corresponds to the binding operation <input> element.
* Direction.OUT corresponds to the binding operation <output> element.
*
* @param dir the Direction of the message
*/
public void setDirection(Direction dir);
/**
* Returns an enumerated type, Direction, that indicates the direction of this message.
* Direction.IN corresponds to the binding operation <input> element.
* Direction.OUT corresponds to the binding operation <output> element.
*
* @return the Direction of the message
*/
public Direction getDirection();
/**
* Set the message label to the specified NCName.
* This corresponds to the messageLabel
attribute of the binding operation
* <input> and <output> elements.
* It represents a placeholder message in the message exchange pattern specified by the
* parent binding <operation> element.
*
* @param msgLabel the NCName representing the message label
*/
public void setMessageLabel(NCName msgLabel);
/**
* Return the NCName representing the message label.
* This corresponds to the messageLabel
attribute of the binding operation
* <input> and <output> elements.
* It represents a placeholder message in the message exchange pattern specified by the
* parent binding <operation> element.
*
* @return NCName the message label
*/
public NCName getMessageLabel();
/**
* Return the InterfaceMessageReferenceElement associated with this BindingMessageReferenceElement.
* This equates to an <input> or <output> element of the interface operation being
* bound whose message label is equal to the effective message label of this binding message
* reference.
* If such an element does not exist, this method will return null.
*
* @return the InterfaceMessageReferenceElement
*/
public InterfaceMessageReferenceElement getInterfaceMessageReferenceElement();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy