<reponame>statisticsnorway/raml-to-umlet-diagram<filename>DescriptionAndDisplayNameDocument.py<gh_stars>0
from Config import Config

class DescriptionAndDisplayNameDocument():

    docList = []

    config = Config()

    def addDocForObject(self, objetDoc):
        self.docList.append(objetDoc)

    def writeDocAsMdFile(self):
        f = open(self.config.umletPath + "PhysicalDataModelDetails.md", "w", encoding='utf-8')
        for doc in self.docList:
            #print(doc, end="")
            f.write(doc)
        f.close()

from Config import Config

class DescriptionAndDisplayNameDocument():

    docList = []

    config = Config()

    def addDocForObject(self, objetDoc):
        self.docList.append(objetDoc)

    def writeDocAsMdFile(self):
        f = open(self.config.umletPath + "PhysicalDataModelDetails.md", "w", encoding='utf-8')
        for doc in self.docList:
            #print(doc, end="")
            f.write(doc)
        f.close()
#print(doc, end="")