Interface Project
- 
- All Known Subinterfaces:
 IProject
- All Known Implementing Classes:
 FileMPSProject,Project,ProjectBase
public interface ProjectProject entity which denotes the working environment. There might be multiple projects opened in the single environment- Since:
 - 2017.1
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelAccessgetModelAccess()StringgetName()List<SModule>getProjectModules()SRepositorygetRepository()booleanisOpened()Project has two states -- #opened and #closed. 
 - 
 
- 
- 
Method Detail
- 
getRepository
@NotNull SRepository getRepository()
- Returns:
 - the project repository which contains all the project modules
 
 
- 
getModelAccess
@NotNull ModelAccess getModelAccess()
- Returns:
 - a shorthand for #getRepository().getModelAccess()
 
 
- 
getProjectModules
@NotNull List<SModule> getProjectModules()
- Returns:
 - all the modules this project owns (todo: contract to be: the same modules are in the #getRepository() repository) currently #getRepository returns the global repository (singleton) which hosts all the modules in the environment
 
 
- 
isOpened
boolean isOpened()
Project has two states -- #opened and #closed.- Returns:
 - whether this project is opened.
 
 
 - 
 
 -