org.eclipse.stp.core.sca
Interface AbstractService

All Superinterfaces:
SCAObject
All Known Subinterfaces:
ExternalService, ModuleService, Service

public interface AbstractService
extends SCAObject

This interface represents a service element in the SCA tooling model. A service may be an ExternalService or a Service on a ComponentType.

This interface is not intended to be implemented by clients.

Since:
1.0

Method Summary
 Interface getInterface()
          Return the Interface assigned to this service.
 boolean matches(AbstractReference reference)
           
 
Methods inherited from interface org.eclipse.stp.core.sca.SCAObject
addStatus, clearStatus, getEObject, getFlags, getName, getStatus, setName
 

Method Detail

getInterface

Interface getInterface()
Return the Interface assigned to this service.

Returns:
Interface

matches

boolean matches(AbstractReference reference)
Parameters:
reference - The AbstractReference to test for compatibility.
Returns:
boolean True if and only if the Interface of the given reference is compatible with this service.