|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.contribution.namespace.impl.NamespaceImportImpl
public class NamespaceImportImpl
The representation of an import for the contribution
Constructor Summary | |
---|---|
protected |
NamespaceImportImpl()
|
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 |
boolean |
match(Export export)
Match a NamespaceImport to a given NamespaceExport based on : location is not provided import and export namespaces match |
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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected NamespaceImportImpl()
Method Detail |
---|
public java.lang.String getLocation()
NamespaceImport
getLocation
in interface NamespaceImport
public void setLocation(java.lang.String location)
NamespaceImport
setLocation
in interface NamespaceImport
location
- The import locationpublic java.lang.String getNamespace()
NamespaceImport
getNamespace
in interface NamespaceImport
public void setNamespace(java.lang.String namespace)
NamespaceImport
setNamespace
in interface NamespaceImport
namespace
- The namespacepublic ModelResolver getModelResolver()
Import
getModelResolver
in interface Import
public void setModelResolver(ModelResolver modelResolver)
Import
setModelResolver
in interface Import
modelResolver
- The model resolverpublic 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 |