Public Member Functions | Protected Attributes | Static Protected Attributes

de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory Class Reference

List of all members.

Public Member Functions

Adapter createAdapter (Notifier target)
Adapter createBindingTimeAdapter ()
Adapter createContextAdapter ()
Adapter createEAElementAdapter ()
Adapter createEAPackageableElementAdapter ()
Adapter createEObjectAdapter ()
Adapter createFeatureAdapter ()
Adapter createFeatureConstraintAdapter ()
Adapter createFeatureGroupAdapter ()
Adapter createFeatureLinkAdapter ()
Adapter createFeatureModelAdapter ()
Adapter createFeatureTreeNodeAdapter ()
Adapter createIdentifiableAdapter ()
Adapter createRelationshipAdapter ()
Adapter createUserAttributeableElementAdapter ()
 FeaturemodelingAdapterFactory ()
boolean isFactoryForType (Object object)

Protected Attributes

FeaturemodelingSwitch< Adapter > modelSwitch

Static Protected Attributes

static FeaturemodelingPackage 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.featuremodeling.FeaturemodelingPackage

Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.FeaturemodelingAdapterFactory (  ) 

Creates an instance of the adapter factory.


Member Function Documentation

Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.createBindingTimeAdapter (  ) 

Creates a new adapter for an object of class 'Binding Time'.

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.featuremodeling.BindingTime
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.createEObjectAdapter (  ) 

Creates a new adapter for the default case.

This default implementation returns null.

Returns:
the new adapter.
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureAdapter (  ) 

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

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.featuremodeling.Feature
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureConstraintAdapter (  ) 

Creates a new adapter for an object of class 'Feature Constraint'.

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.featuremodeling.FeatureConstraint
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureGroupAdapter (  ) 

Creates a new adapter for an object of class 'Feature 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.featuremodeling.FeatureGroup
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureLinkAdapter (  ) 

Creates a new adapter for an object of class 'Feature Link'.

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.featuremodeling.FeatureLink
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureModelAdapter (  ) 

Creates a new adapter for an object of class 'Feature 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.featuremodeling.FeatureModel
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.createFeatureTreeNodeAdapter (  ) 

Creates a new adapter for an object of class 'Feature Tree 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.featuremodeling.FeatureTreeNode
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.createRelationshipAdapter (  ) 

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:
de.fraunhofer.isst.eastadl.elements.Relationship
Adapter de.fraunhofer.isst.eastadl.featuremodeling.util.FeaturemodelingAdapterFactory.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.featuremodeling.util.FeaturemodelingAdapterFactory.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.