Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model
Interface ModelFactory

All Known Implementing Classes:
ModelFactoryImpl

public interface ModelFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
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

copyright

static final String copyright

See Also:
Constant Field Values

eINSTANCE

static final ModelFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createRelationship

Relationship createRelationship()
Returns a new object of class 'Relationship'.

Returns:
a new object of class 'Relationship'.

createArtifact

Artifact createArtifact()
Returns a new object of class 'Artifact'.

Returns:
a new object of class 'Artifact'.

createApplicationModel

ApplicationModel createApplicationModel()
Returns a new object of class 'Application Model'.

Returns:
a new object of class 'Application Model'.

getModelPackage

ModelPackage getModelPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

save

void save(ApplicationModel model,
          String filename)
Save the model.


load

ApplicationModel load(String filename)
Load the model


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.