org.autosemantix.merger
Class Merger
java.lang.Object
org.autosemantix.merger.Merger
- public class Merger
- extends java.lang.Object
This class is responsible for merging the model with
an existing Java implementation.
- Version:
- Created Aug 3, 2005
- Author:
- Shawn Simister
Method Summary |
void |
merge(java.lang.String implDir)
Merge the generated code of the model with the existing implementation. |
java.lang.String |
mergeFile(java.io.File implDir,
java.lang.String generated,
java.io.File targetFile,
Model model,
DeltaLog changes)
Merge a class with a previous implementation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Merger
public Merger(Project project)
merge
public void merge(java.lang.String implDir)
- Merge the generated code of the model with the existing implementation.
- Parameters:
implDir
- The directory containing the existing implementation.
mergeFile
public java.lang.String mergeFile(java.io.File implDir,
java.lang.String generated,
java.io.File targetFile,
Model model,
DeltaLog changes)
- Merge a class with a previous implementation.
- Parameters:
implDir
- The directory containing the implementation.generated
- The generated source code for the class.targetFile
- The name of the generated class.model
- The ontology model.changes
- A list of changes to the ontology.