|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.configuration.Namespace
public class Namespace
A configurable namespace object. These are passed to Plugin instances (Cartridges, etc.).
| Constructor Summary | |
|---|---|
Namespace()
|
|
| Method Summary | |
|---|---|
void |
addProperty(Property property)
Adds a property to this Namespace object. |
String |
getName()
Returns name of this Namespace. |
Collection<Collection<Property>> |
getProperties()
Gets all namespaces belonging to this namespaces instance. |
Collection<Property> |
getProperties(String name)
Retrieves the properties with the specified name. |
Property |
getProperty(String name)
Retrieves the property (the first one found) with the specified name. |
void |
setName(String name)
Sets the name of this Namespace. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Namespace()
| Method Detail |
|---|
public String getName()
public void setName(String name)
name - The name to setpublic void addProperty(Property property)
property - the property to add to this namespace.public Collection<Property> getProperties(String name)
name - the name of the property.
public Property getProperty(String name)
name - the name of the property.
public Collection<Collection<Property>> getProperties()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||