public class OCLforUMLAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
OCLforUMLPackage| Constructor and Description |
|---|
OCLforUMLAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createBoundedIntegerAdapter()
Creates a new adapter for an object of class '
Bounded Integer'. |
Adapter |
createCollectionAdapter()
Creates a new adapter for an object of class '
Collection'. |
Adapter |
createCollectionsAdapter()
Creates a new adapter for an object of class '
Collections'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createFixedPointAdapter()
Creates a new adapter for an object of class '
Fixed Point'. |
Adapter |
createFloatingPointAdapter()
Creates a new adapter for an object of class '
Floating Point'. |
Adapter |
createIntegerAdapter()
Creates a new adapter for an object of class '
Integer'. |
Adapter |
createRealAdapter()
Creates a new adapter for an object of class '
Real'. |
Adapter |
createValidationAdapter()
Creates a new adapter for an object of class '
Validation'. |
Adapter |
createValidationsAdapter()
Creates a new adapter for an object of class '
Validations'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
public OCLforUMLAdapterFactory()
public boolean isFactoryForType(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 createBoundedIntegerAdapter()
Bounded Integer'.
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.
BoundedIntegerpublic Adapter createIntegerAdapter()
Integer'.
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.
Integerpublic Adapter createCollectionAdapter()
Collection'.
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.
Collectionpublic Adapter createCollectionsAdapter()
Collections'.
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.
Collectionspublic Adapter createFixedPointAdapter()
Fixed Point'.
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.
FixedPointpublic Adapter createRealAdapter()
Real'.
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.
Realpublic Adapter createFloatingPointAdapter()
Floating Point'.
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.
FloatingPointpublic Adapter createValidationAdapter()
Validation'.
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.
Validationpublic Adapter createValidationsAdapter()
Validations'.
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.
Validationspublic Adapter createEObjectAdapter()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.