Public Member Functions | Protected Attributes | Static Protected Attributes

de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory Class Reference

List of all members.

Public Member Functions

Adapter createAdapter (Notifier target)
Adapter createAnalysisLevelAdapter ()
Adapter createContextAdapter ()
Adapter createDesignLevelAdapter ()
Adapter createEAElementAdapter ()
Adapter createEAPackageableElementAdapter ()
Adapter createEObjectAdapter ()
Adapter createIdentifiableAdapter ()
Adapter createImplementationLevelAdapter ()
Adapter createSystemModelAdapter ()
Adapter createUserAttributeableElementAdapter ()
Adapter createVehicleLevelAdapter ()
boolean isFactoryForType (Object object)
 SystemmodelingAdapterFactory ()

Protected Attributes

SystemmodelingSwitch< Adapter > modelSwitch

Static Protected Attributes

static SystemmodelingPackage modelPackage

Detailed Description

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

See also:
de.fraunhofer.isst.eastadl.systemmodeling.SystemmodelingPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.SystemmodelingAdapterFactory (  ) 

Creates an instance of the adapter factory.


Member Function Documentation

Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createAdapter ( Notifier  target  ) 

Creates an adapter for the target.

Parameters:
target the object to adapt.
Returns:
the adapter for the target.
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createAnalysisLevelAdapter (  ) 

Creates a new adapter for an object of class 'Analysis Level'.

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:
de.fraunhofer.isst.eastadl.systemmodeling.AnalysisLevel
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createContextAdapter (  ) 

Creates a new adapter for an object of class 'Context'.

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:
de.fraunhofer.isst.eastadl.elements.Context
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createDesignLevelAdapter (  ) 

Creates a new adapter for an object of class 'Design Level'.

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:
de.fraunhofer.isst.eastadl.systemmodeling.DesignLevel
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createEAElementAdapter (  ) 

Creates a new adapter for an object of class 'EA 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:
de.fraunhofer.isst.eastadl.elements.EAElement
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createEAPackageableElementAdapter (  ) 

Creates a new adapter for an object of class 'EA Packageable 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:
de.fraunhofer.isst.eastadl.elements.EAPackageableElement
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createEObjectAdapter (  ) 

Creates a new adapter for the default case.

This default implementation returns null.

Returns:
the new adapter.
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createIdentifiableAdapter (  ) 

Creates a new adapter for an object of class 'Identifiable'.

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:
de.fraunhofer.isst.eastadl.autosar.Identifiable
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createImplementationLevelAdapter (  ) 

Creates a new adapter for an object of class 'Implementation Level'.

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:
de.fraunhofer.isst.eastadl.systemmodeling.ImplementationLevel
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createSystemModelAdapter (  ) 

Creates a new adapter for an object of class 'System 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:
de.fraunhofer.isst.eastadl.systemmodeling.SystemModel
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createUserAttributeableElementAdapter (  ) 

Creates a new adapter for an object of class 'User Attributeable 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:
de.fraunhofer.isst.eastadl.userattributes.UserAttributeableElement
Adapter de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.createVehicleLevelAdapter (  ) 

Creates a new adapter for an object of class 'Vehicle Level'.

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:
de.fraunhofer.isst.eastadl.systemmodeling.VehicleLevel
boolean de.fraunhofer.isst.eastadl.systemmodeling.util.SystemmodelingAdapterFactory.isFactoryForType ( 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.

Member Data Documentation

The cached model package.

The switch that delegates to the createXXX methods.