ujf.verimag.bip.Core.Behaviors.util
Class BehaviorsAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by ujf.verimag.bip.Core.Behaviors.util.BehaviorsAdapterFactory

public class BehaviorsAdapterFactory
extends AdapterFactoryImpl

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

See Also:
BehaviorsPackage

Field Summary
protected static BehaviorsPackage modelPackage
          The cached model package.
protected  BehaviorsSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
BehaviorsAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractTransitionAdapter()
          Creates a new adapter for an object of class 'Abstract Transition'.
 Adapter createACExpressionAdapter()
          Creates a new adapter for an object of class 'AC Expression'.
 Adapter createActionAdapter()
          Creates a new adapter for an object of class 'Action'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAIExpressionAdapter()
          Creates a new adapter for an object of class 'AI Expression'.
 Adapter createAtomTypeAdapter()
          Creates a new adapter for an object of class 'Atom Type'.
 Adapter createBehaviorAdapter()
          Creates a new adapter for an object of class 'Behavior'.
 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 createComponentTypeAdapter()
          Creates a new adapter for an object of class 'Component Type'.
 Adapter createConstantAdapter()
          Creates a new adapter for an object of class 'Constant'.
 Adapter createDataParameterAdapter()
          Creates a new adapter for an object of class 'Data Parameter'.
 Adapter createDataTypeAdapter()
          Creates a new adapter for an object of class 'Data Type'.
 Adapter createDataTypedElementAdapter()
          Creates a new adapter for an object of class 'Data Typed Element'.
 Adapter createDefinitionBindingAdapter()
          Creates a new adapter for an object of class 'Definition Binding'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExpressionAdapter()
          Creates a new adapter for an object of class 'Expression'.
 Adapter createInterfaceVariableAdapter()
          Creates a new adapter for an object of class 'Interface Variable'.
 Adapter createMultiTransitionAdapter()
          Creates a new adapter for an object of class 'Multi Transition'.
 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 createPartTypeAdapter()
          Creates a new adapter for an object of class 'Part Type'.
 Adapter createPetriNetAdapter()
          Creates a new adapter for an object of class 'Petri Net'.
 Adapter createPortAdapter()
          Creates a new adapter for an object of class 'Port'.
 Adapter createPortDefinitionAdapter()
          Creates a new adapter for an object of class 'Port Definition'.
 Adapter createPortDefinitionReferenceAdapter()
          Creates a new adapter for an object of class 'Port Definition Reference'.
 Adapter createPortExpressionAdapter()
          Creates a new adapter for an object of class 'Port Expression'.
 Adapter createPortReferenceAdapter()
          Creates a new adapter for an object of class 'Port Reference'.
 Adapter createPortTypeAdapter()
          Creates a new adapter for an object of class 'Port Type'.
 Adapter createStateAdapter()
          Creates a new adapter for an object of class 'State'.
 Adapter createTraceableElementAdapter()
          Creates a new adapter for an object of class 'Traceable Element'.
 Adapter createTransitionAdapter()
          Creates a new adapter for an object of class 'Transition'.
 Adapter createTransitionAlternativeAdapter()
          Creates a new adapter for an object of class 'Transition Alternative'.
 Adapter createVariableAdapter()
          Creates a new adapter for an object of class 'Variable'.
 Adapter createVariableBindingAdapter()
          Creates a new adapter for an object of class 'Variable Binding'.
 Adapter createVariableDefinitionBindingAdapter()
          Creates a new adapter for an object of class 'Variable Definition 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 BehaviorsPackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

BehaviorsAdapterFactory

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

createPortDefinitionAdapter

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

createAtomTypeAdapter

public Adapter createAtomTypeAdapter()
Creates a new adapter for an object of class 'Atom 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:
AtomType

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

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

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

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

createDataParameterAdapter

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

createDataTypedElementAdapter

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

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

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

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

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

createPortAdapter

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

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

createPortTypeAdapter

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

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

createInterfaceVariableAdapter

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

createAbstractTransitionAdapter

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

createStateAdapter

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

createTransitionAdapter

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

createTransitionAlternativeAdapter

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

createConstantAdapter

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

createBehaviorAdapter

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

createPetriNetAdapter

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

createDefinitionBindingAdapter

public Adapter createDefinitionBindingAdapter()
Creates a new adapter for an object of class 'Definition 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:
DefinitionBinding

createPortDefinitionReferenceAdapter

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

createMultiTransitionAdapter

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

createVariableDefinitionBindingAdapter

public Adapter createVariableDefinitionBindingAdapter()
Creates a new adapter for an object of class 'Variable Definition 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:
VariableDefinitionBinding

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

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

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

createEObjectAdapter

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

Returns:
the new adapter.