org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractServiceImpl<E,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
              extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractServiceImpl<E,I,Ep>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfService<I,Ep>, WSDLElement
Direct Known Subclasses:
ServiceImpl, ServiceImpl

public abstract class AbstractServiceImpl<E,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>
extends AbstractWSDLElementImpl<E>
implements AbsItfService<I,Ep>

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

Field Summary
protected  AbsItfDescription desc
          the desc
protected  java.util.List<Ep> endpoints
          list of endpoints
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
AbstractServiceImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 void addEndpoint(Ep endpoint)
          Add a endpoint to this service.
 AbsItfDescription getDescription()
           
 Ep getEndpoint(java.lang.String name)
          Get the specified endpoint.
 java.util.List<Ep> getEndpoints()
          Get all the endpoints defined here.
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, getOtherElements, setDocumentation, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getParent, getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfService
createEndpoint, getInterface, getQName, removeEndpoint, setInterface, setQName
 
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
 

Field Detail

desc

protected AbsItfDescription desc
the desc


endpoints

protected java.util.List<Ep extends AbsItfEndpoint> endpoints
list of endpoints

Constructor Detail

AbstractServiceImpl

public AbstractServiceImpl(E model,
                           AbstractWSDLElementImpl parent)
Method Detail

addEndpoint

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

Specified by:
addEndpoint in interface AbsItfService<I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>
Parameters:
endpoint - the endpoint to be added

getEndpoint

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

Specified by:
getEndpoint in interface AbsItfService<I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>
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<Ep> getEndpoints()
Description copied from interface: AbsItfService
Get all the endpoints defined here.

Specified by:
getEndpoints in interface AbsItfService<I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>

getDescription

public AbsItfDescription getDescription()
Returns:
the desc


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