org.apache.tuscany.sca.contribution.java
Interface JavaImport

All Superinterfaces:
Import
All Known Implementing Classes:
JavaImportImpl

public interface JavaImport
extends Import

Base Java Import model interface


Method Summary
 java.lang.String getLocation()
          Get the location used to resolve the definitions for this import
 java.lang.String getPackage()
          Get java package that identifies the import
 void setLocation(java.lang.String location)
          Set the location used to resolve the definitions for this import
 void setPackage(java.lang.String packageName)
          Set java package that identifies the 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

getPackage

java.lang.String getPackage()
Get java package that identifies the import

Returns:
The package name

setPackage

void setPackage(java.lang.String packageName)
Set java package that identifies the import

Parameters:
packageName - The package name