org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractServiceImpl<E,I extends AbsItfInterfaceType<? extends AbsItfOperation>,Ep extends AbsItfEndpoint>
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
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
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
documentation, model, parent |
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.schema.api.XMLElement |
addOtherElements, getOtherElements |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
desc
protected AbsItfDescription desc
- the desc
endpoints
protected java.util.List<Ep extends AbsItfEndpoint> endpoints
- list of endpoints
AbstractServiceImpl
public AbstractServiceImpl(E model,
AbstractWSDLElementImpl parent)
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.