Package de.uka.ipd.sdq.stoex.util
Class StoexAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
- All Implemented Interfaces:
AdapterFactory
- Direct Known Subclasses:
StoexItemProviderAdapterFactory
The Adapter Factory for the model.
It provides an adapter
createXXX
method for each class of the model.
- See Also:
- Generated class or method.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected static StoexPackage
The cached model package.protected StoexSwitch<Adapter>
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new adapter for an object of class 'Abstract Named Reference
'.createAdapter
(Notifier target) Creates an adapter for thetarget
.Creates a new adapter for an object of class 'Atom
'.Creates a new adapter for an object of class 'Boolean Expression
'.Creates a new adapter for an object of class 'Boolean Operator Expression
'.Creates a new adapter for an object of class 'Bool Literal
'.Creates a new adapter for an object of class 'Compare Expression
'.Creates a new adapter for an object of class 'Comparison
'.Creates a new adapter for an object of class 'Double Literal
'.Creates a new adapter for the default case.Creates a new adapter for an object of class 'Expression
'.Creates a new adapter for an object of class 'Function Literal
'.Creates a new adapter for an object of class 'If Else
'.Creates a new adapter for an object of class 'If Else Expression
'.Creates a new adapter for an object of class 'Int Literal
'.Creates a new adapter for an object of class 'Namespace Reference
'.Creates a new adapter for an object of class 'Negative Expression
'.Creates a new adapter for an object of class 'Not Expression
'.Creates a new adapter for an object of class 'Numeric Literal
'.Creates a new adapter for an object of class 'Parenthesis
'.Creates a new adapter for an object of class 'Power
'.Creates a new adapter for an object of class 'Power Expression
'.Creates a new adapter for an object of class 'Probability Function Literal
'.Creates a new adapter for an object of class 'Product
'.Creates a new adapter for an object of class 'Product Expression
'.Creates a new adapter for an object of class 'Random Variable
'.Creates a new adapter for an object of class 'String Literal
'.Creates a new adapter for an object of class 'Term
'.Creates a new adapter for an object of class 'Term Expression
'.Creates a new adapter for an object of class 'Unary
'.Creates a new adapter for an object of class 'Unit Carrying Element
'.Creates a new adapter for an object of class 'Variable
'.Creates a new adapter for an object of class 'Variable Reference
'.boolean
isFactoryForType
(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
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
The switch that delegates to thecreateXXX
methods.- Generated class or method.
-
-
Constructor Details
-
StoexAdapterFactory
public StoexAdapterFactory()Creates an instance of the adapter factory.- Generated class or method.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classAdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
createAdapter
Creates an adapter for thetarget
.- Overrides:
createAdapter
in classAdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
. - Generated class or method.
-
createVariableReferenceAdapter
Creates a new adapter for an object of class 'Variable Reference
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbstractNamedReferenceAdapter
Creates a new adapter for an object of class 'Abstract Named Reference
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNamespaceReferenceAdapter
Creates a new adapter for an object of class 'Namespace Reference
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createVariableAdapter
Creates a new adapter for an object of class 'Variable
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAtomAdapter
Creates a new adapter for an object of class 'Atom
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnaryAdapter
Creates a new adapter for an object of class 'Unary
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPowerAdapter
Creates a new adapter for an object of class 'Power
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProductAdapter
Creates a new adapter for an object of class 'Product
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTermAdapter
Creates a new adapter for an object of class 'Term
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createComparisonAdapter
Creates a new adapter for an object of class 'Comparison
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBooleanExpressionAdapter
Creates a new adapter for an object of class 'Boolean Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIfElseAdapter
Creates a new adapter for an object of class 'If Else
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExpressionAdapter
Creates a new adapter for an object of class 'Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTermExpressionAdapter
Creates a new adapter for an object of class 'Term Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProductExpressionAdapter
Creates a new adapter for an object of class 'Product Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProbabilityFunctionLiteralAdapter
Creates a new adapter for an object of class 'Probability Function Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createParenthesisAdapter
Creates a new adapter for an object of class 'Parenthesis
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNumericLiteralAdapter
Creates a new adapter for an object of class 'Numeric Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIntLiteralAdapter
Creates a new adapter for an object of class 'Int Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDoubleLiteralAdapter
Creates a new adapter for an object of class 'Double Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCompareExpressionAdapter
Creates a new adapter for an object of class 'Compare Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBoolLiteralAdapter
Creates a new adapter for an object of class 'Bool Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createStringLiteralAdapter
Creates a new adapter for an object of class 'String Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPowerExpressionAdapter
Creates a new adapter for an object of class 'Power Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBooleanOperatorExpressionAdapter
Creates a new adapter for an object of class 'Boolean Operator Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNotExpressionAdapter
Creates a new adapter for an object of class 'Not Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNegativeExpressionAdapter
Creates a new adapter for an object of class 'Negative Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createFunctionLiteralAdapter
Creates a new adapter for an object of class 'Function Literal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIfElseExpressionAdapter
Creates a new adapter for an object of class 'If Else Expression
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRandomVariableAdapter
Creates a new adapter for an object of class 'Random Variable
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnitCarryingElementAdapter
Creates a new adapter for an object of class 'Unit Carrying 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createEObjectAdapter
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated class or method.
-