org.eclipse.stp.core.sca
Interface AbstractReference

All Superinterfaces:
SCAObject
All Known Subinterfaces:
EntryPoint, ModuleReference, Reference

public interface AbstractReference
extends SCAObject

This interface represents a reference element in the SCA tooling model. A reference may be an EntryPoint or a Reference 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 reference.
 boolean matches(AbstractService service)
           
 
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 reference.

Returns:
Interface

matches

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