org.eclipse.gmt.modisco.omg.smm.util
Class SmmAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.gmt.modisco.omg.smm.util.SmmAdapterFactory

public class SmmAdapterFactory
extends AdapterFactoryImpl

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

See Also:
SmmPackage
Generated:

Constructor Summary
SmmAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAggregatedMeasurementAdapter()
          Creates a new adapter for an object of class 'Aggregated Measurement'.
 Adapter createAnnotationAdapter()
          Creates a new adapter for an object of class 'Annotation'.
 Adapter createAttributeAdapter()
          Creates a new adapter for an object of class 'Attribute'.
 Adapter createBinaryMeasureAdapter()
          Creates a new adapter for an object of class 'Binary Measure'.
 Adapter createCategoryAdapter()
          Creates a new adapter for an object of class 'Category'.
 Adapter createCategoryRelationshipAdapter()
          Creates a new adapter for an object of class 'Category Relationship'.
 Adapter createCharacteristicAdapter()
          Creates a new adapter for an object of class 'Characteristic'.
 Adapter createCollectiveMeasureAdapter()
          Creates a new adapter for an object of class 'Collective Measure'.
 Adapter createCollectiveMeasurementAdapter()
          Creates a new adapter for an object of class 'Collective Measurement'.
 Adapter createCountAdapter()
          Creates a new adapter for an object of class 'Count'.
 Adapter createCountingAdapter()
          Creates a new adapter for an object of class 'Counting'.
 Adapter createDimensionalMeasureAdapter()
          Creates a new adapter for an object of class 'Dimensional Measure'.
 Adapter createDimensionalMeasurementAdapter()
          Creates a new adapter for an object of class 'Dimensional Measurement'.
 Adapter createDirectMeasureAdapter()
          Creates a new adapter for an object of class 'Direct Measure'.
 Adapter createDirectMeasurementAdapter()
          Creates a new adapter for an object of class 'Direct Measurement'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createGradeAdapter()
          Creates a new adapter for an object of class 'Grade'.
 Adapter createMeasureAdapter()
          Creates a new adapter for an object of class 'Measure'.
 Adapter createMeasurementAdapter()
          Creates a new adapter for an object of class 'Measurement'.
 Adapter createMeasurementRelationshipAdapter()
          Creates a new adapter for an object of class 'Measurement Relationship'.
 Adapter createMeasureRelationshipAdapter()
          Creates a new adapter for an object of class 'Measure Relationship'.
 Adapter createNamedMeasureAdapter()
          Creates a new adapter for an object of class 'Named Measure'.
 Adapter createNamedMeasurementAdapter()
          Creates a new adapter for an object of class 'Named Measurement'.
 Adapter createObservationAdapter()
          Creates a new adapter for an object of class 'Observation'.
 Adapter createRankingAdapter()
          Creates a new adapter for an object of class 'Ranking'.
 Adapter createRankingIntervalAdapter()
          Creates a new adapter for an object of class 'Ranking Interval'.
 Adapter createRatioMeasureAdapter()
          Creates a new adapter for an object of class 'Ratio Measure'.
 Adapter createRescaledMeasureAdapter()
          Creates a new adapter for an object of class 'Rescaled Measure'.
 Adapter createReScaledMeasurementAdapter()
          Creates a new adapter for an object of class 'Re Scaled Measurement'.
 Adapter createScopeAdapter()
          Creates a new adapter for an object of class 'Scope'.
 Adapter createSmmElementAdapter()
          Creates a new adapter for an object of class 'Element'.
 Adapter createSmmModelAdapter()
          Creates a new adapter for an object of class 'Model'.
 Adapter createSmmRelationshipAdapter()
          Creates a new adapter for an object of class 'Relationship'.
 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

SmmAdapterFactory

public SmmAdapterFactory()
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:

createSmmElementAdapter

public Adapter createSmmElementAdapter()
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:
SmmElement
Generated:

createSmmModelAdapter

public Adapter createSmmModelAdapter()
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:
SmmModel
Generated:

createSmmRelationshipAdapter

public Adapter createSmmRelationshipAdapter()
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:
SmmRelationship
Generated:

createCategoryRelationshipAdapter

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

createCategoryAdapter

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

createMeasureAdapter

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

createMeasurementAdapter

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

createObservationAdapter

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

createMeasureRelationshipAdapter

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

createDimensionalMeasureAdapter

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

createRankingAdapter

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

createRankingIntervalAdapter

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

createCharacteristicAdapter

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

createScopeAdapter

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

createBinaryMeasureAdapter

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

createDirectMeasureAdapter

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

createCollectiveMeasureAdapter

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

createNamedMeasureAdapter

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

createRescaledMeasureAdapter

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

createRatioMeasureAdapter

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

createCountingAdapter

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

createDimensionalMeasurementAdapter

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

createGradeAdapter

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

createMeasurementRelationshipAdapter

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

createDirectMeasurementAdapter

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

createCountAdapter

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

createCollectiveMeasurementAdapter

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

createAggregatedMeasurementAdapter

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

createNamedMeasurementAdapter

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

createReScaledMeasurementAdapter

public Adapter createReScaledMeasurementAdapter()
Creates a new adapter for an object of class 'Re Scaled Measurement'. 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:
ReScaledMeasurement
Generated:

createAttributeAdapter

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

createAnnotationAdapter

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

createEObjectAdapter

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

Returns:
the new adapter.
Generated: