public class MetricDSLAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model.
MetricDSLPackage| Constructor and Description |
|---|
MetricDSLAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createBoundAndWeightAdapter()
Creates a new adapter for an object of class '
Bound And Weight'. |
Adapter |
createConstantAdapter()
Creates a new adapter for an object of class '
Constant'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExternalMetricAdapter()
Creates a new adapter for an object of class '
External Metric'. |
Adapter |
createInternalMetricAdapter()
Creates a new adapter for an object of class '
Internal Metric'. |
Adapter |
createMetricAdapter()
Creates a new adapter for an object of class '
Metric'. |
Adapter |
createMetricAndWeightAdapter()
Creates a new adapter for an object of class '
Metric And Weight'. |
Adapter |
createMetricDefinitionAdapter()
Creates a new adapter for an object of class '
Metric Definition'. |
Adapter |
createMetricModelAdapter()
Creates a new adapter for an object of class '
Metric Model'. |
Adapter |
createNumberAdapter()
Creates a new adapter for an object of class '
Number'. |
Adapter |
createParameterAdapter()
Creates a new adapter for an object of class '
Parameter'. |
Adapter |
createRatioMetricAdapter()
Creates a new adapter for an object of class '
Ratio Metric'. |
Adapter |
createStepwiseMetricAdapter()
Creates a new adapter for an object of class '
Stepwise Metric'. |
Adapter |
createWeightedMetricAdapter()
Creates a new adapter for an object of class '
Weighted Metric'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNewpublic MetricDSLAdapterFactory()
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 AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.target.public Adapter createMetricModelAdapter()
Metric 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.
MetricModelpublic Adapter createMetricAdapter()
Metric'.
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.
Metricpublic Adapter createExternalMetricAdapter()
External Metric'.
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.
ExternalMetricpublic Adapter createInternalMetricAdapter()
Internal Metric'.
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.
InternalMetricpublic Adapter createNumberAdapter()
Number'.
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.
Numberpublic Adapter createParameterAdapter()
Parameter'.
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.
Parameterpublic Adapter createConstantAdapter()
Constant'.
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.
Constantpublic Adapter createMetricDefinitionAdapter()
Metric Definition'.
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.
MetricDefinitionpublic Adapter createWeightedMetricAdapter()
Weighted Metric'.
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.
WeightedMetricpublic Adapter createStepwiseMetricAdapter()
Stepwise Metric'.
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.
StepwiseMetricpublic Adapter createRatioMetricAdapter()
Ratio Metric'.
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.
RatioMetricpublic Adapter createBoundAndWeightAdapter()
Bound And Weight'.
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.
BoundAndWeightpublic Adapter createMetricAndWeightAdapter()
Metric And Weight'.
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.
MetricAndWeightpublic Adapter createEObjectAdapter()