public class DocumentManager extends XmiHelper
Constructor and Description |
---|
DocumentManager(java.lang.String outputModelName) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocNotation() |
org.w3c.dom.Document |
getDocUml() |
java.lang.String |
getModelName() |
java.lang.String |
getNewModelName() |
void |
saveAndCopy(java.lang.String newModelName) |
void |
updateProfilesRefs()
Esse método é responsável por atualizar as referencias aos profiles
(definidos no arquivo application.yml) que são usados no modelo.
|
findByID, findByIDInNotationFile, findIdByName, findTypeById, getHeightForPackage, getIdForNode, getOnlyIdOfXmiAttribute, getOriginalNotation, getWidhtForPackage, getXmiId, getXValueForElement, getYValueForElement, isClassAbstract, randomNum, removeNode, setNotationOriginalFile, setRecursiveOwnedComments, splitVariants
public DocumentManager(java.lang.String outputModelName) throws ModelNotFoundException, ModelIncompleteException
public org.w3c.dom.Document getDocUml()
public org.w3c.dom.Document getDocNotation()
public void saveAndCopy(java.lang.String newModelName)
public java.lang.String getModelName()
public java.lang.String getNewModelName()
public void updateProfilesRefs()
Basicamente é lido dois valores de cada arquivo de profile e atualizado no arquivo simples.uml do qual é usado como base para escrever o modelo novamente em disco.