|
||||||||||
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.
KDMFramework
public 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.
KDMModel
public 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.
Segment
public 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.
Audit
public 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.
Stereotype
public 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.
TagDefinition
public 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.
ExtensionFamily
public 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.
ExtendedValue
public 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.
TaggedValue
public 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.
TaggedRef
public 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.
Attribute
public 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.
Annotation
public 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.
Element
public 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.
ModelElement
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |