org.apache.woden.wsdl20
Interface InterfaceMessageReference

All Superinterfaces:
NestedComponent, WSDLComponent
All Known Implementing Classes:
InterfaceMessageReferenceImpl

public interface InterfaceMessageReference
extends NestedComponent

Represents the InterfaceMessageReference component from the WSDL 2.0 Component model.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 Direction getDirection()
          Returns an enumerated type, Direction, that indicates the direction of this message.
 ElementDeclaration getElementDeclaration()
          Returns the ElementDeclaration representing the {element declaration} property of this InterfaceMessageReference.
 java.lang.String getMessageContentModel()
          Returns a String representing the {message content model} property of this InterfaceMessageReference.
 NCName getMessageLabel()
          Returns an NCName representing the {message label} property of this InterfaceMessageReference.
 InterfaceMessageReferenceElement toElement()
          Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.
 
Methods inherited from interface org.apache.woden.wsdl20.NestedComponent
getParent
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionsForNamespace
 

Method Detail

getMessageLabel

NCName getMessageLabel()
Returns an NCName representing the {message label} property of this InterfaceMessageReference. This associates the message with a placeholder message in the message exchange pattern specified by the parent interface operation.

Returns:
an NCName representing the message label

getDirection

Direction getDirection()
Returns an enumerated type, Direction, that indicates the direction of this message. Direction.IN corresponds to an input message. Direction.OUT corresponds to an output message.

Returns:
the Direction of this message

getMessageContentModel

java.lang.String getMessageContentModel()
Returns a String representing the {message content model} property of this InterfaceMessageReference. This specifies a token indicating the type of message content. '#any' means any single element, '#none' means no message content, '#other' means non-XML extension type system and '#element' means XML Schema global element definition.

Returns:
String representing the type of message content

getElementDeclaration

ElementDeclaration getElementDeclaration()
Returns the ElementDeclaration representing the {element declaration} property of this InterfaceMessageReference. This describes the content or "payload" of the message.

Returns:
the ElementDeclaration that describes the message content.

toElement

InterfaceMessageReferenceElement toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Returns:
the InterfaceMessageReferenceElement that maps to this InterfaceMessageReference


Copyright © 2007. All Rights Reserved.