|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.ocl.cst.util.CSTAdapterFactory
public class CSTAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX method for each class of the model.
CSTPackage| Field Summary | |
|---|---|
protected static CSTPackage |
modelPackage
The cached model package |
protected CSTSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods |
| Constructor Summary | |
|---|---|
CSTAdapterFactory()
Creates an instance of the adapter factory |
|
| Method Summary | |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target |
Adapter |
createBooleanLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Boolean Literal Exp CS' |
Adapter |
createCallExpCSAdapter()
Creates a new adapter for an object of class ' Call Exp CS' |
Adapter |
createClassifierContextDeclCSAdapter()
Creates a new adapter for an object of class ' Classifier Context Decl CS' |
Adapter |
createCollectionLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Collection Literal Exp CS' |
Adapter |
createCollectionLiteralPartCSAdapter()
Creates a new adapter for an object of class ' Collection Literal Part CS' |
Adapter |
createCollectionRangeCSAdapter()
Creates a new adapter for an object of class ' Collection Range CS' |
Adapter |
createCollectionTypeCSAdapter()
Creates a new adapter for an object of class ' Collection Type CS' |
Adapter |
createContextDeclCSAdapter()
Creates a new adapter for an object of class ' Context Decl CS' |
Adapter |
createCSTNodeAdapter()
Creates a new adapter for an object of class ' Node' |
Adapter |
createDefCSAdapter()
Creates a new adapter for an object of class ' Def CS' |
Adapter |
createDefExpressionCSAdapter()
Creates a new adapter for an object of class ' Def Expression CS' |
Adapter |
createDerValueCSAdapter()
Creates a new adapter for an object of class ' Der Value CS' |
Adapter |
createEnumLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Enum Literal Exp CS' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case |
Adapter |
createFeatureCallExpCSAdapter()
Creates a new adapter for an object of class ' Feature Call Exp CS' |
Adapter |
createIfExpCSAdapter()
Creates a new adapter for an object of class ' If Exp CS' |
Adapter |
createInitOrDerValueCSAdapter()
Creates a new adapter for an object of class ' Init Or Der Value CS' |
Adapter |
createInitValueCSAdapter()
Creates a new adapter for an object of class ' Init Value CS' |
Adapter |
createIntegerLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Integer Literal Exp CS' |
Adapter |
createInvalidLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Invalid Literal Exp CS' |
Adapter |
createInvCSAdapter()
Creates a new adapter for an object of class ' Inv CS' |
Adapter |
createInvOrDefCSAdapter()
Creates a new adapter for an object of class ' Inv Or Def CS' |
Adapter |
createIsMarkedPreCSAdapter()
Creates a new adapter for an object of class ' Is Marked Pre CS' |
Adapter |
createIterateExpCSAdapter()
Creates a new adapter for an object of class ' Iterate Exp CS' |
Adapter |
createIteratorExpCSAdapter()
Creates a new adapter for an object of class ' Iterator Exp CS' |
Adapter |
createLetExpCSAdapter()
Creates a new adapter for an object of class ' Let Exp CS' |
Adapter |
createLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Literal Exp CS' |
Adapter |
createLoopExpCSAdapter()
Creates a new adapter for an object of class ' Loop Exp CS' |
Adapter |
createMessageExpCSAdapter()
Creates a new adapter for an object of class ' Message Exp CS' |
Adapter |
createNullLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Null Literal Exp CS' |
Adapter |
createOCLExpressionCSAdapter()
Creates a new adapter for an object of class ' OCL Expression CS' |
Adapter |
createOCLMessageArgCSAdapter()
Creates a new adapter for an object of class ' OCL Message Arg CS' |
Adapter |
createOperationCallExpCSAdapter()
Creates a new adapter for an object of class ' Operation Call Exp CS' |
Adapter |
createOperationContextDeclCSAdapter()
Creates a new adapter for an object of class ' Operation Context Decl CS' |
Adapter |
createOperationCSAdapter()
Creates a new adapter for an object of class ' Operation CS' |
Adapter |
createPackageDeclarationCSAdapter()
Creates a new adapter for an object of class ' Package Declaration CS' |
Adapter |
createPathNameCSAdapter()
Creates a new adapter for an object of class ' Path Name CS' |
Adapter |
createPrePostOrBodyDeclCSAdapter()
Creates a new adapter for an object of class ' Pre Post Or Body Decl CS' |
Adapter |
createPrimitiveLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Primitive Literal Exp CS' |
Adapter |
createPrimitiveTypeCSAdapter()
Creates a new adapter for an object of class ' Primitive Type CS' |
Adapter |
createPropertyContextCSAdapter()
Creates a new adapter for an object of class ' Property Context CS' |
Adapter |
createRealLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Real Literal Exp CS' |
Adapter |
createSimpleNameCSAdapter()
Creates a new adapter for an object of class ' Simple Name CS' |
Adapter |
createStateExpCSAdapter()
Creates a new adapter for an object of class ' State Exp CS' |
Adapter |
createStringLiteralExpCSAdapter()
Creates a new adapter for an object of class ' String Literal Exp CS' |
Adapter |
createTupleLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Tuple Literal Exp CS' |
Adapter |
createTupleTypeCSAdapter()
Creates a new adapter for an object of class ' Tuple Type CS' |
Adapter |
createTypeCSAdapter()
Creates a new adapter for an object of class ' Type CS' |
Adapter |
createUnlimitedNaturalLiteralExpCSAdapter()
Creates a new adapter for an object of class ' Unlimited Natural Literal Exp CS' |
Adapter |
createVariableCSAdapter()
Creates a new adapter for an object of class ' Variable CS' |
Adapter |
createVariableExpCSAdapter()
Creates a new adapter for an object of class ' Variable Exp CS' |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static CSTPackage modelPackage
protected CSTSwitch<Adapter> modelSwitch
createXXX methods.
| Constructor Detail |
|---|
public CSTAdapterFactory()
| Method Detail |
|---|
public boolean isFactoryForType(Object object)
true if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.
target.public Adapter createCSTNodeAdapter()
Node'.
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.
CSTNodepublic Adapter createPackageDeclarationCSAdapter()
Package Declaration CS'.
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.
PackageDeclarationCSpublic Adapter createContextDeclCSAdapter()
Context Decl CS'.
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.
ContextDeclCSpublic Adapter createClassifierContextDeclCSAdapter()
Classifier Context Decl CS'.
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.
ClassifierContextDeclCSpublic Adapter createOperationContextDeclCSAdapter()
Operation Context Decl CS'.
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.
OperationContextDeclCSpublic Adapter createPrePostOrBodyDeclCSAdapter()
Pre Post Or Body Decl CS'.
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.
PrePostOrBodyDeclCSpublic Adapter createOperationCSAdapter()
Operation CS'.
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.
OperationCSpublic Adapter createInitOrDerValueCSAdapter()
Init Or Der Value CS'.
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.
InitOrDerValueCSpublic Adapter createDerValueCSAdapter()
Der Value CS'.
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.
DerValueCSpublic Adapter createInitValueCSAdapter()
Init Value CS'.
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.
InitValueCSpublic Adapter createInvOrDefCSAdapter()
Inv Or Def CS'.
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.
InvOrDefCSpublic Adapter createInvCSAdapter()
Inv CS'.
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.
InvCSpublic Adapter createDefCSAdapter()
Def CS'.
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.
DefCSpublic Adapter createDefExpressionCSAdapter()
Def Expression CS'.
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.
DefExpressionCSpublic Adapter createPathNameCSAdapter()
Path Name CS'.
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.
PathNameCSpublic Adapter createVariableExpCSAdapter()
Variable Exp CS'.
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.
VariableExpCSpublic Adapter createSimpleNameCSAdapter()
Simple Name CS'.
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.
SimpleNameCSpublic Adapter createTypeCSAdapter()
Type CS'.
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.
TypeCSpublic Adapter createPrimitiveTypeCSAdapter()
Primitive Type CS'.
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.
PrimitiveTypeCSpublic Adapter createTupleTypeCSAdapter()
Tuple Type CS'.
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.
TupleTypeCSpublic Adapter createCollectionTypeCSAdapter()
Collection Type CS'.
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.
CollectionTypeCSpublic Adapter createOCLExpressionCSAdapter()
OCL Expression CS'.
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.
OCLExpressionCSpublic Adapter createLetExpCSAdapter()
Let Exp CS'.
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.
LetExpCSpublic Adapter createIfExpCSAdapter()
If Exp CS'.
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.
IfExpCSpublic Adapter createOCLMessageArgCSAdapter()
OCL Message Arg CS'.
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.
OCLMessageArgCSpublic Adapter createLiteralExpCSAdapter()
Literal Exp CS'.
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.
LiteralExpCSpublic Adapter createEnumLiteralExpCSAdapter()
Enum Literal Exp CS'.
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.
EnumLiteralExpCSpublic Adapter createCollectionLiteralExpCSAdapter()
Collection Literal Exp CS'.
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.
CollectionLiteralExpCSpublic Adapter createTupleLiteralExpCSAdapter()
Tuple Literal Exp CS'.
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.
TupleLiteralExpCSpublic Adapter createPrimitiveLiteralExpCSAdapter()
Primitive Literal Exp CS'.
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.
PrimitiveLiteralExpCSpublic Adapter createIntegerLiteralExpCSAdapter()
Integer Literal Exp CS'.
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.
IntegerLiteralExpCSpublic Adapter createUnlimitedNaturalLiteralExpCSAdapter()
Unlimited Natural Literal Exp CS'.
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.
UnlimitedNaturalLiteralExpCSpublic Adapter createRealLiteralExpCSAdapter()
Real Literal Exp CS'.
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.
RealLiteralExpCSpublic Adapter createStringLiteralExpCSAdapter()
String Literal Exp CS'.
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.
StringLiteralExpCSpublic Adapter createBooleanLiteralExpCSAdapter()
Boolean Literal Exp CS'.
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.
BooleanLiteralExpCSpublic Adapter createCollectionLiteralPartCSAdapter()
Collection Literal Part CS'.
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.
CollectionLiteralPartCSpublic Adapter createCollectionRangeCSAdapter()
Collection Range CS'.
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.
CollectionRangeCSpublic Adapter createLoopExpCSAdapter()
Loop Exp CS'.
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.
LoopExpCSpublic Adapter createIteratorExpCSAdapter()
Iterator Exp CS'.
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.
IteratorExpCSpublic Adapter createIterateExpCSAdapter()
Iterate Exp CS'.
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.
IterateExpCSpublic Adapter createOperationCallExpCSAdapter()
Operation Call Exp CS'.
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.
OperationCallExpCSpublic Adapter createIsMarkedPreCSAdapter()
Is Marked Pre CS'.
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.
IsMarkedPreCSpublic Adapter createPropertyContextCSAdapter()
Property Context CS'.
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.
PropertyContextCSpublic Adapter createStateExpCSAdapter()
State Exp CS'.
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.
StateExpCSpublic Adapter createMessageExpCSAdapter()
Message Exp CS'.
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.
MessageExpCSpublic Adapter createVariableCSAdapter()
Variable CS'.
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.
VariableCSpublic Adapter createNullLiteralExpCSAdapter()
Null Literal Exp CS'.
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.
NullLiteralExpCSpublic Adapter createInvalidLiteralExpCSAdapter()
Invalid Literal Exp CS'.
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.
InvalidLiteralExpCSpublic Adapter createCallExpCSAdapter()
Call Exp CS'.
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.
CallExpCSpublic Adapter createFeatureCallExpCSAdapter()
Feature Call Exp CS'.
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.
FeatureCallExpCSpublic Adapter createEObjectAdapter()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||