com.ebmwebsourcing.commons.wsdl.impl.wsdl20
Class InterfaceTypeImpl

java.lang.Object
  extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
      extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractInterfaceTypeImpl<InterfaceType>
          extended by com.ebmwebsourcing.commons.wsdl.impl.wsdl20.InterfaceTypeImpl
All Implemented Interfaces:
InterfaceType, WSDLElement, java.io.Serializable

public class InterfaceTypeImpl
extends AbstractInterfaceTypeImpl<InterfaceType>
implements InterfaceType

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

Field Summary
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractInterfaceTypeImpl
desc, operations
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
documentation, model
 
Constructor Summary
InterfaceTypeImpl(InterfaceType itf, DescriptionImpl desc)
           
 
Method Summary
 void addOperation(Operation op)
          Add an operation to this port type.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements 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 class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractInterfaceTypeImpl
getDescription, getOperation, getOperations
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, setDocumentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.InterfaceType
getOperation, getOperations
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Constructor Detail

InterfaceTypeImpl

public InterfaceTypeImpl(InterfaceType itf,
                         DescriptionImpl desc)
Method Detail

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: InterfaceType
Get the name of this port type.

Specified by:
getQName in interface InterfaceType
Returns:
the port type name

addOperation

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

Specified by:
addOperation in interface InterfaceType
Overrides:
addOperation in class AbstractInterfaceTypeImpl<InterfaceType>
Parameters:
op - the operation to be added

removeOperation

public Operation removeOperation(java.lang.String name)
Description copied from interface: InterfaceType
Remove the specified operation. Note that operation names can be overloaded within a PortType.

Specified by:
removeOperation in interface InterfaceType
Parameters:
name - the name of the desired operation.
See Also:
#getOperation(String)

setQName

public void setQName(javax.xml.namespace.QName name)
Description copied from interface: InterfaceType
Set the name of this port type.

Specified by:
setQName in interface InterfaceType
Parameters:
name - the desired name

getOtherElements

public java.util.List<org.w3c.dom.Element> getOtherElements()
                                                     throws WSDLException
Description copied from class: AbstractWSDLElementImpl
Get all the extensibility elements defined here.

Specified by:
getOtherElements in interface WSDLElement
Overrides:
getOtherElements in class AbstractWSDLElementImpl<InterfaceType>
Throws:
WSDLException


Copyright © 2008 eBM WebSourcing. All Rights Reserved.