public abstract class BaseNamespaceComponent extends Object implements NamespaceComponent
Constructor and Description |
---|
BaseNamespaceComponent() |
Modifier and Type | Method and Description |
---|---|
String |
getNamespace()
Gets the namespace to which this component belongs.
|
URL |
getResource()
The entire path to the resource this namespace component instance
is configured from.
|
void |
setNamespace(String namespace)
Sets the namespace to which this component belongs.
|
void |
setResource(URL resource)
Sets the path of the resource from which this namespace component is configured.
|
public BaseNamespaceComponent()
public void setNamespace(String namespace)
NamespaceComponent
setNamespace
in interface NamespaceComponent
namespace
- the name of the namespace to which this component belongs.NamespaceComponent.setNamespace(String)
public String getNamespace()
NamespaceComponent
getNamespace
in interface NamespaceComponent
NamespaceComponent.getNamespace()
public URL getResource()
NamespaceComponent
getResource
in interface NamespaceComponent
NamespaceComponent.getResource()
public void setResource(URL resource)
NamespaceComponent
setResource
in interface NamespaceComponent
resource
- the resource URL.NamespaceComponent.setResource(java.net.URL)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.