com.ebmwebsourcing.commons.wsdl.impl.wsdl11
Class ServiceImpl

java.lang.Object
  extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
      extended by com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractServiceImpl<TService>
          extended by com.ebmwebsourcing.commons.wsdl.impl.wsdl11.ServiceImpl
All Implemented Interfaces:
Service, WSDLElement, java.io.Serializable

public class ServiceImpl
extends AbstractServiceImpl<TService>
implements Service

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

Field Summary
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractServiceImpl
desc, endpoints
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
documentation, model
 
Constructor Summary
ServiceImpl()
           
ServiceImpl(TService service, DescriptionImpl desc)
           
 
Method Summary
 void addEndpoint(Endpoint endpoint)
          Add a endpoint to this service.
 InterfaceType getInterface()
          Get interface.
 javax.xml.namespace.QName getQName()
          Get the name of this service.
 Endpoint removeEndpoint(java.lang.String name)
          Remove the specified endpoint.
 void setQName(javax.xml.namespace.QName name)
          Set the name of this service.
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractServiceImpl
getDescription, getEndpoint, getEndpoints
 
Methods inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
createDocumentation, createElementFromString, getDocumentation, getModel, getOtherAttributes, getOtherElements, 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.Service
getEndpoint, getEndpoints
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation
 

Constructor Detail

ServiceImpl

public ServiceImpl()

ServiceImpl

public ServiceImpl(TService service,
                   DescriptionImpl desc)
Method Detail

addEndpoint

public void addEndpoint(Endpoint endpoint)
Description copied from interface: Service
Add a endpoint to this service.

Specified by:
addEndpoint in interface Service
Overrides:
addEndpoint in class AbstractServiceImpl<TService>
Parameters:
endpoint - the endpoint to be added

getQName

public javax.xml.namespace.QName getQName()
Description copied from interface: Service
Get the name of this service.

Specified by:
getQName in interface Service
Returns:
the service name

removeEndpoint

public Endpoint removeEndpoint(java.lang.String name)
Description copied from interface: Service
Remove the specified endpoint.

Specified by:
removeEndpoint in interface Service
Parameters:
name - the name of the endpoint to be removed.
Returns:
the endpoint which was removed.

setQName

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

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

getInterface

public InterfaceType getInterface()
                           throws WSDLException
Description copied from interface: Service
Get interface.

Specified by:
getInterface in interface Service
Throws:
WSDLException


Copyright © 2008 eBM WebSourcing. All Rights Reserved.