public class KdmAdapterFactory
extends AdapterFactoryImpl
createXXX method for each class of the model.
KdmPackage| Constructor and Description |
|---|
KdmAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target. |
Adapter |
createAnnotationAdapter()
Creates a new adapter for an object of class '
Annotation'. |
Adapter |
createAttributeAdapter()
Creates a new adapter for an object of class '
Attribute'. |
Adapter |
createAuditAdapter()
Creates a new adapter for an object of class '
Audit'. |
Adapter |
createElementAdapter()
Creates a new adapter for an object of class '
Element'. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExtendedValueAdapter()
Creates a new adapter for an object of class '
Extended Value'. |
Adapter |
createExtensionFamilyAdapter()
Creates a new adapter for an object of class '
Extension Family'. |
Adapter |
createKDMFrameworkAdapter()
Creates a new adapter for an object of class '
KDM Framework'. |
Adapter |
createKDMModelAdapter()
Creates a new adapter for an object of class '
KDM Model'. |
Adapter |
createModelElementAdapter()
Creates a new adapter for an object of class '
Model Element'. |
Adapter |
createSegmentAdapter()
Creates a new adapter for an object of class '
Segment'. |
Adapter |
createStereotypeAdapter()
Creates a new adapter for an object of class '
Stereotype'. |
Adapter |
createTagDefinitionAdapter()
Creates a new adapter for an object of class '
Tag Definition'. |
Adapter |
createTaggedRefAdapter()
Creates a new adapter for an object of class '
Tagged Ref'. |
Adapter |
createTaggedValueAdapter()
Creates a new adapter for an object of class '
Tagged Value'. |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object.
|
public KdmAdapterFactory()
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 createKDMFrameworkAdapter()
KDM Framework'.
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.
KDMFrameworkpublic Adapter createKDMModelAdapter()
KDM 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.
KDMModelpublic Adapter createSegmentAdapter()
Segment'.
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.
Segmentpublic Adapter createAuditAdapter()
Audit'.
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.
Auditpublic Adapter createStereotypeAdapter()
Stereotype'.
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.
Stereotypepublic Adapter createTagDefinitionAdapter()
Tag Definition'.
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.
TagDefinitionpublic Adapter createExtensionFamilyAdapter()
Extension Family'.
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.
ExtensionFamilypublic Adapter createExtendedValueAdapter()
Extended Value'.
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.
ExtendedValuepublic Adapter createTaggedValueAdapter()
Tagged Value'.
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.
TaggedValuepublic Adapter createTaggedRefAdapter()
Tagged Ref'.
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.
TaggedRefpublic Adapter createAttributeAdapter()
Attribute'.
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.
Attributepublic Adapter createAnnotationAdapter()
Annotation'.
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.
Annotationpublic Adapter createElementAdapter()
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.
Elementpublic Adapter createModelElementAdapter()
Model 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.
ModelElementpublic Adapter createEObjectAdapter()