org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractBindingOperationImpl<E,O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>

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.AbstractBindingOperationImpl<E,O,BIn,BOut,BF>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfBindingOperation<O,BIn,BOut,BF>, WSDLElement
Direct Known Subclasses:
BindingOperationImpl, BindingOperationImpl

public abstract class AbstractBindingOperationImpl<E,O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
extends AbstractWSDLElementImpl<E>
implements AbsItfBindingOperation<O,BIn,BOut,BF>

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

Field Summary
protected  AbsItfBinding binding
          the parent binding
protected  java.util.List<BF> faults
          the faults
protected  BIn input
          the input
protected  BOut output
          the output
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractBindingOperationImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 AbsItfBinding getBinding()
           
 BF getFault(java.lang.String name)
          Get the specified fault binding.
 java.util.List<BF> getFaults()
          Get all the fault bindings associated with this operation binding.
 BIn getInput()
          Get the input message specification for this operation.
 O getOperation()
          Get the operation that this operation binding binds.
 BOut getOutput()
          Get the output message specification for this operation.
 void setFaults(java.util.List<BF> fault)
           
 void setInput(BIn input)
          Set the input message specification for this operation.
 void setOutput(BOut 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.AbsItfBindingOperation
addFault, createFault, createInput, createOutput, getHttpContentEncodingDefault, getHttpFaultSerialization, getHttpInputSerialization, getHttpLocation, getHttpMethod, getHttpOutputSerialization, getHttpQueryParameterSeparator, getMEP, getQName, getSoapAction, getStyle, isHttpIgnoreUncited, removeFault, setMEP, setQName, setSoapAction
 
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

binding

protected AbsItfBinding binding
the parent binding


input

protected BIn extends AbsItfBindingInput input
the input


output

protected BOut extends AbsItfBindingOutput output
the output


faults

protected java.util.List<BF extends AbsItfBindingFault> faults
the faults

Constructor Detail

AbstractBindingOperationImpl

public AbstractBindingOperationImpl(E model,
                                    AbstractWSDLElementImpl parent)
Method Detail

getBinding

public AbsItfBinding getBinding()
Returns:
the binding

getOperation

public O getOperation()
Description copied from interface: AbsItfBindingOperation
Get the operation that this operation binding binds.

Specified by:
getOperation in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Returns:
the operation that this operation binding binds

getInput

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

Specified by:
getInput in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Returns:
the input

setInput

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

Specified by:
setInput in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Parameters:
input - the input to set

getOutput

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

Specified by:
getOutput in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Returns:
the output

setOutput

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

Specified by:
setOutput in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Parameters:
output - the output to set

getFaults

public java.util.List<BF> getFaults()
Description copied from interface: AbsItfBindingOperation
Get all the fault bindings associated with this operation binding.

Specified by:
getFaults in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Returns:
the fault

setFaults

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

getFault

public BF getFault(java.lang.String name)
Description copied from interface: AbsItfBindingOperation
Get the specified fault binding.

Specified by:
getFault in interface AbsItfBindingOperation<O extends AbsItfOperation,BIn extends AbsItfBindingInput,BOut extends AbsItfBindingOutput,BF extends AbsItfBindingFault>
Parameters:
name - the name of the desired fault binding.
Returns:
the corresponding fault binding, or null if there wasn't any matching fault binding


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