org.ow2.easywsdl.wsdl.api.abstractItf
Interface AbsItfInterfaceType<O extends AbsItfOperation>

All Superinterfaces:
org.ow2.easywsdl.schema.api.SchemaElement, java.io.Serializable, WSDLElement, org.ow2.easywsdl.schema.api.XMLElement
All Known Subinterfaces:
InterfaceType
All Known Implementing Classes:
AbstractInterfaceTypeImpl, InterfaceTypeImpl, InterfaceTypeImpl

public interface AbsItfInterfaceType<O extends AbsItfOperation>
extends WSDLElement

This interface represents a port type. It contains information about operations associated with this port type.

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 void addOperation(O operation)
          Add an operation to this port type.
 O createOperation()
          create an operation to this port type.
 O getOperation(javax.xml.namespace.QName name)
          Get the specified operation.
 java.util.List<O> getOperations()
          Get all the operations defined here.
 javax.xml.namespace.QName getQName()
          Get the name of this port type.
 O removeOperation(java.lang.String name)
          Remove the specified operation.
 void setQName(javax.xml.namespace.QName name)
          Set the name of this port type.
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Method Detail

setQName

void setQName(javax.xml.namespace.QName name)
Set the name of this port type.

Parameters:
name - the desired name

getQName

javax.xml.namespace.QName getQName()
Get the name of this port type.

Returns:
the port type name

createOperation

O createOperation()
create an operation to this port type.


addOperation

void addOperation(O operation)
Add an operation to this port type.

Parameters:
operation - the operation to be added

getOperation

O getOperation(javax.xml.namespace.QName name)
Get the specified operation. Note that operation names can be overloaded within a PortType.

Parameters:
name - the name of the desired operation.
Returns:
the corresponding operation, or null if there wasn't any matching operation
Throws:
java.lang.IllegalArgumentException - if duplicate operations are found.

getOperations

java.util.List<O> getOperations()
Get all the operations defined here.


removeOperation

O removeOperation(java.lang.String name)
Remove the specified operation. Note that operation names can be overloaded within a PortType.

Parameters:
name - the name of the desired operation.
Throws:
java.lang.IllegalArgumentException - if duplicate operations are found.
See Also:
#getOperation(String)


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