public class MetricSpecAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model. MetricSpecPackage
Constructor and Description |
---|
MetricSpecAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createAggregationFunctionDescriptionAdapter()
Creates a new adapter for an object of class '
Aggregation Function Description '. |
Adapter |
createBaseMetricDescriptionAdapter()
Creates a new adapter for an object of class '
Base Metric Description '. |
Adapter |
createDescriptionAdapter()
Creates a new adapter for an object of class '
Description '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createIdentifier_IdentifierAdapter()
Creates a new adapter for an object of class '
Identifier '. |
Adapter |
createIdentifierAdapter()
Creates a new adapter for an object of class '
Identifier '. |
Adapter |
createIJSQuantityAdapter()
Creates a new adapter for an object of class '
IJS Quantity '. |
Adapter |
createMetricDescriptionAdapter()
Creates a new adapter for an object of class '
Metric Description '. |
Adapter |
createMetricDescriptionRepositoryAdapter()
Creates a new adapter for an object of class '
Metric Description Repository '. |
Adapter |
createMetricSetDescriptionAdapter()
Creates a new adapter for an object of class '
Metric Set Description
'. |
Adapter |
createNumericalBaseMetricDescriptionAdapter()
Creates a new adapter for an object of class '
Numerical Base Metric Description '. |
Adapter |
createTextualBaseMetricDescriptionAdapter()
Creates a new adapter for an object of class '
Textual Base Metric Description '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew
public MetricSpecAdapterFactory()
public boolean isFactoryForType(Object object)
true
if the object is either the model's package
or is an instance object of the model. isFactoryForType
in interface AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
. createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.target
.public Adapter createIdentifierAdapter()
Identifier
'. 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. Identifier
public Adapter createTextualBaseMetricDescriptionAdapter()
Textual Base Metric Description
'. 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. TextualBaseMetricDescription
public Adapter createBaseMetricDescriptionAdapter()
Base Metric Description
'. 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. BaseMetricDescription
public Adapter createMetricDescriptionAdapter()
Metric Description
'. 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. MetricDescription
public Adapter createDescriptionAdapter()
Description
'. 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. Description
public Adapter createAggregationFunctionDescriptionAdapter()
Aggregation Function Description
'. 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. AggregationFunctionDescription
public Adapter createMetricSetDescriptionAdapter()
Metric Set Description
'. 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.
MetricSetDescription
public Adapter createNumericalBaseMetricDescriptionAdapter()
Numerical Base Metric Description
'. 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. NumericalBaseMetricDescription
public Adapter createIJSQuantityAdapter()
IJS Quantity
'. 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. Quantity
public Adapter createMetricDescriptionRepositoryAdapter()
Metric Description Repository
'. 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. MetricDescriptionRepository
public Adapter createIdentifier_IdentifierAdapter()
Identifier
'. 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. Identifier
public Adapter createEObjectAdapter()