Package com.nomagic.magicdraw.ce
Interface CodeEngineeringSet
@OpenApiAll
public interface CodeEngineeringSet
Code Engineering Set object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllFilesRecursivelyToCES
(File pathDirectory) Given a path to directory, adds all directory files recursively to code engineering set.void
addElementsToCodeEngineeringSet
(List<BaseElement> modelElements) Adds list of model elements to code engineering set.void
addFilesToCodeEngineeringSet
(List<File> file) Adds given list of files to code engineering set.Returns all model elements that are in code engineering set.Dialect of code engineering set language.Language of Code Engineering Set.getName()
Returns name of code engineering set.Returns working directory of ces.Returns working package of code engineering set.void
Sets name of code engineering set.
-
Method Details
-
getWorkingDirectory
String getWorkingDirectory()Returns working directory of ces.- Returns:
- working directory.
-
addElementsToCodeEngineeringSet
Adds list of model elements to code engineering set. Dedicated for forward engineering.- Parameters:
modelElements
- list of modelElements
-
addFilesToCodeEngineeringSet
Adds given list of files to code engineering set. Dedicated for reverse engineering.- Parameters:
file
- list of files.
-
addAllFilesRecursivelyToCES
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
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.
-