Public Member Functions | Protected Attributes | Static Protected Attributes

de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory Class Reference

List of all members.

Public Member Functions

Adapter createActuatorAdapter ()
Adapter createAdapter (Notifier target)
Adapter createAllocationTargetAdapter ()
Adapter createAllocationTargetInstanceRefAdapter ()
Adapter createCommunicationHardwarePinAdapter ()
Adapter createContextAdapter ()
Adapter createEAElementAdapter ()
Adapter createEAPackageableElementAdapter ()
Adapter createEObjectAdapter ()
Adapter createHardwareComponentPrototypeAdapter ()
Adapter createHardwareComponentTypeAdapter ()
Adapter createHardwareConnectorAdapter ()
Adapter createHardwareConnectorInstanceRefAdapter ()
Adapter createHardwarePinAdapter ()
Adapter createHardwarePinGroupAdapter ()
Adapter createHardwarePinInstanceRefAdapter ()
Adapter createIdentifiableAdapter ()
Adapter createIOHardwarePinAdapter ()
Adapter createLogicalBusAdapter ()
Adapter createNodeAdapter ()
Adapter createPowerHardwarePinAdapter ()
Adapter createPowerSupplyAdapter ()
Adapter createSensorAdapter ()
Adapter createUserAttributeableElementAdapter ()
 HardwaremodelingAdapterFactory ()
boolean isFactoryForType (Object object)

Protected Attributes

HardwaremodelingSwitch< Adapter > modelSwitch

Static Protected Attributes

static HardwaremodelingPackage 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.hardwaremodeling.HardwaremodelingPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.HardwaremodelingAdapterFactory (  ) 

Creates an instance of the adapter factory.


Member Function Documentation

Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createActuatorAdapter (  ) 

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

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.hardwaremodeling.Actuator
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.hardwaremodeling.util.HardwaremodelingAdapterFactory.createAllocationTargetAdapter (  ) 

Creates a new adapter for an object of class 'Allocation Target'.

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.hardwaremodeling.AllocationTarget
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createAllocationTargetInstanceRefAdapter (  ) 

Creates a new adapter for an object of class 'Allocation Target Instance Ref'.

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.hardwaremodeling.AllocationTargetInstanceRef
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createCommunicationHardwarePinAdapter (  ) 

Creates a new adapter for an object of class 'Communication Hardware Pin'.

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.hardwaremodeling.CommunicationHardwarePin
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.hardwaremodeling.util.HardwaremodelingAdapterFactory.createEObjectAdapter (  ) 

Creates a new adapter for the default case.

This default implementation returns null.

Returns:
the new adapter.
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwareComponentPrototypeAdapter (  ) 

Creates a new adapter for an object of class 'Hardware Component Prototype'.

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.hardwaremodeling.HardwareComponentPrototype
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwareComponentTypeAdapter (  ) 

Creates a new adapter for an object of class 'Hardware 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:
de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareComponentType
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwareConnectorAdapter (  ) 

Creates a new adapter for an object of class 'Hardware 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:
de.fraunhofer.isst.eastadl.hardwaremodeling.HardwareConnector
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwareConnectorInstanceRefAdapter (  ) 

Creates a new adapter for an object of class 'Hardware Connector Instance Ref'.

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.hardwaremodeling.HardwareConnectorInstanceRef
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwarePinAdapter (  ) 

Creates a new adapter for an object of class 'Hardware Pin'.

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.hardwaremodeling.HardwarePin
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwarePinGroupAdapter (  ) 

Creates a new adapter for an object of class 'Hardware Pin Group'.

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.hardwaremodeling.HardwarePinGroup
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createHardwarePinInstanceRefAdapter (  ) 

Creates a new adapter for an object of class 'Hardware Pin Instance Ref'.

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.hardwaremodeling.HardwarePinInstanceRef
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.hardwaremodeling.util.HardwaremodelingAdapterFactory.createIOHardwarePinAdapter (  ) 

Creates a new adapter for an object of class 'IO Hardware Pin'.

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.hardwaremodeling.IOHardwarePin
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createLogicalBusAdapter (  ) 

Creates a new adapter for an object of class 'Logical Bus'.

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.hardwaremodeling.LogicalBus
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createNodeAdapter (  ) 

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

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.hardwaremodeling.Node
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createPowerHardwarePinAdapter (  ) 

Creates a new adapter for an object of class 'Power Hardware Pin'.

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.hardwaremodeling.PowerHardwarePin
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createPowerSupplyAdapter (  ) 

Creates a new adapter for an object of class 'Power Supply'.

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.hardwaremodeling.PowerSupply
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.createSensorAdapter (  ) 

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

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.hardwaremodeling.Sensor
Adapter de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.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
boolean de.fraunhofer.isst.eastadl.hardwaremodeling.util.HardwaremodelingAdapterFactory.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.