public class SpecificationAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model. SpecificationPackage| Constructor and Description |
|---|
SpecificationAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createConsumptionFactorAdapter()
Creates a new adapter for an object of class '
Consumption Factor'. |
Adapter |
createDeclarativePowerModelSpecificationAdapter()
Creates a new adapter for an object of class '
Declarative Power Model Specification'. |
Adapter |
createDistributionPowerModelSpecificationAdapter()
Creates a new adapter for an object of class '
Distribution Power Model Specification'. |
Adapter |
createEntityAdapter()
Creates a new adapter for an object of class '
Entity
'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createFixedFactorAdapter()
Creates a new adapter for an object of class '
Fixed Factor'. |
Adapter |
createIdentifierAdapter()
Creates a new adapter for an object of class '
Identifier'. |
Adapter |
createMeasuredFactorAdapter()
Creates a new adapter for an object of class '
Measured Factor'. |
Adapter |
createNamedElementAdapter()
Creates a new adapter for an object of class '
Named Element'. |
Adapter |
createPowerModelRepositoryAdapter()
Creates a new adapter for an object of class '
Power Model Repository'. |
Adapter |
createPowerModelSpecificationAdapter()
Creates a new adapter for an object of class '
Power Model Specification
'. |
Adapter |
createResourcePowerModelSpecificationAdapter()
Creates a new adapter for an object of class '
Resource Power Model Specification'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNewpublic SpecificationAdapterFactory()
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 createPowerModelRepositoryAdapter()
Power Model 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. PowerModelRepositorypublic Adapter createPowerModelSpecificationAdapter()
Power Model Specification
'. 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.
PowerModelSpecificationpublic Adapter createResourcePowerModelSpecificationAdapter()
Resource Power Model Specification'. 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. ResourcePowerModelSpecificationpublic Adapter createDistributionPowerModelSpecificationAdapter()
Distribution Power Model Specification'. 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. DistributionPowerModelSpecificationpublic Adapter createFixedFactorAdapter()
Fixed Factor'. 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. FixedFactorpublic Adapter createConsumptionFactorAdapter()
Consumption Factor'. 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. ConsumptionFactorpublic Adapter createMeasuredFactorAdapter()
Measured Factor'. 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. MeasuredFactorpublic Adapter createDeclarativePowerModelSpecificationAdapter()
Declarative Power Model Specification'. 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. DeclarativePowerModelSpecificationpublic 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. Identifierpublic Adapter createNamedElementAdapter()
Named 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. NamedElementpublic Adapter createEntityAdapter()
Entity
'. 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.
Entitypublic Adapter createEObjectAdapter()