|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.namespace.NamespaceRegistry
public class NamespaceRegistry
Represents a namespace registry. This is where all components within a namespace are registered.
| Constructor Summary | |
|---|---|
NamespaceRegistry()
|
|
| Method Summary | |
|---|---|
void |
addPropertyDefinition(PropertyDefinition propertyDefinition)
Adds a property definition to the group of defintions. |
void |
addPropertyDefinitions(PropertyDefinition[] propertyDefinitions)
Adds all property definitions to the current property definitions. |
java.lang.String |
getName()
Gets the name of the namespace registry. |
java.lang.String[] |
getPaths(java.lang.String name)
Gets the initialization paths for the given component name. |
PropertyDefinition |
getPropertyDefinition(java.lang.String name)
Attempts to retrieve the property definition for the given name. |
PropertyDefinition[] |
getPropertyDefinitions()
Gets all property definitions belonging to this registry. |
java.lang.String[] |
getRegisteredComponents()
Gets the names registered components. |
java.net.URL[] |
getResourceRoots()
Gets the resource root of this namespace. |
boolean |
isShared()
Gets whether or not the namespace defined by this registry is shared. |
void |
registerComponent(Component component)
Registers the component with the give name in this registry. |
void |
setName(java.lang.String name)
SEts the name of the namespace registry. |
void |
setShared(boolean shared)
Sets whether or not the namespace defined by this registry is shared. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamespaceRegistry()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public boolean isShared()
public void setShared(boolean shared)
shared - The shared to set.public void registerComponent(Component component)
component - the component of the registry.public java.lang.String[] getRegisteredComponents()
public java.lang.String[] getPaths(java.lang.String name)
name - the name of the component.
public PropertyDefinition getPropertyDefinition(java.lang.String name)
name.
public void addPropertyDefinitions(PropertyDefinition[] propertyDefinitions)
propertyDefinitions - the collection of property definitions.public PropertyDefinition[] getPropertyDefinitions()
public void addPropertyDefinition(PropertyDefinition propertyDefinition)
propertyDefinition - the property definition.public java.net.URL[] getResourceRoots()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||