org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractInterfaceTypeImpl<E,Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? 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.AbstractInterfaceTypeImpl<E,Op>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfInterfaceType<Op>, WSDLElement
Direct Known Subclasses:
InterfaceTypeImpl, InterfaceTypeImpl

public abstract class AbstractInterfaceTypeImpl<E,Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? extends AbsItfFault>>
extends AbstractWSDLElementImpl<E>
implements AbsItfInterfaceType<Op>

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

Field Summary
protected  AbsItfDescription desc
          the desc
protected  java.util.List<Op> operations
          list of operations
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractInterfaceTypeImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 void addOperation(Op op)
          Add an operation to this port type.
 AbsItfDescription getDescription()
           
 Op getOperation(javax.xml.namespace.QName name)
          Get the specified operation.
 java.util.List<Op> getOperations()
          Get all the operations defined here.
 
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.AbsItfInterfaceType
createOperation, getQName, removeOperation, 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

desc

protected AbsItfDescription desc
the desc


operations

protected java.util.List<Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? extends AbsItfFault>> operations
list of operations

Constructor Detail

AbstractInterfaceTypeImpl

public AbstractInterfaceTypeImpl(E model,
                                 AbstractWSDLElementImpl parent)
Method Detail

addOperation

public void addOperation(Op op)
Description copied from interface: AbsItfInterfaceType
Add an operation to this port type.

Specified by:
addOperation in interface AbsItfInterfaceType<Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? extends AbsItfFault>>
Parameters:
op - the operation to be added

getOperation

public Op getOperation(javax.xml.namespace.QName name)
Description copied from interface: AbsItfInterfaceType
Get the specified operation. Note that operation names can be overloaded within a PortType.

Specified by:
getOperation in interface AbsItfInterfaceType<Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? extends AbsItfFault>>
Parameters:
name - the name of the desired operation.
Returns:
the corresponding operation, or null if there wasn't any matching operation

getOperations

public java.util.List<Op> getOperations()
Description copied from interface: AbsItfInterfaceType
Get all the operations defined here.

Specified by:
getOperations in interface AbsItfInterfaceType<Op extends AbsItfOperation<? extends AbsItfInput,? extends AbsItfOutput,? extends AbsItfFault>>

getDescription

public AbsItfDescription getDescription()
Returns:
the desc


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