public class PhysicalAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model. PhysicalPackageImpl| Constructor and Description |
|---|
PhysicalAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createIdentifierAdapter()
Creates a new adapter for an object of class '
Identifier'. |
Adapter |
createInterconnectMeasurementAdapter()
Creates a new adapter for an object of class '
Interconnect Measurement'. |
Adapter |
createMemoryMeasurementAdapter()
Creates a new adapter for an object of class '
Memory Measurement'. |
Adapter |
createPhysicalLoadModelAdapter()
Creates a new adapter for an object of class '
Load Model'. |
Adapter |
createPowerConsumingEntityMeasurementAdapter()
Creates a new adapter for an object of class '
Power Consuming Entity Measurement'. |
Adapter |
createPuMeasurementAdapter()
Creates a new adapter for an object of class '
Pu Measurement'. |
Adapter |
createStorageMeasurementAdapter()
Creates a new adapter for an object of class '
Storage Measurement'. |
Adapter |
createUtilizationAdapter()
Creates a new adapter for an object of class '
Utilization'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNewpublic static final String copyright
public PhysicalAdapterFactory()
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 createPuMeasurementAdapter()
Pu 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.
PuMeasurementpublic Adapter createPhysicalLoadModelAdapter()
Load 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.
PhysicalLoadModelpublic Adapter createMemoryMeasurementAdapter()
Memory 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. MemoryMeasurementpublic Adapter createStorageMeasurementAdapter()
Storage 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. StorageMeasurementpublic Adapter createInterconnectMeasurementAdapter()
Interconnect 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. InterconnectMeasurementpublic Adapter createPowerConsumingEntityMeasurementAdapter()
Power Consuming Entity 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. PowerConsumingEntityMeasurementpublic Adapter createUtilizationAdapter()
Utilization'.
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. Utilizationpublic 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 createEObjectAdapter()