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.
BoundedInteger
public 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.
Integer
public 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.
Collection
public 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.
Collections
public 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.
FixedPoint
public 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.
Real
public 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.
FloatingPoint
public 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.
Validation
public 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.
Validations
public Adapter createEObjectAdapter()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.