public class ExtendedPrefixAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
ExtendedPrefixPackage| Modifier and Type | Field and Description |
|---|---|
protected static ExtendedPrefixPackage |
modelPackage
The cached model package.
|
protected ExtendedPrefixSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
| Constructor and Description |
|---|
ExtendedPrefixAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createAddressAdapter()
Creates a new adapter for an object of class '
Address'. |
Adapter |
createEmployeeInfoAdapter()
Creates a new adapter for an object of class '
Employee Info'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExtendedAddressAdapter()
Creates a new adapter for an object of class '
Extended Address'. |
Adapter |
createExtendedPersonAdapter()
Creates a new adapter for an object of class '
Extended Person'. |
Adapter |
createPersonAdapter()
Creates a new adapter for an object of class '
Person'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
protected static ExtendedPrefixPackage modelPackage
protected ExtendedPrefixSwitch<Adapter> modelSwitch
createXXX methods.
public ExtendedPrefixAdapterFactory()
public boolean isFactoryForType(java.lang.Object object)
true if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target.
target - the object to adapt.target.public Adapter createExtendedAddressAdapter()
Extended Address'.
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.
ExtendedAddresspublic Adapter createExtendedPersonAdapter()
Extended Person'.
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.
ExtendedPersonpublic Adapter createAddressAdapter()
Address'.
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.
org.gecko.emf.osgi.model.test.Addresspublic Adapter createEmployeeInfoAdapter()
Employee Info'.
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.
org.gecko.emf.osgi.model.test.EmployeeInfopublic Adapter createPersonAdapter()
Person'.
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.
org.gecko.emf.osgi.model.test.Personpublic Adapter createEObjectAdapter()
Data In Motion Consulting GmbH