java.lang.Object
de.monticore.generating.templateengine.reporting.artifacts.model.APkg
de.monticore.generating.templateengine.reporting.artifacts.model.RootPkg

public class RootPkg extends APkg
Represents the topmost package in the package hierarchy of a recorded run
  • Constructor Details

    • RootPkg

      public RootPkg()
  • Method Details

    • getQualifiedName

      public String getQualifiedName()
      visualization.model.APkg#getQualifiedName()
      Specified by:
      getQualifiedName in class APkg
      Returns:
      The QualifiedName (Name without FileExtension)
    • addElementToPkgTree

      public void addElementToPkgTree(String packagePath, Element e)
      Adds an element to the package tree of this root pkg. Missing subpackages are created on demand. In addition, the Pkg of the provided Element is set.
      Parameters:
      packagePath - qualified Name of the package
      e - Element
    • resolveAncestorWithElements

      public APkg resolveAncestorWithElements()
      visualization.model.APkg#resolveAncestorWithElements()
      Specified by:
      resolveAncestorWithElements in class APkg
      Returns:
      the next ancestor pkg which has elements, or null such pkg does not exist.