|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEDU.utwente.CoCompose.lang.ModelVisitor
EDU.utwente.CoCompose.translate.TranslateVisitor
Translates the model using all three translation process steps (flatten, determine concept forms and generate implementation).
FlattenVisitor
,
DetermineFormsVisitor
,
GenerateImplementationVisitor
Field Summary |
Fields inherited from class EDU.utwente.CoCompose.lang.ModelVisitor |
log |
Constructor Summary | |
TranslateVisitor()
Constructs a TranslateVisitor. |
Method Summary | |
protected void |
addTransModel(Model transModel)
Adds a transformed model to the collection of transformed models. |
java.util.Collection |
getTransModels()
Gets the transformed models so far. |
protected void |
setTransModels(java.util.Collection transModels)
Sets the transformed models so far. |
void |
visitModel(Model model)
Translates the model. |
Methods inherited from class EDU.utwente.CoCompose.lang.ModelVisitor |
getUpdate, run, setErrorReporter, setLogger, setUpdate, startModel, visitAbstractConcept, visitComposite, visitCompositePartConcept, visitCompositeRole, visitConcept, visitConstrainedConcept, visitImplementation, visitImplementationGenerator, visitImplementationRolePart, visitLink, visitPublishedConcept, visitSolutionPattern, visitSolutionRole |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TranslateVisitor()
Method Detail |
protected void setTransModels(java.util.Collection transModels)
transModels
- The collection of transformed models.protected void addTransModel(Model transModel)
transModel
- The transformed model to add.public java.util.Collection getTransModels()
public void visitModel(Model model) throws CoComposeException
visitModel
in class ModelVisitor
model
- The model to translate.
CoComposeException
- if one of the model's constraints are not fulfilled or
if the model could not be translated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |