|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.contribution.java.impl.JavaImportImpl
public class JavaImportImpl
Implementation of a Java Import model
Constructor Summary | |
---|---|
JavaImportImpl()
|
Method Summary | |
---|---|
java.util.List<Contribution> |
getExportContributions()
|
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 |
getPackage()
Get java package that identifies the import |
boolean |
match(Export export)
Match a JavaImport to a given JavaExport based on : location is not provided import and export packages match |
void |
setExportContributions(java.util.List<Contribution> contributions)
|
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 |
setPackage(java.lang.String packageName)
Set java package that identifies the import |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JavaImportImpl()
Method Detail |
---|
public java.lang.String getLocation()
JavaImport
getLocation
in interface JavaImport
public void setLocation(java.lang.String location)
JavaImport
setLocation
in interface JavaImport
location
- The import locationpublic java.lang.String getPackage()
JavaImport
getPackage
in interface JavaImport
public void setPackage(java.lang.String packageName)
JavaImport
setPackage
in interface JavaImport
packageName
- The package namepublic ModelResolver getModelResolver()
Import
getModelResolver
in interface Import
public void setModelResolver(ModelResolver modelResolver)
Import
setModelResolver
in interface Import
modelResolver
- The model resolverpublic java.util.List<Contribution> getExportContributions()
public void setExportContributions(java.util.List<Contribution> contributions)
public boolean match(Export export)
match
in interface Import
export
- The Exported being verified
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |