|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.andromda.core.cartridge.template.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. |
Set |
getAllMetafacades()
Gets all metafacade instances from each ModelElement belonging to this ModelElements instance. |
Collection |
getModelElements()
Returns all model elements belonging to this model elements instance. |
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(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 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(String variable)
variable - The variable to set.public void addModelElement(ModelElement modelElement)
modelElements.
modelElement - the new ModelElement to add.public Set getAllMetafacades()
public 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 | ||||||||||