com.ebmwebsourcing.commons.wsdl.api
Interface InterfaceType

All Superinterfaces:
java.io.Serializable, WSDLElement
All Known Implementing Classes:
AbstractInterfaceTypeImpl, InterfaceTypeImpl, InterfaceTypeImpl

public interface InterfaceType
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(Operation operation)
          Add an operation to this port type.
 Operation getOperation(javax.xml.namespace.QName name)
          Get the specified operation.
 java.util.List<Operation> getOperations()
          Get all the operations defined here.
 javax.xml.namespace.QName getQName()
          Get the name of this port type.
 Operation 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 com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, 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

addOperation

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

Parameters:
operation - the operation to be added

getOperation

Operation 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<Operation> getOperations()
Get all the operations defined here.


removeOperation

Operation 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 eBM WebSourcing. All Rights Reserved.