public class MagicDrawProfileResourceReader extends Object
Constructor and Description |
---|
MagicDrawProfileResourceReader(Model model,
Map<String,?> options) |
Modifier and Type | Method and Description |
---|---|
void |
read(String path)
Reads a MagicDraw Resource and add its elements in the current Data Model.
|
void |
readBPMN()
Reads the OMG's BPMN Profile and add its elements in the current Data Model.
|
void |
readEcore()
Reads the OMG's Ecore Profile and add its elements in the current Data Model.
|
void |
readSysML()
Reads the OMG's SysML Profile and add its elements in the current Data Model.
|
void |
readUPDM()
Reads the OMG's UPDM Profile and add its elements in the current Data Model.
|
public void read(String path) throws CoreException
path
- the path of the MagicDraw Resource to load in a ModelCoreException
- if the model could not be loaded. Reasons include:
public void readSysML() throws CoreException
OPTION_OVERRIDE_STANDARD_PROFILES
is set to true, the
MagicDraw SysML Profile is loaded instead.CoreException
- if the model could not be loaded.public void readUPDM() throws CoreException
CoreException
- if the model could not be loaded.public void readEcore() throws CoreException
CoreException
- if the model could not be loaded.public void readBPMN() throws CoreException
CoreException
- if the model could not be loaded.