Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.src
Interface SrcFactory

All Known Implementing Classes:
SrcFactoryImpl

public interface SrcFactory

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

See Also:
SrcPackage

Field Summary
static String copyright
           
static SrcFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 CallableBlock createCallableBlock()
          Returns a new object of class 'Callable Block'.
 CallableBlockWithSignature createCallableBlockWithSignature()
          Returns a new object of class 'Callable Block With Signature'.
 CallsRelationship createCallsRelationship()
          Returns a new object of class 'Calls Relationship'.
 IncludesRelationship createIncludesRelationship()
          Returns a new object of class 'Includes Relationship'.
 IncludesRelationship createIncludesRelationship(ApplicationModel model, SourceContainer source, SourceContainer target, int position, String type)
          Searches for an existing IncludesRelationship with the same source, target and position and returns it if one exists.
 InvokesRelationship createInvokesRelationship()
          Returns a new object of class 'Invokes Relationship'.
 InvokesRelationship createInvokesRelationship(ApplicationModel model, Artifact source, Artifact target, int sourcePosition, String type, String subType)
          Searches for an existing InvokesRelationship with the same source, target, sourcePosition, type and subType and returns it if one exists.
 SourceContainer createSourceContainer()
          Returns a new object of class 'Source Container'.
 SourceContainer createSourceContainer(ApplicationModel model, String name, String type, String subtype, String location)
          Searches for an existing SourceContainer with the same name, type, subtype and location and returns it if one exists.
 SourceContainer createSourceContainer(ApplicationModel model, String name, String type, String subtype, String location, boolean caseSensitive)
          Searches for an existing SourceContainer with the same name, type, subtype and location and returns it if one exists.
 SrcPackage getSrcPackage()
          Returns the package supported by this factory.
 

Field Detail

copyright

static final String copyright

See Also:
Constant Field Values

eINSTANCE

static final SrcFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createIncludesRelationship

IncludesRelationship createIncludesRelationship()
Returns a new object of class 'Includes Relationship'.

Returns:
a new object of class 'Includes Relationship'.

createIncludesRelationship

IncludesRelationship createIncludesRelationship(ApplicationModel model,
                                                SourceContainer source,
                                                SourceContainer target,
                                                int position,
                                                String type)
Searches for an existing IncludesRelationship with the same source, target and position and returns it if one exists. Otherwise a new InvokesRelationship is created with the specified attributes, added to the list of relationships in the model, and returned.


createCallableBlock

CallableBlock createCallableBlock()
Returns a new object of class 'Callable Block'.

Returns:
a new object of class 'Callable Block'.

createSourceContainer

SourceContainer createSourceContainer()
Returns a new object of class 'Source Container'.

Returns:
a new object of class 'Source Container'.

createSourceContainer

SourceContainer createSourceContainer(ApplicationModel model,
                                      String name,
                                      String type,
                                      String subtype,
                                      String location)
Searches for an existing SourceContainer with the same name, type, subtype and location and returns it if one exists. Otherwise a new SourceContainer is created with the specified attributes, added to the list of artifacts in the model, and returned.


createSourceContainer

SourceContainer createSourceContainer(ApplicationModel model,
                                      String name,
                                      String type,
                                      String subtype,
                                      String location,
                                      boolean caseSensitive)
Searches for an existing SourceContainer with the same name, type, subtype and location and returns it if one exists. Otherwise a new SourceContainer is created with the specified attributes, added to the list of artifacts in the model, and returned.


createInvokesRelationship

InvokesRelationship createInvokesRelationship()
Returns a new object of class 'Invokes Relationship'.

Returns:
a new object of class 'Invokes Relationship'.

createInvokesRelationship

InvokesRelationship createInvokesRelationship(ApplicationModel model,
                                              Artifact source,
                                              Artifact target,
                                              int sourcePosition,
                                              String type,
                                              String subType)
Searches for an existing InvokesRelationship with the same source, target, sourcePosition, type and subType and returns it if one exists. Otherwise a new InvokesRelationship is created with the specified attributes, added to the list of relationships in the model, and returned.


createCallableBlockWithSignature

CallableBlockWithSignature createCallableBlockWithSignature()
Returns a new object of class 'Callable Block With Signature'.

Returns:
a new object of class 'Callable Block With Signature'.

createCallsRelationship

CallsRelationship createCallsRelationship()
Returns a new object of class 'Calls Relationship'.

Returns:
a new object of class 'Calls Relationship'.

getSrcPackage

SrcPackage getSrcPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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.