org.ow2.easywsdl.wsdl.api.abstractItf
Interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>

All Superinterfaces:
org.ow2.easywsdl.schema.api.SchemaElement, java.io.Serializable, WSDLElement, org.ow2.easywsdl.schema.api.XMLElement
All Known Subinterfaces:
Operation
All Known Implementing Classes:
AbstractOperationImpl, OperationImpl, OperationImpl

public interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
extends WSDLElement

This interface represents a WSDL operation. It includes information on input, output and fault messages associated with usage of the operation.

Author:
Nicolas Salatge - eBM WebSourcing

Nested Class Summary
static class AbsItfOperation.MEPPatternConstants
          Constants for the Patterns.
 
Method Summary
 void addFault(F fault)
          Add a fault message that must be associated with this operation.
 F createFault()
           
 In createInput()
           
 Out createOutput()
           
 F getFault(java.lang.String name)
          Get the specified fault .
 F getFaultByElementName(javax.xml.namespace.QName name)
          Get the specified fault .
 java.util.List<F> getFaults()
          Get all the fault messages associated with this operation.
 In getInput()
          Get the input message specification for this operation.
 Out getOutput()
          Get the output message specification for this operation.
 java.util.List<java.lang.String> getParameterOrdering()
          Get the parameter ordering for this operation.
 AbsItfOperation.MEPPatternConstants getPattern()
          get the pattern
 javax.xml.namespace.QName getQName()
          Get the name of this operation.
 java.lang.String getSignature()
          get signature of the operation
 F removeFault(java.lang.String name)
          Remove the specified fault message.
 F removeFaultByElementName(javax.xml.namespace.QName name)
          Remove the specified fault .
 void setInput(In input)
          Set the input message specification for this operation.
 void setOutput(Out output)
          Set the output message specification for this operation.
 void setParameterOrdering(java.util.List<java.lang.String> parameterOrder)
          Set the parameter ordering for a request-response, or solicit-response operation.
 void setPattern(AbsItfOperation.MEPPatternConstants pattern)
          set the pattern
 void setQName(javax.xml.namespace.QName name)
          Set the name of this operation.
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
 

Method Detail

setQName

void setQName(javax.xml.namespace.QName name)
Set the name of this operation.

Parameters:
name - the desired name

getQName

javax.xml.namespace.QName getQName()
Get the name of this operation.

Returns:
the operation name

setInput

void setInput(In input)
Set the input message specification for this operation.

Parameters:
input - the new input message

getInput

In getInput()
Get the input message specification for this operation.

Returns:
the input message

setOutput

void setOutput(Out output)
Set the output message specification for this operation.

Parameters:
output - the new output message

getOutput

Out getOutput()
Get the output message specification for this operation.

Returns:
the output message specification for the operation

addFault

void addFault(F fault)
Add a fault message that must be associated with this operation.

Parameters:
fault - the new fault message

getFault

F getFault(java.lang.String name)
Get the specified fault .

Parameters:
name - the name of the desired fault message.
Returns:
the corresponding fault message, or null if there wasn't any matching message

getFaultByElementName

F getFaultByElementName(javax.xml.namespace.QName name)
Get the specified fault .

Parameters:
name - the name of the fault element.
Returns:
the corresponding fault message, or null if there wasn't any matching message

removeFault

F removeFault(java.lang.String name)
Remove the specified fault message.

Parameters:
name - the name of the fault message to be removed.
Returns:
the fault message which was removed

removeFaultByElementName

F removeFaultByElementName(javax.xml.namespace.QName name)
Remove the specified fault .

Parameters:
name - the name of the fault element to be removed.
Returns:
the fault message which was removed

getFaults

java.util.List<F> getFaults()
Get all the fault messages associated with this operation.

Returns:
names of fault messages

setParameterOrdering

void setParameterOrdering(java.util.List<java.lang.String> parameterOrder)
                          throws WSDLException
Set the parameter ordering for a request-response, or solicit-response operation.

Parameters:
parameterOrder - a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations
Throws:
WSDLException

getParameterOrdering

java.util.List<java.lang.String> getParameterOrdering()
Get the parameter ordering for this operation.

Returns:
the parameter ordering, a list consisting of message part names

getPattern

AbsItfOperation.MEPPatternConstants getPattern()
get the pattern


setPattern

void setPattern(AbsItfOperation.MEPPatternConstants pattern)
                throws WSDLException
set the pattern

Parameters:
pattern - the pattern
Throws:
WSDLException

getSignature

java.lang.String getSignature()
get signature of the operation

Returns:
the signature

createInput

In createInput()

createOutput

Out createOutput()

createFault

F createFault()


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.