Interface CodeEngineeringSet


@OpenApiAll public interface CodeEngineeringSet
Code Engineering Set object.
  • Method Details

    • getWorkingDirectory

      String getWorkingDirectory()
      Returns working directory of ces.
      Returns:
      working directory.
    • addElementsToCodeEngineeringSet

      void addElementsToCodeEngineeringSet(List<BaseElement> modelElements)
      Adds list of model elements to code engineering set. Dedicated for forward engineering.
      Parameters:
      modelElements - list of modelElements
    • addFilesToCodeEngineeringSet

      void addFilesToCodeEngineeringSet(List<File> file)
      Adds given list of files to code engineering set. Dedicated for reverse engineering.
      Parameters:
      file - list of files.
    • addAllFilesRecursivelyToCES

      void addAllFilesRecursivelyToCES(File pathDirectory)
      Given a path to directory, adds all directory files recursively to code engineering set.
      Parameters:
      pathDirectory - path to root directory.
    • getAllModelElements

      List<BaseElement> getAllModelElements()
      Returns all model elements that are in code engineering set.
      Returns:
      List of model elements.
    • setName

      void setName(String name)
      Sets name of code engineering set.
      Parameters:
      name - new name of code engineering set.
    • getName

      String getName()
      Returns name of code engineering set.
      Returns:
      name of ces.
    • getWorkingPackage

      Package getWorkingPackage()
      Returns working package of code engineering set. All model elements added to code engineering set should be under working package.
      Returns:
      package in project, which is working package of code engineering set.
    • getLanguage

      String getLanguage()
      Language of Code Engineering Set.
      Returns:
      language.
    • getDialect

      String getDialect()
      Dialect of code engineering set language.
      Returns:
      language dialect.