org.apache.tuscany.sca.contribution
Interface ContributionImport


public interface ContributionImport

The representation of an import for the contribution

Version:
$Rev: 539692 $ $Date: 2007-05-19 07:06:18 +0100 (Sat, 19 May 2007) $

Method Summary
 java.lang.String getLocation()
          Get the location used to resolve the definitions for this import
 ModelResolver getModelResolver()
          Returns the model resolver for the models representing artifacts made available by this import.
 java.lang.String getNamespace()
          Get Namespace that identifies the import
 void setLocation(java.lang.String location)
          Set the location used to resolve the definitions for this import
 void setModelResolver(ModelResolver modelResolver)
          Sets the model resolver for the models representing artifacts made available by this import.
 void setNamespace(java.lang.String namespace)
          Set Namespace that identifies the import
 

Method Detail

getLocation

java.lang.String getLocation()
Get the location used to resolve the definitions for this import

Returns:
The import location

setLocation

void setLocation(java.lang.String location)
Set the location used to resolve the definitions for this import

Parameters:
location - The import location

getNamespace

java.lang.String getNamespace()
Get Namespace that identifies the import

Returns:
The namespace

setNamespace

void setNamespace(java.lang.String namespace)
Set Namespace that identifies the import

Parameters:
namespace - The namespace

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