2016/05/28 - Apache Tuscany has been retired.

For more information, please explore the Attic.



org.apache.tuscany.sca.contribution.resource
Interface ResourceImport

All Superinterfaces:
Import
All Known Implementing Classes:
ResourceImportImpl

public interface ResourceImport
extends Import

The representation of an resource import.


Method Summary
 java.lang.String getLocation()
          Get the location used to resolve the definitions for this import
 java.lang.String getURI()
          Get URI that identifies the resource import
 void setLocation(java.lang.String location)
          Set the location used to resolve the definitions for this import
 void setURI(java.lang.String uri)
          Set URI that identifies the resource import
 
Methods inherited from interface org.apache.tuscany.sca.contribution.Import
getModelResolver, match, setModelResolver
 

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

getURI

java.lang.String getURI()
Get URI that identifies the resource import

Returns:
The URI

setURI

void setURI(java.lang.String uri)
Set URI that identifies the resource import

Parameters:
uri - The resource URI