org.andromda.core.namespace
Class BaseNamespaceComponent

java.lang.Object
  extended by org.andromda.core.namespace.BaseNamespaceComponent
All Implemented Interfaces:
NamespaceComponent
Direct Known Subclasses:
BasePlugin, MetafacadeMappings, Profile, Repository

public abstract class BaseNamespaceComponent
extends java.lang.Object
implements NamespaceComponent

Represents the base plugin of AndroMDA. All Plugin instances inherit from this class.

Author:
Chad Brandon

Constructor Summary
BaseNamespaceComponent()
           
 
Method Summary
 java.lang.String getNamespace()
          Gets the namespace to which this component belongs.
 java.net.URL getResource()
          The entire path to the resource this namespace component instance is configured from.
 void setNamespace(java.lang.String namespace)
          Sets the namespace to which this component belongs.
 void setResource(java.net.URL resource)
          Sets the path of the resource from which this namespace component is configured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseNamespaceComponent

public BaseNamespaceComponent()
Method Detail

setNamespace

public void setNamespace(java.lang.String namespace)
Description copied from interface: NamespaceComponent
Sets the namespace to which this component belongs.

Specified by:
setNamespace in interface NamespaceComponent
Parameters:
namespace - the name of the namespace to which this component belongs.
See Also:
NamespaceComponent.setNamespace(java.lang.String)

getNamespace

public java.lang.String getNamespace()
Description copied from interface: NamespaceComponent
Gets the namespace to which this component belongs.

Specified by:
getNamespace in interface NamespaceComponent
Returns:
the name of the namespace.
See Also:
NamespaceComponent.getNamespace()

getResource

public java.net.URL getResource()
Description copied from interface: NamespaceComponent
The entire path to the resource this namespace component instance is configured from.

Specified by:
getResource in interface NamespaceComponent
Returns:
URL the path to the resource from which this namespace component was configured.
See Also:
NamespaceComponent.getResource()

setResource

public void setResource(java.net.URL resource)
Description copied from interface: NamespaceComponent
Sets the path of the resource from which this namespace component is configured.

Specified by:
setResource in interface NamespaceComponent
Parameters:
resource - the resource URL.
See Also:
NamespaceComponent.setResource(java.net.URL)


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.