org.apache.tuscany.sca.contribution.impl
Class DefaultImportImpl

java.lang.Object
  extended by org.apache.tuscany.sca.contribution.impl.DefaultImportImpl
All Implemented Interfaces:
DefaultImport, Import

public class DefaultImportImpl
extends java.lang.Object
implements DefaultImport

The representation of an import for the contribution


Constructor Summary
protected DefaultImportImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultImportImpl

protected DefaultImportImpl()
Method Detail

getModelResolver

public ModelResolver getModelResolver()
Description copied from interface: Import
Returns the model resolver for the models representing artifacts made available by this import.

Specified by:
getModelResolver in interface Import
Returns:
The model resolver

setModelResolver

public void setModelResolver(ModelResolver modelResolver)
Description copied from interface: Import
Sets the model resolver for the models representing artifacts made available by this import.

Specified by:
setModelResolver in interface Import
Parameters:
modelResolver - The model resolver

match

public boolean match(Export export)
Description copied from interface: Import
Verify that a specific export actually exports what is being imported.

Specified by:
match in interface Import
Parameters:
export - The Exported being verified
Returns:
true/false