com.ebmwebsourcing.commons.wsdl.api.abstractElmt
Class AbstractServiceImpl<E>

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

public abstract class AbstractServiceImpl<E>
extends AbstractWSDLElementImpl<E>
implements Service

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

Field Summary
protected  Description desc
          the desc
protected  java.util.List<Endpoint> endpoints
          list of endpoints
 
Fields inherited from class com.ebmwebsourcing.commons.wsdl.api.abstractElmt.AbstractWSDLElementImpl
documentation, model
 
Constructor Summary
AbstractServiceImpl()
           
 
Method Summary
 void addEndpoint(Endpoint endpoint)
          Add a endpoint to this service.
 Description getDescription()
           
 Endpoint getEndpoint(java.lang.String name)
          Get the specified endpoint.
 java.util.List<Endpoint> getEndpoints()
          Get all the endpoints defined here.
 
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
getInterface, getQName, removeEndpoint, setQName
 
Methods inherited from interface com.ebmwebsourcing.commons.wsdl.api.WSDLElement
createDocumentation, getDocumentation, getOtherAttributes, getOtherElements, setDocumentation
 

Field Detail

desc

protected Description desc
the desc


endpoints

protected java.util.List<Endpoint> endpoints
list of endpoints

Constructor Detail

AbstractServiceImpl

public AbstractServiceImpl()
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
Parameters:
endpoint - the endpoint to be added

getEndpoint

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

Specified by:
getEndpoint in interface Service
Parameters:
name - the name of the desired endpoint.
Returns:
the corresponding endpoint, or null if there wasn't any matching endpoint

getEndpoints

public java.util.List<Endpoint> getEndpoints()
Description copied from interface: Service
Get all the endpoints defined here.

Specified by:
getEndpoints in interface Service

getDescription

public Description getDescription()
Returns:
the desc


Copyright © 2008 eBM WebSourcing. All Rights Reserved.