Class designdecisionAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- de.uka.ipd.sdq.pcm.designdecision.util.designdecisionAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
- Direct Known Subclasses:
designdecisionItemProviderAdapterFactory
public class designdecisionAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXX
method for each class of the model.- See Also:
designdecisionPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static designdecisionPackage
modelPackage
The cached model package.protected designdecisionSwitch<Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description designdecisionAdapterFactory()
Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Adapter
createAdapter(Notifier target)
Creates an adapter for thetarget
.Adapter
createBoolChoiceAdapter()
Creates a new adapter for an object of class 'Bool Choice
'.Adapter
createCandidateAdapter()
Creates a new adapter for an object of class 'Candidate
'.Adapter
createCandidatesAdapter()
Creates a new adapter for an object of class 'Candidates
'.Adapter
createChoiceAdapter()
Creates a new adapter for an object of class 'Choice
'.Adapter
createClassChoiceAdapter()
Creates a new adapter for an object of class 'Class Choice
'.Adapter
createContinousRangeChoiceAdapter()
Creates a new adapter for an object of class 'Continous Range Choice
'.Adapter
createDecisionSpaceAdapter()
Creates a new adapter for an object of class 'Decision Space
'.Adapter
createDegreeOfFreedomInstanceAdapter()
Creates a new adapter for an object of class 'Degree Of Freedom Instance
'.Adapter
createDiscreteRangeChoiceAdapter()
Creates a new adapter for an object of class 'Discrete Range Choice
'.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.Adapter
createFeatureChoiceAdapter()
Creates a new adapter for an object of class 'Feature Choice
'.Adapter
createfeaturemodel_NamedElementAdapter()
Creates a new adapter for an object of class 'Named Element
'.Adapter
createIdentifierAdapter()
Creates a new adapter for an object of class 'Identifier
'.Adapter
createNamedElementAdapter()
Creates a new adapter for an object of class 'Named Element
'.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 Detail
-
modelPackage
protected static designdecisionPackage modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
protected designdecisionSwitch<Adapter> modelSwitch
The switch that delegates to thecreateXXX
methods.- Generated class or method.
-
-
Method Detail
-
isFactoryForType
public boolean isFactoryForType(Object object)
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
public Adapter createAdapter(Notifier target)
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.
-
createDiscreteRangeChoiceAdapter
public Adapter createDiscreteRangeChoiceAdapter()
Creates a new adapter for an object of class 'Discrete Range Choice
'. 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:
DiscreteRangeChoice
- Generated class or method.
-
createDegreeOfFreedomInstanceAdapter
public Adapter createDegreeOfFreedomInstanceAdapter()
Creates a new adapter for an object of class 'Degree Of Freedom Instance
'. 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:
DegreeOfFreedomInstance
- Generated class or method.
-
createChoiceAdapter
public Adapter createChoiceAdapter()
Creates a new adapter for an object of class 'Choice
'. 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:
Choice
- Generated class or method.
-
createClassChoiceAdapter
public Adapter createClassChoiceAdapter()
Creates a new adapter for an object of class 'Class Choice
'. 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:
ClassChoice
- Generated class or method.
-
createContinousRangeChoiceAdapter
public Adapter createContinousRangeChoiceAdapter()
Creates a new adapter for an object of class 'Continous Range Choice
'. 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:
ContinousRangeChoice
- Generated class or method.
-
createDecisionSpaceAdapter
public Adapter createDecisionSpaceAdapter()
Creates a new adapter for an object of class 'Decision Space
'. 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:
DecisionSpace
- Generated class or method.
-
createCandidateAdapter
public Adapter createCandidateAdapter()
Creates a new adapter for an object of class 'Candidate
'. 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:
Candidate
- Generated class or method.
-
createCandidatesAdapter
public Adapter createCandidatesAdapter()
Creates a new adapter for an object of class 'Candidates
'. 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:
Candidates
- Generated class or method.
-
createBoolChoiceAdapter
public Adapter createBoolChoiceAdapter()
Creates a new adapter for an object of class 'Bool Choice
'. 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:
BoolChoice
- Generated class or method.
-
createFeatureChoiceAdapter
public Adapter createFeatureChoiceAdapter()
Creates a new adapter for an object of class 'Feature Choice
'. 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:
FeatureChoice
- Generated class or method.
-
createNamedElementAdapter
public Adapter createNamedElementAdapter()
Creates a new adapter for an object of class 'Named 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:
NamedElement
- Generated class or method.
-
createIdentifierAdapter
public Adapter createIdentifierAdapter()
Creates a new adapter for an object of class 'Identifier
'. 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:
Identifier
- Generated class or method.
-
createfeaturemodel_NamedElementAdapter
public Adapter createfeaturemodel_NamedElementAdapter()
Creates a new adapter for an object of class 'Named 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:
NamedElement
- Generated class or method.
-
createEObjectAdapter
public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated class or method.
-
-