|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAdapterFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.kdm.util.KdmAdapterFactory
public class KdmAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX method for each class of the model.
KdmPackage| Constructor Summary | |
|---|---|
KdmAdapterFactory()
Creates an instance of the adapter factory. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KdmAdapterFactory()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||