ujf.verimag.bip.Core.ActionLanguage.Expressions.util
Class ExpressionsAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by ujf.verimag.bip.Core.ActionLanguage.Expressions.util.ExpressionsAdapterFactory

public class ExpressionsAdapterFactory
extends AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
ExpressionsPackage

Field Summary
protected static ExpressionsPackage modelPackage
          The cached model package.
protected  ExpressionsSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
ExpressionsAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createActionAdapter()
          Creates a new adapter for an object of class 'Action'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createArrayNavigationExpressionAdapter()
          Creates a new adapter for an object of class 'Array Navigation Expression'.
 Adapter createBinaryExpressionAdapter()
          Creates a new adapter for an object of class 'Binary Expression'.
 Adapter createBooleanLiteralAdapter()
          Creates a new adapter for an object of class 'Boolean Literal'.
 Adapter createDataNavigationExpressionAdapter()
          Creates a new adapter for an object of class 'Data Navigation Expression'.
 Adapter createDataParameterReferenceAdapter()
          Creates a new adapter for an object of class 'Data Parameter Reference'.
 Adapter createDataParameterSpecificationAdapter()
          Creates a new adapter for an object of class 'Data Parameter Specification'.
 Adapter createDataReferenceAdapter()
          Creates a new adapter for an object of class 'Data Reference'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExpressionAdapter()
          Creates a new adapter for an object of class 'Expression'.
 Adapter createFieldNavigationExpressionAdapter()
          Creates a new adapter for an object of class 'Field Navigation Expression'.
 Adapter createFunctionCallExpressionAdapter()
          Creates a new adapter for an object of class 'Function Call Expression'.
 Adapter createIndexLiteralAdapter()
          Creates a new adapter for an object of class 'Index Literal'.
 Adapter createInnerDataParameterReferenceAdapter()
          Creates a new adapter for an object of class 'Inner Data Parameter Reference'.
 Adapter createInnerInterfaceVariableReferenceAdapter()
          Creates a new adapter for an object of class 'Inner Interface Variable Reference'.
 Adapter createIntegerLiteralAdapter()
          Creates a new adapter for an object of class 'Integer Literal'.
 Adapter createInterfaceVariableReferenceAdapter()
          Creates a new adapter for an object of class 'Interface Variable Reference'.
 Adapter createPointerLiteralAdapter()
          Creates a new adapter for an object of class 'Pointer Literal'.
 Adapter createRealLiteralAdapter()
          Creates a new adapter for an object of class 'Real Literal'.
 Adapter createRequiredDataParameterReferenceAdapter()
          Creates a new adapter for an object of class 'Required Data Parameter Reference'.
 Adapter createStateReferenceAdapter()
          Creates a new adapter for an object of class 'State Reference'.
 Adapter createStringLiteralAdapter()
          Creates a new adapter for an object of class 'String Literal'.
 Adapter createUnaryExpressionAdapter()
          Creates a new adapter for an object of class 'Unary Expression'.
 Adapter createVariableReferenceAdapter()
          Creates a new adapter for an object of class 'Variable Reference'.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static ExpressionsPackage modelPackage
The cached model package.


modelSwitch

protected ExpressionsSwitch<Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Constructor Detail

ExpressionsAdapterFactory

public ExpressionsAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.

Returns:
whether this factory is applicable for the type of the object.

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createDataReferenceAdapter

public Adapter createDataReferenceAdapter()
Creates a new adapter for an object of class 'Data 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:
DataReference

createDataParameterSpecificationAdapter

public Adapter createDataParameterSpecificationAdapter()
Creates a new adapter for an object of class 'Data Parameter Specification'. 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:
DataParameterSpecification

createInnerDataParameterReferenceAdapter

public Adapter createInnerDataParameterReferenceAdapter()
Creates a new adapter for an object of class 'Inner Data Parameter 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:
InnerDataParameterReference

createDataParameterReferenceAdapter

public Adapter createDataParameterReferenceAdapter()
Creates a new adapter for an object of class 'Data Parameter 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:
DataParameterReference

createBooleanLiteralAdapter

public Adapter createBooleanLiteralAdapter()
Creates a new adapter for an object of class 'Boolean 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:
BooleanLiteral

createIntegerLiteralAdapter

public Adapter createIntegerLiteralAdapter()
Creates a new adapter for an object of class 'Integer 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:
IntegerLiteral

createRealLiteralAdapter

public Adapter createRealLiteralAdapter()
Creates a new adapter for an object of class 'Real 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:
RealLiteral

createStringLiteralAdapter

public Adapter 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:
StringLiteral

createUnaryExpressionAdapter

public Adapter createUnaryExpressionAdapter()
Creates a new adapter for an object of class 'Unary 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:
UnaryExpression

createBinaryExpressionAdapter

public Adapter createBinaryExpressionAdapter()
Creates a new adapter for an object of class 'Binary 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:
BinaryExpression

createIndexLiteralAdapter

public Adapter createIndexLiteralAdapter()
Creates a new adapter for an object of class 'Index 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:
IndexLiteral

createFunctionCallExpressionAdapter

public Adapter createFunctionCallExpressionAdapter()
Creates a new adapter for an object of class 'Function Call 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:
FunctionCallExpression

createFieldNavigationExpressionAdapter

public Adapter createFieldNavigationExpressionAdapter()
Creates a new adapter for an object of class 'Field Navigation 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:
FieldNavigationExpression

createDataNavigationExpressionAdapter

public Adapter createDataNavigationExpressionAdapter()
Creates a new adapter for an object of class 'Data Navigation 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:
DataNavigationExpression

createArrayNavigationExpressionAdapter

public Adapter createArrayNavigationExpressionAdapter()
Creates a new adapter for an object of class 'Array Navigation 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:
ArrayNavigationExpression

createRequiredDataParameterReferenceAdapter

public Adapter createRequiredDataParameterReferenceAdapter()
Creates a new adapter for an object of class 'Required Data Parameter 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:
RequiredDataParameterReference

createStateReferenceAdapter

public Adapter createStateReferenceAdapter()
Creates a new adapter for an object of class 'State 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:
StateReference

createInterfaceVariableReferenceAdapter

public Adapter createInterfaceVariableReferenceAdapter()
Creates a new adapter for an object of class 'Interface 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:
InterfaceVariableReference

createPointerLiteralAdapter

public Adapter createPointerLiteralAdapter()
Creates a new adapter for an object of class 'Pointer 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:
PointerLiteral

createInnerInterfaceVariableReferenceAdapter

public Adapter createInnerInterfaceVariableReferenceAdapter()
Creates a new adapter for an object of class 'Inner Interface 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:
InnerInterfaceVariableReference

createVariableReferenceAdapter

public Adapter 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:
VariableReference

createActionAdapter

public Adapter createActionAdapter()
Creates a new adapter for an object of class 'Action'. 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:
Action

createExpressionAdapter

public Adapter 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

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.