|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.core.cartridge.template.ModelElements
public class ModelElements
Defines the <modelElements/> element within a <template/> within an XML cartridge descriptor. This allows
the grouping of model elements by criteria defined within the nested ModelElementinstances.
Template,
ModelElement| Constructor Summary | |
|---|---|
ModelElements()
|
|
| Method Summary | |
|---|---|
void |
addModelElement(ModelElement modelElement)
Adds a modelElement to the collection of modelElements. |
java.util.Set |
getAllMetafacades()
Gets all metafacade instances from each ModelElement belonging to this ModelElements instance. |
java.util.Collection |
getModelElements()
Returns all model elements belonging to this model elements instance. |
java.lang.String |
getVariable()
The variable name to make the model element available to the template engine. |
boolean |
isEmpty()
Returns true if this instance has no modelElements stored within it. |
void |
setVariable(java.lang.String variable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelElements()
| Method Detail |
|---|
public java.lang.String getVariable()
entity. If on the other hand the outputToSingleFile flag is set to true you'd
probably want to make it available as entities.
public void setVariable(java.lang.String variable)
variable - The variable to set.public void addModelElement(ModelElement modelElement)
modelElements.
modelElement - the new ModelElement to add.public java.util.Set getAllMetafacades()
public java.util.Collection getModelElements()
ModelElementinstances.public boolean isEmpty()
modelElements stored within it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||