org.ow2.easywsdl.wsdl.impl.wsdl11
Class OperationImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
              extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractOperationImpl<TOperation,Input,Output,Fault>
                  extended by org.ow2.easywsdl.wsdl.impl.wsdl11.OperationImpl
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfOperation<Input,Output,Fault>, Operation, WSDLElement

public class OperationImpl
extends AbstractOperationImpl<TOperation,Input,Output,Fault>
implements Operation

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfOperation
AbsItfOperation.MEPPatternConstants
 
Field Summary
 
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractOperationImpl
faults, input, itf, output
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
OperationImpl(TOperation op, InterfaceTypeImpl itf)
           
 
Method Summary
 void addFault(Fault fault)
          Add a fault message that must be associated with this operation.
 Fault createFault()
           
 Input createInput()
           
 Output createOutput()
           
 Fault getFaultByElementName(javax.xml.namespace.QName name)
          Get the specified fault .
 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.
 Fault removeFault(java.lang.String name)
          Remove the specified fault message.
 Fault removeFaultByElementName(javax.xml.namespace.QName name)
          Remove the specified fault .
 void setInput(Input input)
          Set the input message specification for this operation.
 void setOutput(Output 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 class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractOperationImpl
getFault, getFaults, getInput, getInterface, getOutput, getSignature, setFaults
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getParent, getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfOperation
getFault, getFaults, getInput, getOutput, getSignature
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Constructor Detail

OperationImpl

public OperationImpl(TOperation op,
                     InterfaceTypeImpl itf)
Method Detail

addFault

public void addFault(Fault fault)
Description copied from interface: AbsItfOperation
Add a fault message that must be associated with this operation.

Specified by:
addFault in interface AbsItfOperation<Input,Output,Fault>
Parameters:
fault - the new fault message

setInput

public void setInput(Input input)
Description copied from interface: AbsItfOperation
Set the input message specification for this operation.

Specified by:
setInput in interface AbsItfOperation<Input,Output,Fault>
Overrides:
setInput in class AbstractOperationImpl<TOperation,Input,Output,Fault>
Parameters:
input - the input to set

setOutput

public void setOutput(Output output)
Description copied from interface: AbsItfOperation
Set the output message specification for this operation.

Specified by:
setOutput in interface AbsItfOperation<Input,Output,Fault>
Overrides:
setOutput in class AbstractOperationImpl<TOperation,Input,Output,Fault>
Parameters:
output - the output to set

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: AbsItfOperation
Get the name of this operation.

Specified by:
getQName in interface AbsItfOperation<Input,Output,Fault>
Returns:
the operation name

getParameterOrdering

public java.util.List<java.lang.String> getParameterOrdering()
Description copied from interface: AbsItfOperation
Get the parameter ordering for this operation.

Specified by:
getParameterOrdering in interface AbsItfOperation<Input,Output,Fault>
Returns:
the parameter ordering, a list consisting of message part names

removeFault

public Fault removeFault(java.lang.String name)
Description copied from interface: AbsItfOperation
Remove the specified fault message.

Specified by:
removeFault in interface AbsItfOperation<Input,Output,Fault>
Parameters:
name - the name of the fault message to be removed.
Returns:
the fault message which was removed

setQName

public void setQName(javax.xml.namespace.QName name)
Description copied from interface: AbsItfOperation
Set the name of this operation.

Specified by:
setQName in interface AbsItfOperation<Input,Output,Fault>
Parameters:
name - the desired name

setParameterOrdering

public void setParameterOrdering(java.util.List<java.lang.String> parameterOrder)
Description copied from interface: AbsItfOperation
Set the parameter ordering for a request-response, or solicit-response operation.

Specified by:
setParameterOrdering in interface AbsItfOperation<Input,Output,Fault>
Parameters:
parameterOrder - a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations

getPattern

public AbsItfOperation.MEPPatternConstants getPattern()
Description copied from interface: AbsItfOperation
get the pattern

Specified by:
getPattern in interface AbsItfOperation<Input,Output,Fault>

setPattern

public void setPattern(AbsItfOperation.MEPPatternConstants pattern)
                throws WSDLException
Description copied from interface: AbsItfOperation
set the pattern

Specified by:
setPattern in interface AbsItfOperation<Input,Output,Fault>
Parameters:
pattern - the pattern
Throws:
WSDLException

getFaultByElementName

public Fault getFaultByElementName(javax.xml.namespace.QName name)
Description copied from interface: AbsItfOperation
Get the specified fault .

Specified by:
getFaultByElementName in interface AbsItfOperation<Input,Output,Fault>
Parameters:
name - the name of the fault element.
Returns:
the corresponding fault message, or null if there wasn't any matching message

removeFaultByElementName

public Fault removeFaultByElementName(javax.xml.namespace.QName name)
Description copied from interface: AbsItfOperation
Remove the specified fault .

Specified by:
removeFaultByElementName in interface AbsItfOperation<Input,Output,Fault>
Parameters:
name - the name of the fault element to be removed.
Returns:
the fault message which was removed

createFault

public Fault createFault()
Specified by:
createFault in interface AbsItfOperation<Input,Output,Fault>

createInput

public Input createInput()
Specified by:
createInput in interface AbsItfOperation<Input,Output,Fault>

createOutput

public Output createOutput()
Specified by:
createOutput in interface AbsItfOperation<Input,Output,Fault>


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