org.eclipse.gmt.modisco.omg.kdm.event.util
Class EventAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.gmt.modisco.omg.kdm.event.util.EventAdapterFactory

public class EventAdapterFactory
extends AdapterFactoryImpl

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

See Also:
EventPackage
Generated:

Constructor Summary
EventAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractActionRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Action Relationship'.
 Adapter createAbstractEventElementAdapter()
          Creates a new adapter for an object of class 'Abstract Event Element'.
 Adapter createAbstractEventRelationshipAdapter()
          Creates a new adapter for an object of class 'Abstract Event Relationship'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createConsumesEventAdapter()
          Creates a new adapter for an object of class 'Consumes Event'.
 Adapter createElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createEventActionAdapter()
          Creates a new adapter for an object of class 'Action'.
 Adapter createEventAdapter()
          Creates a new adapter for an object of class 'Event'.
 Adapter createEventElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createEventModelAdapter()
          Creates a new adapter for an object of class 'Model'.
 Adapter createEventRelationshipAdapter()
          Creates a new adapter for an object of class 'Relationship'.
 Adapter createEventResourceAdapter()
          Creates a new adapter for an object of class 'Resource'.
 Adapter createHasStateAdapter()
          Creates a new adapter for an object of class 'Has State'.
 Adapter createInitialStateAdapter()
          Creates a new adapter for an object of class 'Initial State'.
 Adapter createKDMEntityAdapter()
          Creates a new adapter for an object of class 'KDM Entity'.
 Adapter createKDMFrameworkAdapter()
          Creates a new adapter for an object of class 'KDM Framework'.
 Adapter createKDMModelAdapter()
          Creates a new adapter for an object of class 'KDM Model'.
 Adapter createKDMRelationshipAdapter()
          Creates a new adapter for an object of class 'KDM Relationship'.
 Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 Adapter createNextStateAdapter()
          Creates a new adapter for an object of class 'Next State'.
 Adapter createOnEntryAdapter()
          Creates a new adapter for an object of class 'On Entry'.
 Adapter createOnExitAdapter()
          Creates a new adapter for an object of class 'On Exit'.
 Adapter createProducesEventAdapter()
          Creates a new adapter for an object of class 'Produces Event'.
 Adapter createReadsStateAdapter()
          Creates a new adapter for an object of class 'Reads State'.
 Adapter createStateAdapter()
          Creates a new adapter for an object of class 'State'.
 Adapter createTransitionAdapter()
          Creates a new adapter for an object of class 'Transition'.
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventAdapterFactory

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

Generated:
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.
Generated:

createAdapter

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

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

createEventModelAdapter

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

createAbstractEventElementAdapter

public Adapter createAbstractEventElementAdapter()
Creates a new adapter for an object of class 'Abstract Event 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:
AbstractEventElement
Generated:

createEventAdapter

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

createAbstractEventRelationshipAdapter

public Adapter createAbstractEventRelationshipAdapter()
Creates a new adapter for an object of class 'Abstract Event Relationship'. 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:
AbstractEventRelationship
Generated:

createEventRelationshipAdapter

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

createEventResourceAdapter

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

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
Generated:

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
Generated:

createOnEntryAdapter

public Adapter createOnEntryAdapter()
Creates a new adapter for an object of class 'On Entry'. 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:
OnEntry
Generated:

createOnExitAdapter

public Adapter createOnExitAdapter()
Creates a new adapter for an object of class 'On Exit'. 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:
OnExit
Generated:

createEventActionAdapter

public Adapter createEventActionAdapter()
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:
EventAction
Generated:

createReadsStateAdapter

public Adapter createReadsStateAdapter()
Creates a new adapter for an object of class 'Reads 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:
ReadsState
Generated:

createProducesEventAdapter

public Adapter createProducesEventAdapter()
Creates a new adapter for an object of class 'Produces Event'. 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:
ProducesEvent
Generated:

createConsumesEventAdapter

public Adapter createConsumesEventAdapter()
Creates a new adapter for an object of class 'Consumes Event'. 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:
ConsumesEvent
Generated:

createNextStateAdapter

public Adapter createNextStateAdapter()
Creates a new adapter for an object of class 'Next 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:
NextState
Generated:

createInitialStateAdapter

public Adapter createInitialStateAdapter()
Creates a new adapter for an object of class 'Initial 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:
InitialState
Generated:

createEventElementAdapter

public Adapter createEventElementAdapter()
Creates a new adapter for an object of class '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:
EventElement
Generated:

createHasStateAdapter

public Adapter createHasStateAdapter()
Creates a new adapter for an object of class 'Has 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:
HasState
Generated:

createElementAdapter

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

createModelElementAdapter

public Adapter createModelElementAdapter()
Creates a new adapter for an object of class 'Model 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:
ModelElement
Generated:

createKDMFrameworkAdapter

public Adapter createKDMFrameworkAdapter()
Creates a new adapter for an object of class 'KDM Framework'. 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:
KDMFramework
Generated:

createKDMModelAdapter

public Adapter createKDMModelAdapter()
Creates a new adapter for an object of class 'KDM Model'. 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:
KDMModel
Generated:

createKDMEntityAdapter

public Adapter createKDMEntityAdapter()
Creates a new adapter for an object of class 'KDM Entity'. 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:
KDMEntity
Generated:

createKDMRelationshipAdapter

public Adapter createKDMRelationshipAdapter()
Creates a new adapter for an object of class 'KDM Relationship'. 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:
KDMRelationship
Generated:

createAbstractActionRelationshipAdapter

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

createEObjectAdapter

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

Returns:
the new adapter.
Generated: