public class ModelElements extends Object
ModelElement
instances.Template
,
ModelElement
Constructor and Description |
---|
ModelElements() |
Modifier and Type | Method and Description |
---|---|
void |
addModelElement(ModelElement modelElement)
Adds a modelElement to the collection of
modelElements . |
Set<MetafacadeBase> |
getAllMetafacades()
Gets all metafacade instances from each ModelElement belonging to this ModelElements instance.
|
Collection<ModelElement> |
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) |
public ModelElements()
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<MetafacadeBase> getAllMetafacades()
public Collection<ModelElement> getModelElements()
ModelElement
instances.public boolean isEmpty()
modelElements
stored within it.Copyright © 2003–2014 AndroMDA.org. All rights reserved.