Class PrologmodelAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.pcm.dataprocessing.prolog.prologmodel.util.PrologmodelAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
- Direct Known Subclasses:
PrologmodelItemProviderAdapterFactory
public class PrologmodelAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adaptercreateXXX
method for each class of the model.- See Also:
PrologmodelPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static PrologmodelPackage
modelPackage
The cached model package.protected PrologmodelSwitch<Adapter>
modelSwitch
The switch that delegates to thecreateXXX
methods.
-
Constructor Summary
Constructors Constructor Description PrologmodelAdapterFactory()
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
createAndAdapter()
Creates a new adapter for an object of class 'And
'.Adapter
createAttributeAdapter()
Creates a new adapter for an object of class 'Attribute
'.Adapter
createCallerAdapter()
Creates a new adapter for an object of class 'Caller
'.Adapter
createDataTypeAdapter()
Creates a new adapter for an object of class 'Data Type
'.Adapter
createDefaultStateRefAdapter()
Creates a new adapter for an object of class 'Default State Ref
'.Adapter
createEObjectAdapter()
Creates a new adapter for the default case.Adapter
createFalseAdapter()
Creates a new adapter for an object of class 'False
'.Adapter
createLogicTermAdapter()
Creates a new adapter for an object of class 'Logic Term
'.Adapter
createMinStaticAdapter()
Creates a new adapter for an object of class 'Min Static
'.Adapter
createNotAdapter()
Creates a new adapter for an object of class 'Not
'.Adapter
createOperationAdapter()
Creates a new adapter for an object of class 'Operation
'.Adapter
createOperationCallAdapter()
Creates a new adapter for an object of class 'Operation Call
'.Adapter
createOrAdapter()
Creates a new adapter for an object of class 'Or
'.Adapter
createParameterRefAdapter()
Creates a new adapter for an object of class 'Parameter Ref
'.Adapter
createPropertyAdapter()
Creates a new adapter for an object of class 'Property
'.Adapter
createPropertyDefinitionAdapter()
Creates a new adapter for an object of class 'Property Definition
'.Adapter
createPropertyRefAdapter()
Creates a new adapter for an object of class 'Property Ref
'.Adapter
createReturnValueRefAdapter()
Creates a new adapter for an object of class 'Return Value Ref
'.Adapter
createStateRefAdapter()
Creates a new adapter for an object of class 'State Ref
'.Adapter
createSystemAdapter()
Creates a new adapter for an object of class 'System
'.Adapter
createSystemUsageAdapter()
Creates a new adapter for an object of class 'System Usage
'.Adapter
createTrueAdapter()
Creates a new adapter for an object of class 'True
'.Adapter
createValueAdapter()
Creates a new adapter for an object of class 'Value
'.Adapter
createValueSetTypeAdapter()
Creates a new adapter for an object of class 'Value Set Type
'.Adapter
createVariableAdapter()
Creates a new adapter for an object of class 'Variable
'.Adapter
createVariableAssignmentAdapter()
Creates a new adapter for an object of class 'Variable Assignment
'.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 PrologmodelPackage modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
protected PrologmodelSwitch<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.
-
createSystemAdapter
public Adapter createSystemAdapter()
Creates a new adapter for an object of class '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.- Returns:
- the new adapter.
- See Also:
System
- Generated class or method.
-
createAttributeAdapter
public Adapter createAttributeAdapter()
Creates a new adapter for an object of class 'Attribute
'. 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:
Attribute
- Generated class or method.
-
createValueAdapter
public Adapter createValueAdapter()
Creates a new adapter for an object of class 'Value
'. 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:
Value
- Generated class or method.
-
createOperationAdapter
public Adapter createOperationAdapter()
Creates a new adapter for an object of class 'Operation
'. 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:
Operation
- Generated class or method.
-
createVariableAdapter
public Adapter 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.
-
createDataTypeAdapter
public Adapter createDataTypeAdapter()
Creates a new adapter for an object of class 'Data Type
'. 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:
DataType
- Generated class or method.
-
createPropertyAdapter
public Adapter createPropertyAdapter()
Creates a new adapter for an object of class 'Property
'. 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:
Property
- Generated class or method.
-
createPropertyDefinitionAdapter
public Adapter createPropertyDefinitionAdapter()
Creates a new adapter for an object of class 'Property Definition
'. 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:
PropertyDefinition
- Generated class or method.
-
createOperationCallAdapter
public Adapter createOperationCallAdapter()
Creates a new adapter for an object of class 'Operation Call
'. 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:
OperationCall
- Generated class or method.
-
createVariableAssignmentAdapter
public Adapter createVariableAssignmentAdapter()
Creates a new adapter for an object of class 'Variable Assignment
'. 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:
VariableAssignment
- Generated class or method.
-
createValueSetTypeAdapter
public Adapter createValueSetTypeAdapter()
Creates a new adapter for an object of class 'Value Set Type
'. 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:
ValueSetType
- Generated class or method.
-
createLogicTermAdapter
public Adapter createLogicTermAdapter()
Creates a new adapter for an object of class 'Logic 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:
LogicTerm
- Generated class or method.
-
createTrueAdapter
public Adapter createTrueAdapter()
Creates a new adapter for an object of class 'True
'. 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:
True
- Generated class or method.
-
createFalseAdapter
public Adapter createFalseAdapter()
Creates a new adapter for an object of class 'False
'. 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:
False
- Generated class or method.
-
createAndAdapter
public Adapter createAndAdapter()
Creates a new adapter for an object of class 'And
'. 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:
And
- Generated class or method.
-
createOrAdapter
public Adapter createOrAdapter()
Creates a new adapter for an object of class 'Or
'. 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:
Or
- Generated class or method.
-
createNotAdapter
public Adapter createNotAdapter()
Creates a new adapter for an object of class 'Not
'. 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:
Not
- Generated class or method.
-
createParameterRefAdapter
public Adapter createParameterRefAdapter()
Creates a new adapter for an object of class 'Parameter Ref
'. 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:
ParameterRef
- Generated class or method.
-
createPropertyRefAdapter
public Adapter createPropertyRefAdapter()
Creates a new adapter for an object of class 'Property Ref
'. 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:
PropertyRef
- Generated class or method.
-
createCallerAdapter
public Adapter createCallerAdapter()
Creates a new adapter for an object of class 'Caller
'. 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:
Caller
- Generated class or method.
-
createSystemUsageAdapter
public Adapter createSystemUsageAdapter()
Creates a new adapter for an object of class 'System 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:
SystemUsage
- Generated class or method.
-
createReturnValueRefAdapter
public Adapter createReturnValueRefAdapter()
Creates a new adapter for an object of class 'Return Value Ref
'. 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:
ReturnValueRef
- Generated class or method.
-
createStateRefAdapter
public Adapter createStateRefAdapter()
Creates a new adapter for an object of class 'State Ref
'. 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:
StateRef
- Generated class or method.
-
createDefaultStateRefAdapter
public Adapter createDefaultStateRefAdapter()
Creates a new adapter for an object of class 'Default State Ref
'. 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:
DefaultStateRef
- Generated class or method.
-
createMinStaticAdapter
public Adapter createMinStaticAdapter()
Creates a new adapter for an object of class 'Min Static
'. 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:
MinStatic
- 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.
-
-