org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractOperationImpl<E,In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>

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<E,In,Out,F>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfOperation<In,Out,F>, WSDLElement
Direct Known Subclasses:
OperationImpl, OperationImpl

public abstract class AbstractOperationImpl<E,In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
extends AbstractWSDLElementImpl<E>
implements AbsItfOperation<In,Out,F>

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
protected  java.util.List<F> faults
          the faults
protected  In input
          the input
protected  AbsItfInterfaceType itf
          the parent interface
protected  Out output
          the output
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractOperationImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 F getFault(java.lang.String 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.
 AbsItfInterfaceType getInterface()
           
 Out getOutput()
          Get the output message specification for this operation.
 java.lang.String getSignature()
          get signature of the operation
 void setFaults(java.util.List<F> 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.
 
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
equals, getParent, getSchema, getTopParent, hashCode, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfOperation
addFault, createFault, createInput, createOutput, getFaultByElementName, getParameterOrdering, getPattern, getQName, removeFault, removeFaultByElementName, setParameterOrdering, setPattern, setQName
 
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
 

Field Detail

itf

protected AbsItfInterfaceType itf
the parent interface


input

protected In extends AbsItfInput input
the input


output

protected Out extends AbsItfOutput output
the output


faults

protected java.util.List<F extends AbsItfFault> faults
the faults

Constructor Detail

AbstractOperationImpl

public AbstractOperationImpl(E model,
                             AbstractWSDLElementImpl parent)
Method Detail

getInterface

public AbsItfInterfaceType getInterface()
Returns:
the interface

getInput

public In getInput()
Description copied from interface: AbsItfOperation
Get the input message specification for this operation.

Specified by:
getInput in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Returns:
the input

setInput

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

Specified by:
setInput in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Parameters:
input - the input to set

getOutput

public Out getOutput()
Description copied from interface: AbsItfOperation
Get the output message specification for this operation.

Specified by:
getOutput in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Returns:
the output

setOutput

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

Specified by:
setOutput in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Parameters:
output - the output to set

getFaults

public java.util.List<F> getFaults()
Description copied from interface: AbsItfOperation
Get all the fault messages associated with this operation.

Specified by:
getFaults in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Returns:
the fault

setFaults

public void setFaults(java.util.List<F> fault)
Parameters:
fault - the fault to set

getFault

public F getFault(java.lang.String name)
Description copied from interface: AbsItfOperation
Get the specified fault .

Specified by:
getFault in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Parameters:
name - the name of the desired fault message.
Returns:
the corresponding fault message, or null if there wasn't any matching message

getSignature

public java.lang.String getSignature()
Description copied from interface: AbsItfOperation
get signature of the operation

Specified by:
getSignature in interface AbsItfOperation<In extends AbsItfInput,Out extends AbsItfOutput,F extends AbsItfFault>
Returns:
the signature


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