org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractBindingImpl<E,I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>

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.AbstractBindingImpl<E,I,BO>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfBinding<I,BO>, WSDLElement
Direct Known Subclasses:
BindingImpl, BindingImpl

public abstract class AbstractBindingImpl<E,I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>
extends AbstractWSDLElementImpl<E>
implements AbsItfBinding<I,BO>

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfBinding
AbsItfBinding.BindingConstants, AbsItfBinding.StyleConstant
 
Field Summary
protected  java.util.List<BO> bindingOperations
          the list of binding operations
protected  AbsItfDescription desc
          the desc
protected  I itf
          the associated interface
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractBindingImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 void addBindingOperation(BO bo)
          Add an operation binding to binding.
 BO getBindingOperation(java.lang.String name)
          Get the specified operation binding.
 java.util.List<BO> getBindingOperations()
          Get all the operation bindings defined here.
 AbsItfDescription getDescription()
           
 I getInterface()
          Get the port type this is a binding for.
 
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.AbsItfBinding
createBindingOperation, getHttpContentEncodingDefault, getHttpDefaultMethod, getHttpQueryParameterSeparatorDefault, getQName, getStyle, getTransportProtocol, getTypeOfBinding, getVersion, isHttpCookies, removeBindingOperation, setInterface, setQName, setTransportProtocol
 
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

desc

protected AbsItfDescription desc
the desc


itf

protected I extends AbsItfInterfaceType itf
the associated interface


bindingOperations

protected java.util.List<BO extends AbsItfBindingOperation> bindingOperations
the list of binding operations

Constructor Detail

AbstractBindingImpl

public AbstractBindingImpl(E model,
                           AbstractWSDLElementImpl parent)
Method Detail

getDescription

public AbsItfDescription getDescription()
Returns:
the desc

getInterface

public I getInterface()
Description copied from interface: AbsItfBinding
Get the port type this is a binding for.

Specified by:
getInterface in interface AbsItfBinding<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>
Returns:
the associated port type

getBindingOperations

public java.util.List<BO> getBindingOperations()
Description copied from interface: AbsItfBinding
Get all the operation bindings defined here.

Specified by:
getBindingOperations in interface AbsItfBinding<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>

addBindingOperation

public void addBindingOperation(BO bo)
Description copied from interface: AbsItfBinding
Add an operation binding to binding.

Specified by:
addBindingOperation in interface AbsItfBinding<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>
Parameters:
bo - the operation binding to be added

getBindingOperation

public BO getBindingOperation(java.lang.String name)
Description copied from interface: AbsItfBinding
Get the specified operation binding. Note that operation names can be overloaded within a PortType.

Specified by:
getBindingOperation in interface AbsItfBinding<I extends AbsItfInterfaceType,BO extends AbsItfBindingOperation>


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