|
SAM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.topcased.sam.util.SAMAdapterFactory
public class SAMAdapterFactory
The Adapter Factory for the model. It provides an adapter createXXX
method for each class of the model.
SAMPackage| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
protected static SAMPackage |
modelPackage
The cached model package. |
protected SAMSwitch<Adapter> |
modelSwitch
The switch the delegates to the createXXX methods. |
| Constructor Summary | |
|---|---|
SAMAdapterFactory()
Creates an instance of the adapter factory. |
|
| Method Summary | |
|---|---|
Adapter |
createAbstractStateAdapter()
Creates a new adapter for an object of class ' Abstract State'. |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target. |
Adapter |
createAutomatonAdapter()
Creates a new adapter for an object of class ' Automaton'. |
Adapter |
createCompositionAdapter()
Creates a new adapter for an object of class ' Composition'. |
Adapter |
createControlFlowAdapter()
Creates a new adapter for an object of class ' Control Flow'. |
Adapter |
createControlPortAdapter()
Creates a new adapter for an object of class ' Control Port'. |
Adapter |
createDataFlowAdapter()
Creates a new adapter for an object of class ' Data Flow'. |
Adapter |
createDataPortAdapter()
Creates a new adapter for an object of class ' Data Port'. |
Adapter |
createDataStoreAdapter()
Creates a new adapter for an object of class ' Data Store'. |
Adapter |
createDecompositionAdapter()
Creates a new adapter for an object of class ' Decomposition'. |
Adapter |
createEModelElementAdapter()
Creates a new adapter for an object of class ' EModel Element'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createFlowAdapter()
Creates a new adapter for an object of class ' Flow'. |
Adapter |
createIdentifiedItemAdapter()
Creates a new adapter for an object of class ' Identified Item'. |
Adapter |
createInControlPortAdapter()
Creates a new adapter for an object of class ' In Control Port'. |
Adapter |
createInDataPortAdapter()
Creates a new adapter for an object of class ' In Data Port'. |
Adapter |
createInitialStateAdapter()
Creates a new adapter for an object of class ' Initial State'. |
Adapter |
createInputPortAdapter()
Creates a new adapter for an object of class ' Input Port'. |
Adapter |
createMacroStateAdapter()
Creates a new adapter for an object of class ' Macro State'. |
Adapter |
createModelAdapter()
Creates a new adapter for an object of class ' Model'. |
Adapter |
createModelContentAdapter()
Creates a new adapter for an object of class ' Model Content'. |
Adapter |
createMultiPortAdapter()
Creates a new adapter for an object of class ' Multi Port'. |
Adapter |
createNamedItemAdapter()
Creates a new adapter for an object of class ' Named Item'. |
Adapter |
createOutControlPortAdapter()
Creates a new adapter for an object of class ' Out Control Port'. |
Adapter |
createOutDataPortAdapter()
Creates a new adapter for an object of class ' Out Data Port'. |
Adapter |
createOutputPortAdapter()
Creates a new adapter for an object of class ' Output Port'. |
Adapter |
createPortAdapter()
Creates a new adapter for an object of class ' Port'. |
Adapter |
createStateAdapter()
Creates a new adapter for an object of class ' State'. |
Adapter |
createSynchronisationGateAdapter()
Creates a new adapter for an object of class ' Synchronisation Gate'. |
Adapter |
createSystemAdapter()
Creates a new adapter for an object of class ' System'. |
Adapter |
createTransitionAdapter()
Creates a new adapter for an object of class ' Transition'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
protected static SAMPackage modelPackage
protected SAMSwitch<Adapter> modelSwitch
createXXX methods.
| Constructor Detail |
|---|
public SAMAdapterFactory()
| Method Detail |
|---|
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object
of the model.
isFactoryForType in interface AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.
target.public Adapter createAbstractStateAdapter()
Abstract State'.
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.
AbstractStatepublic Adapter createAutomatonAdapter()
Automaton'. 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.
Automatonpublic Adapter createInitialStateAdapter()
Initial State'.
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.
InitialStatepublic Adapter createMacroStateAdapter()
Macro State'. 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.
MacroStatepublic Adapter createStateAdapter()
State'. 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.
Statepublic Adapter createTransitionAdapter()
Transition'. 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.
Transitionpublic Adapter createControlPortAdapter()
Control Port'. 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.
ControlPortpublic Adapter createDataPortAdapter()
Data Port'. 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.
DataPortpublic Adapter createInControlPortAdapter()
In Control Port'.
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.
InControlPortpublic Adapter createInDataPortAdapter()
In Data Port'. 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.
InDataPortpublic Adapter createInputPortAdapter()
Input Port'. 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.
InputPortpublic Adapter createOutControlPortAdapter()
Out Control Port'.
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.
OutControlPortpublic Adapter createOutDataPortAdapter()
Out Data Port'.
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.
OutDataPortpublic Adapter createOutputPortAdapter()
Output Port'. 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.
OutputPortpublic Adapter createPortAdapter()
Port'.
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.
Portpublic Adapter createCompositionAdapter()
Composition'. 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.
Compositionpublic Adapter createControlFlowAdapter()
Control Flow'. 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.
ControlFlowpublic Adapter createDataFlowAdapter()
Data Flow'. 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.
DataFlowpublic Adapter createDataStoreAdapter()
Data Store'. 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.
DataStorepublic Adapter createDecompositionAdapter()
Decomposition'.
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.
Decompositionpublic Adapter createFlowAdapter()
Flow'.
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.
Flowpublic Adapter createSynchronisationGateAdapter()
Synchronisation Gate'.
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.
SynchronisationGatepublic Adapter createSystemAdapter()
System'. 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.
Systempublic Adapter createModelAdapter()
Model'. 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.
Modelpublic Adapter createModelContentAdapter()
Model Content'.
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.
ModelContentpublic Adapter createIdentifiedItemAdapter()
Identified Item'.
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.
IdentifiedItempublic Adapter createNamedItemAdapter()
Named Item'. 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.
NamedItempublic Adapter createMultiPortAdapter()
Multi Port'. 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.
MultiPortpublic Adapter createEModelElementAdapter()
EModel Element'.
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.
EModelElementpublic Adapter createEObjectAdapter()
|
SAM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.