com.ebmwebsourcing.commons.wsdl.impl.wsdl11
Class OperationImpl

java.lang.Object
  extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
      extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractOperationImpl<TOperation>
          extended by com.ebmwebsourcing.commons.wsdl.impl.wsdl11.OperationImpl
All Implemented Interfaces:
Operation, WSDLElement, java.io.Serializable

public class OperationImpl
extends AbstractOperationImpl<TOperation>
implements Operation

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

Field Summary
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractOperationImpl
faults, input, itf, output
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
documentation, model
 
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 getFaultByElementName(javax.xml.namespace.QName name)
          Get the specified fault .
 java.util.List<java.lang.String> getParameterOrdering()
          Get the parameter ordering for this operation.
 Constants.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 setParameterOrdering(java.util.List<java.lang.String> parameterOrder)
          Set the parameter ordering for a request-response, or solicit-response operation.
 void setPattern(Constants.MEPPatternConstants pattern)
          set the pattern
 void setQName(javax.xml.namespace.QName name)
          Set the name of this operation.
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractOperationImpl
getFault, getFaults, getInput, getInterface, getOutput, getSignature, setFaults, setInput, setOutput
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.Operation
getFault, getFaults, getInput, getOutput, getSignature, setInput, setOutput
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation
 

Constructor Detail

OperationImpl

public OperationImpl(TOperation op,
                     InterfaceTypeImpl itf)
Method Detail

addFault

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

Specified by:
addFault in interface Operation
Parameters:
fault - the new fault message

getQName

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

Specified by:
getQName in interface Operation
Returns:
the operation name

getParameterOrdering

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

Specified by:
getParameterOrdering in interface Operation
Returns:
the parameter ordering, a list consisting of message part names

removeFault

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

Specified by:
removeFault in interface Operation
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: Operation
Set the name of this operation.

Specified by:
setQName in interface Operation
Parameters:
name - the desired name

setParameterOrdering

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

Specified by:
setParameterOrdering in interface Operation
Parameters:
parameterOrder - a list of named parameters containing the part names to reflect the desired order of parameters for RPC-style operations

getPattern

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

Specified by:
getPattern in interface Operation

setPattern

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

Specified by:
setPattern in interface Operation
Parameters:
pattern - the pattern
Throws:
WSDLException

getFaultByElementName

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

Specified by:
getFaultByElementName in interface Operation
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: Operation
Remove the specified fault .

Specified by:
removeFaultByElementName in interface Operation
Parameters:
name - the name of the fault element to be removed.
Returns:
the fault message which was removed


Copyright © 2008 eBM WebSourcing. All Rights Reserved.