public class InfrastructureAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model. InfrastructurePackage| Constructor and Description |
|---|
InfrastructureAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAbstractPowerConsumingResourceAdapter()
Creates a new adapter for an object of class '
Abstract Power Consuming Resource'. |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createEntityAdapter()
Creates a new adapter for an object of class '
Entity
'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createIdentifierAdapter()
Creates a new adapter for an object of class '
Identifier'. |
Adapter |
createMountedPowerDistributionUnitAdapter()
Creates a new adapter for an object of class '
Mounted Power Distribution Unit'. |
Adapter |
createNamedElementAdapter()
Creates a new adapter for an object of class '
Named Element'. |
Adapter |
createPowerConsumingEntityAdapter()
Creates a new adapter for an object of class '
Power Consuming Entity'. |
Adapter |
createPowerConsumingProvidingEntityAdapter()
Creates a new adapter for an object of class '
Power Consuming Providing Entity'. |
Adapter |
createPowerConsumingResourceAdapter()
Creates a new adapter for an object of class '
Power Consuming Resource
'. |
Adapter |
createPowerDistributionUnitAdapter()
Creates a new adapter for an object of class '
Power Distribution Unit'. |
Adapter |
createPowerInfrastructureRepositoryAdapter()
Creates a new adapter for an object of class '
Power Infrastructure Repository'. |
Adapter |
createPowerProvidingEntityAdapter()
Creates a new adapter for an object of class '
Power Providing Entity'. |
Adapter |
createStatefulPowerConsumingResourceAdapter()
Creates a new adapter for an object of class '
Stateful Power Consuming Resource'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNewpublic InfrastructureAdapterFactory()
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 createPowerDistributionUnitAdapter()
Power Distribution Unit'.
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. PowerDistributionUnitpublic Adapter createPowerConsumingProvidingEntityAdapter()
Power Consuming Providing 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. PowerConsumingProvidingEntitypublic Adapter createPowerProvidingEntityAdapter()
Power Providing 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. PowerProvidingEntitypublic Adapter createPowerConsumingEntityAdapter()
Power Consuming 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. PowerConsumingEntitypublic Adapter createMountedPowerDistributionUnitAdapter()
Mounted Power Distribution Unit'. 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. MountedPowerDistributionUnitpublic Adapter createAbstractPowerConsumingResourceAdapter()
Abstract Power Consuming Resource'. 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. AbstractPowerConsumingResourcepublic Adapter createPowerConsumingResourceAdapter()
Power Consuming Resource
'. 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.
PowerConsumingResourcepublic Adapter createPowerInfrastructureRepositoryAdapter()
Power Infrastructure 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. PowerInfrastructureRepositorypublic Adapter createStatefulPowerConsumingResourceAdapter()
Stateful Power Consuming Resource'. 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. StatefulPowerConsumingResourcepublic 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()