org.apache.tuscany.sca.contribution
Interface Import

All Known Subinterfaces:
DefaultImport, JavaImport, NamespaceImport, ResourceImport
All Known Implementing Classes:
DefaultImportImpl, JavaImportImpl, NamespaceImportImpl, ResourceImportImpl

public interface Import

The representation of an import.


Method Summary
 ModelResolver getModelResolver()
          Returns the model resolver for the models representing artifacts made available by this import.
 boolean match(Export export)
          Verify that a specific export actually exports what is being imported.
 void setModelResolver(ModelResolver modelResolver)
          Sets the model resolver for the models representing artifacts made available by this import.
 

Method Detail

getModelResolver

ModelResolver getModelResolver()
Returns the model resolver for the models representing artifacts made available by this import.

Returns:
The model resolver

setModelResolver

void setModelResolver(ModelResolver modelResolver)
Sets the model resolver for the models representing artifacts made available by this import.

Parameters:
modelResolver - The model resolver

match

boolean match(Export export)
Verify that a specific export actually exports what is being imported.

Parameters:
export - The Exported being verified
Returns:
true/false