Package com.nomagic.magicdraw.ce
Interface CodeEngineeringSet
-
@OpenApiAll public interface CodeEngineeringSet
Code Engineering Set object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAllFilesRecursivelyToCES(java.io.File pathDirectory)
Given a path to directory, adds all directory files recursively to code engineering set.void
addElementsToCodeEngineeringSet(java.util.List<BaseElement> modelElements)
Adds list of model elements to code engineering set.void
addFilesToCodeEngineeringSet(java.util.List<java.io.File> file)
Adds given list of files to code engineering set.java.util.List<BaseElement>
getAllModelElements()
Returns all model elements that are in code engineering set.java.lang.String
getDialect()
Dialect of code engineering set language.java.lang.String
getLanguage()
Language of Code Engineering Set.java.lang.String
getName()
Returns name of code engineering set.java.lang.String
getWorkingDirectory()
Returns working directory of ces.Package
getWorkingPackage()
Returns working package of code engineering set.void
setName(java.lang.String name)
Sets name of code engineering set.
-
-
-
Method Detail
-
getWorkingDirectory
java.lang.String getWorkingDirectory()
Returns working directory of ces.- Returns:
- working directory.
-
addElementsToCodeEngineeringSet
void addElementsToCodeEngineeringSet(java.util.List<BaseElement> modelElements)
Adds list of model elements to code engineering set. Dedicated for forward engineering.- Parameters:
modelElements
- list of modelElements
-
addFilesToCodeEngineeringSet
void addFilesToCodeEngineeringSet(java.util.List<java.io.File> file)
Adds given list of files to code engineering set. Dedicated for reverse engineering.- Parameters:
file
- list of files.
-
addAllFilesRecursivelyToCES
void addAllFilesRecursivelyToCES(java.io.File pathDirectory)
Given a path to directory, adds all directory files recursively to code engineering set.- Parameters:
pathDirectory
- path to root directory.
-
getAllModelElements
java.util.List<BaseElement> getAllModelElements()
Returns all model elements that are in code engineering set.- Returns:
- List of model elements.
-
setName
void setName(java.lang.String name)
Sets name of code engineering set.- Parameters:
name
- new name of code engineering set.
-
getName
java.lang.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
java.lang.String getLanguage()
Language of Code Engineering Set.- Returns:
- language.
-
getDialect
java.lang.String getDialect()
Dialect of code engineering set language.- Returns:
- language dialect.
-
-