Class ParameterAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.palladiosimulator.pcm.parameter.util.ParameterAdapterFactory
- All Implemented Interfaces:
AdapterFactory
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 ParameterPackage
The cached model package.protected ParameterSwitch<Adapter>
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAdapter
(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 'Characterised Variable
'.Creates a new adapter for an object of class 'Comparison
'.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 'If Else
'.Creates a new adapter for an object of class 'PCM Base Class
'.Creates a new adapter for an object of class 'PCM Class
'.Creates a new adapter for an object of class 'Power
'.Creates a new adapter for an object of class 'Product
'.Creates a new adapter for an object of class 'Term
'.Creates a new adapter for an object of class 'Unary
'.Creates a new adapter for an object of class 'Variable
'.Creates a new adapter for an object of class 'Variable Characterisation
'.Creates a new adapter for an object of class 'Variable Usage
'.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
-
ParameterAdapterFactory
public ParameterAdapterFactory()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.
-
createVariableUsageAdapter
Creates a new adapter for an object of class 'Variable Usage
'. 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.
-
createVariableCharacterisationAdapter
Creates a new adapter for an object of class 'Variable Characterisation
'. 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.
-
createCharacterisedVariableAdapter
Creates a new adapter for an object of class 'Characterised 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.
-
createPCMClassAdapter
Creates a new adapter for an object of class 'PCM Class
'. 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.
-
createPCMBaseClassAdapter
Creates a new adapter for an object of class 'PCM Base Class
'. 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:
-
Expression
- 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:
-
IfElse
- 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:
-
BooleanExpression
- 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:
-
Comparison
- 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:
-
Term
- 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:
-
Product
- 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:
-
Power
- 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:
-
Unary
- 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:
-
Atom
- 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:
-
Variable
- 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.
-