org.apache.woden.internal.wsdl20
Class BindingMessageReferenceImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.WSDLObjectImpl
          extended by org.apache.woden.internal.wsdl20.DocumentableImpl
              extended by org.apache.woden.internal.wsdl20.NestedImpl
                  extended by org.apache.woden.internal.wsdl20.BindingMessageReferenceImpl
All Implemented Interfaces:
BindingMessageReference, AttributeExtensible, ElementExtensible, NestedComponent, WSDLComponent, BindingMessageReferenceElement, DocumentableElement, NestedElement, WSDLElement

public class BindingMessageReferenceImpl
extends NestedImpl
implements BindingMessageReference, BindingMessageReferenceElement

This class represents the BindingMessageReference component of the WSDL 2.0 Component model and the <input> and <output> child elements of a WSDL binding <operation>.

Author:
jkaputin@apache.org

Constructor Summary
BindingMessageReferenceImpl()
           
 
Method Summary
 Direction getDirection()
          Returns an enumerated type, Direction, that indicates the direction of this message.
 InterfaceMessageReference getInterfaceMessageReference()
          Returns an InterfaceMessageReference representing the {interface message reference} property of the BindingMessageReference component.
 NCName getMessageLabel()
          Return the NCName representing the message label.
 void setDirection(Direction dir)
          Set the message direction using the specified enumerated type, Direction, which indicates the direction of the message.
 void setMessageLabel(NCName msgLabel)
          Set the message label to the specified NCName.
 BindingMessageReferenceElement toElement()
          Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.
 
Methods inherited from class org.apache.woden.internal.wsdl20.NestedImpl
getParent, getParentElement, setParentElement
 
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl
addDocumentationElement, getDocumentationElements
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLObjectImpl
containsComponent, equals, getComponentExtensionsForNamespace, setComponentExtensions
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.NestedComponent
getParent
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionsForNamespace
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement, setParentElement
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 

Constructor Detail

BindingMessageReferenceImpl

public BindingMessageReferenceImpl()
Method Detail

getInterfaceMessageReference

public InterfaceMessageReference getInterfaceMessageReference()
Description copied from interface: BindingMessageReference
Returns an InterfaceMessageReference representing the {interface message reference} property of the BindingMessageReference component. That is, the interface message reference that this binding message reference provides concrete bindings for.

Specified by:
getInterfaceMessageReference in interface BindingMessageReference
Returns:
an InterfaceMessageReference bound by this BindingMessageReference

toElement

public BindingMessageReferenceElement toElement()
Description copied from interface: BindingMessageReference
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Specified by:
toElement in interface BindingMessageReference
Returns:
the BindingMessageReferenceElement that maps to this BindingMessageReference

setDirection

public void setDirection(Direction dir)
Description copied from interface: BindingMessageReferenceElement
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.

Specified by:
setDirection in interface BindingMessageReferenceElement
Parameters:
dir - the Direction of the message

getDirection

public Direction getDirection()
Description copied from interface: BindingMessageReferenceElement
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.

Specified by:
getDirection in interface BindingMessageReferenceElement
Returns:
the Direction of the message

setMessageLabel

public void setMessageLabel(NCName msgLabel)
Description copied from interface: BindingMessageReferenceElement
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.

Specified by:
setMessageLabel in interface BindingMessageReferenceElement
Parameters:
msgLabel - the NCName representing the message label

getMessageLabel

public NCName getMessageLabel()
Description copied from interface: BindingMessageReferenceElement
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.

Specified by:
getMessageLabel in interface BindingMessageReferenceElement
Returns:
NCName the message label


Copyright © 2007. All Rights Reserved.