|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
ModelPackage
Field Summary | |
---|---|
static String |
copyright
|
static ModelFactory |
eINSTANCE
The singleton instance of the factory. |
Method Summary | |
---|---|
ApplicationModel |
createApplicationModel()
Returns a new object of class 'Application Model'. |
Artifact |
createArtifact()
Returns a new object of class 'Artifact'. |
Relationship |
createRelationship()
Returns a new object of class 'Relationship'. |
ModelPackage |
getModelPackage()
Returns the package supported by this factory. |
ApplicationModel |
load(String filename)
Load the model |
void |
save(ApplicationModel model,
String filename)
Save the model. |
Field Detail |
---|
static final String copyright
static final ModelFactory eINSTANCE
Method Detail |
---|
Relationship createRelationship()
Artifact createArtifact()
ApplicationModel createApplicationModel()
ModelPackage getModelPackage()
void save(ApplicationModel model, String filename)
ApplicationModel load(String filename)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |