ujf.verimag.bip.Core.Interactions.util
Class InteractionsAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by ujf.verimag.bip.Core.Interactions.util.InteractionsAdapterFactory

public class InteractionsAdapterFactory
extends AdapterFactoryImpl

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

See Also:
InteractionsPackage

Field Summary
protected static InteractionsPackage modelPackage
          The cached model package.
protected  InteractionsSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
InteractionsAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createACExpressionAdapter()
          Creates a new adapter for an object of class 'AC Expression'.
 Adapter createActualPortParameterAdapter()
          Creates a new adapter for an object of class 'Actual Port Parameter'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAIExpressionAdapter()
          Creates a new adapter for an object of class 'AI Expression'.
 Adapter createBindingAdapter()
          Creates a new adapter for an object of class 'Binding'.
 Adapter createBipTypeAdapter()
          Creates a new adapter for an object of class 'Bip Type'.
 Adapter createComponentAdapter()
          Creates a new adapter for an object of class 'Component'.
 Adapter createComponentTypeAdapter()
          Creates a new adapter for an object of class 'Component Type'.
 Adapter createCompoundTypeAdapter()
          Creates a new adapter for an object of class 'Compound Type'.
 Adapter createConditionalActualPortParameterAdapter()
          Creates a new adapter for an object of class 'Conditional Actual Port Parameter'.
 Adapter createConnectorAdapter()
          Creates a new adapter for an object of class 'Connector'.
 Adapter createConnectorTypeAdapter()
          Creates a new adapter for an object of class 'Connector Type'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExportBindingAdapter()
          Creates a new adapter for an object of class 'Export Binding'.
 Adapter createInnerPortReferenceAdapter()
          Creates a new adapter for an object of class 'Inner Port Reference'.
 Adapter createInnerPortSpecificationAdapter()
          Creates a new adapter for an object of class 'Inner Port Specification'.
 Adapter createInteractionAdapter()
          Creates a new adapter for an object of class 'Interaction'.
 Adapter createInteractionSpecificationAdapter()
          Creates a new adapter for an object of class 'Interaction Specification'.
 Adapter createMultiplicityElementAdapter()
          Creates a new adapter for an object of class 'Multiplicity Element'.
 Adapter createMultiplicityPathAdapter()
          Creates a new adapter for an object of class 'Multiplicity Path'.
 Adapter createNamedElementAdapter()
          Creates a new adapter for an object of class 'Named Element'.
 Adapter createParameterizedElementAdapter()
          Creates a new adapter for an object of class 'Parameterized Element'.
 Adapter createPartAdapter()
          Creates a new adapter for an object of class 'Part'.
 Adapter createPartElementReferenceAdapter()
          Creates a new adapter for an object of class 'Part Element Reference'.
 Adapter createPartTypeAdapter()
          Creates a new adapter for an object of class 'Part Type'.
 Adapter createPortExpressionAdapter()
          Creates a new adapter for an object of class 'Port Expression'.
 Adapter createPortParameterAdapter()
          Creates a new adapter for an object of class 'Port Parameter'.
 Adapter createPortParameterReferenceAdapter()
          Creates a new adapter for an object of class 'Port Parameter Reference'.
 Adapter createPortReferenceAdapter()
          Creates a new adapter for an object of class 'Port Reference'.
 Adapter createPriorityElementAdapter()
          Creates a new adapter for an object of class 'Priority Element'.
 Adapter createTraceableElementAdapter()
          Creates a new adapter for an object of class 'Traceable Element'.
 Adapter createVariableBindingAdapter()
          Creates a new adapter for an object of class 'Variable Binding'.
 Adapter createVariableExportBindingAdapter()
          Creates a new adapter for an object of class 'Variable Export Binding'.
 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 InteractionsPackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

InteractionsAdapterFactory

public InteractionsAdapterFactory()
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.

createComponentAdapter

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

createPartAdapter

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

createMultiplicityElementAdapter

public Adapter createMultiplicityElementAdapter()
Creates a new adapter for an object of class 'Multiplicity 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:
MultiplicityElement

createCompoundTypeAdapter

public Adapter createCompoundTypeAdapter()
Creates a new adapter for an object of class 'Compound 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:
CompoundType

createConnectorAdapter

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

createActualPortParameterAdapter

public Adapter createActualPortParameterAdapter()
Creates a new adapter for an object of class 'Actual Port Parameter'. 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:
ActualPortParameter

createPartElementReferenceAdapter

public Adapter createPartElementReferenceAdapter()
Creates a new adapter for an object of class 'Part Element 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:
PartElementReference

createMultiplicityPathAdapter

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

createInnerPortSpecificationAdapter

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

createInteractionSpecificationAdapter

public Adapter createInteractionSpecificationAdapter()
Creates a new adapter for an object of class 'Interaction 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:
InteractionSpecification

createInteractionAdapter

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

createPortParameterAdapter

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

createExportBindingAdapter

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

createPortParameterReferenceAdapter

public Adapter createPortParameterReferenceAdapter()
Creates a new adapter for an object of class 'Port 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:
PortParameterReference

createInnerPortReferenceAdapter

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

createConditionalActualPortParameterAdapter

public Adapter createConditionalActualPortParameterAdapter()
Creates a new adapter for an object of class 'Conditional Actual Port Parameter'. 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:
ConditionalActualPortParameter

createVariableExportBindingAdapter

public Adapter createVariableExportBindingAdapter()
Creates a new adapter for an object of class 'Variable Export Binding'. 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:
VariableExportBinding

createConnectorTypeAdapter

public Adapter createConnectorTypeAdapter()
Creates a new adapter for an object of class 'Connector 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:
ConnectorType

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

createParameterizedElementAdapter

public Adapter createParameterizedElementAdapter()
Creates a new adapter for an object of class 'Parameterized 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:
ParameterizedElement

createTraceableElementAdapter

public Adapter createTraceableElementAdapter()
Creates a new adapter for an object of class 'Traceable 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:
TraceableElement

createBipTypeAdapter

public Adapter createBipTypeAdapter()
Creates a new adapter for an object of class 'Bip 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:
BipType

createPartTypeAdapter

public Adapter createPartTypeAdapter()
Creates a new adapter for an object of class 'Part 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:
PartType

createComponentTypeAdapter

public Adapter createComponentTypeAdapter()
Creates a new adapter for an object of class 'Component 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:
ComponentType

createPriorityElementAdapter

public Adapter createPriorityElementAdapter()
Creates a new adapter for an object of class 'Priority 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:
PriorityElement

createBindingAdapter

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

createPortExpressionAdapter

public Adapter createPortExpressionAdapter()
Creates a new adapter for an object of class 'Port 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:
PortExpression

createACExpressionAdapter

public Adapter createACExpressionAdapter()
Creates a new adapter for an object of class 'AC 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:
ACExpression

createAIExpressionAdapter

public Adapter createAIExpressionAdapter()
Creates a new adapter for an object of class 'AI 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:
AIExpression

createPortReferenceAdapter

public Adapter createPortReferenceAdapter()
Creates a new adapter for an object of class 'Port 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:
PortReference

createVariableBindingAdapter

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

createEObjectAdapter

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

Returns:
the new adapter.