|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.contribution.resource.impl.ResourceImportImpl
public class ResourceImportImpl
The representation of an import for the contribution
| Constructor Summary | |
|---|---|
protected |
ResourceImportImpl()
|
| 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 |
getURI()
Get URI that identifies the resource import |
boolean |
match(Export export)
Match a ResourceImport to a given ResourceExport based on : location is not provided import and export resource URI 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 |
setURI(java.lang.String uri)
Set URI that identifies the resource import |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ResourceImportImpl()
| Method Detail |
|---|
public java.lang.String getLocation()
ResourceImport
getLocation in interface ResourceImportpublic void setLocation(java.lang.String location)
ResourceImport
setLocation in interface ResourceImportlocation - The import locationpublic java.lang.String getURI()
ResourceImport
getURI in interface ResourceImportpublic void setURI(java.lang.String uri)
ResourceImport
setURI in interface ResourceImporturi - The resource URIpublic ModelResolver getModelResolver()
Import
getModelResolver in interface Importpublic void setModelResolver(ModelResolver modelResolver)
Import
setModelResolver in interface ImportmodelResolver - The model resolverpublic java.util.List<Contribution> getExportContributions()
public void setExportContributions(java.util.List<Contribution> contributions)
public boolean match(Export export)
match in interface Importexport - 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 | ||||||||