|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.andromda.core.namespace.BaseNamespaceComponent
org.andromda.core.profile.Profile
Represents an AndroMDA profile applied to a model. Profiles allow us to extend aspects of a model.
| Constructor Summary | |
Profile()
|
|
| Method Summary | |
void |
addElement(String name,
String value)
Adds a new element to this namespace registry. |
void |
addElement(String namespace,
String name,
String value)
Adds a namespace element for the given namespace with the given name and value. |
String |
get(String name)
Gets the profile value (if one is available) for the given name, otherwise returns name. |
void |
initialize()
Initializes this profile instance. |
static Profile |
instance()
Gets the shared instance of this class. |
void |
refresh()
Refreshes the profile instance. |
void |
shutdown()
Shuts down the shared instance and releases any used resources. |
| Methods inherited from class org.andromda.core.namespace.BaseNamespaceComponent |
getNamespace, getResource, setNamespace, setResource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Profile()
| Method Detail |
public static Profile instance()
public void addElement(String name,
String value)
public String get(String name)
name - the profile name to retrieve.
public void initialize()
public void refresh()
public void addElement(String namespace,
String name,
String value)
namespace - the namespace for which to add the namespace element.name - the element name.value - the element value.public void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||