|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AdapterFactoryImpl com.ibm.etools.systems.app.model.src.util.SrcAdapterFactory
public class SrcAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
SrcPackage
Field Summary | |
---|---|
static String |
copyright
|
protected static SrcPackage |
modelPackage
The cached model package. |
protected SrcSwitch |
modelSwitch
The switch the delegates to the createXXX methods. |
Constructor Summary | |
---|---|
SrcAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createArtifactAdapter()
Creates a new adapter for an object of class ' Artifact '. |
Adapter |
createCallableBlockAdapter()
Creates a new adapter for an object of class ' Callable Block '. |
Adapter |
createCallableBlockWithSignatureAdapter()
Creates a new adapter for an object of class ' Callable Block With Signature '. |
Adapter |
createCallsRelationshipAdapter()
Creates a new adapter for an object of class ' Calls Relationship '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createIncludesRelationshipAdapter()
Creates a new adapter for an object of class ' Includes Relationship '. |
Adapter |
createInvokesRelationshipAdapter()
Creates a new adapter for an object of class ' Invokes Relationship '. |
Adapter |
createMainEntryPointAdapter()
Creates a new adapter for an object of class ' Main Entry Point '. |
Adapter |
createRelationshipAdapter()
Creates a new adapter for an object of class ' Relationship '. |
Adapter |
createSourceContainerAdapter()
Creates a new adapter for an object of class ' Source Container '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
protected static SrcPackage modelPackage
protected SrcSwitch modelSwitch
createXXX
methods.
Constructor Detail |
---|
public SrcAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.
target
.public Adapter createIncludesRelationshipAdapter()
Includes Relationship
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
IncludesRelationship
public Adapter createMainEntryPointAdapter()
Main Entry Point
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
MainEntryPoint
public Adapter createCallableBlockAdapter()
Callable Block
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CallableBlock
public Adapter createSourceContainerAdapter()
Source Container
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
SourceContainer
public Adapter createInvokesRelationshipAdapter()
Invokes Relationship
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
InvokesRelationship
public Adapter createCallableBlockWithSignatureAdapter()
Callable Block With Signature
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CallableBlockWithSignature
public Adapter createCallsRelationshipAdapter()
Calls Relationship
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
CallsRelationship
public Adapter createArtifactAdapter()
Artifact
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Artifact
public Adapter createRelationshipAdapter()
Relationship
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Relationship
public Adapter createEObjectAdapter()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |