|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAdapterFactoryImpl
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 |
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 |
createOCLDocumentCSAdapter()
Creates a new adapter for an object of class ' OCL Document 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 |
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(java.lang.Object object)
Returns whether this factory is applicable for the type of the object |
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(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 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.
CSTNode
public 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.
PackageDeclarationCS
public 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.
ContextDeclCS
public 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.
ClassifierContextDeclCS
public 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.
OperationContextDeclCS
public 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.
PrePostOrBodyDeclCS
public 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.
OperationCS
public 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.
InitOrDerValueCS
public 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.
DerValueCS
public 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.
InitValueCS
public 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.
InvOrDefCS
public 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.
InvCS
public 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.
DefCS
public 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.
DefExpressionCS
public 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.
PathNameCS
public 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.
VariableExpCS
public 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.
SimpleNameCS
public 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.
TypeCS
public 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.
PrimitiveTypeCS
public 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.
TupleTypeCS
public 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.
CollectionTypeCS
public 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.
OCLExpressionCS
public 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.
LetExpCS
public 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.
IfExpCS
public 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.
OCLMessageArgCS
public 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.
LiteralExpCS
public 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.
CollectionLiteralExpCS
public 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.
TupleLiteralExpCS
public 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.
PrimitiveLiteralExpCS
public 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.
IntegerLiteralExpCS
public 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.
UnlimitedNaturalLiteralExpCS
public 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.
RealLiteralExpCS
public 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.
StringLiteralExpCS
public 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.
BooleanLiteralExpCS
public 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.
CollectionLiteralPartCS
public 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.
CollectionRangeCS
public 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.
LoopExpCS
public 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.
IteratorExpCS
public 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.
IterateExpCS
public 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.
OperationCallExpCS
public 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.
IsMarkedPreCS
public 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.
PropertyContextCS
public Adapter createOCLDocumentCSAdapter()
OCL Document 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.
OCLDocumentCS
public 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.
MessageExpCS
public 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.
VariableCS
public 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.
NullLiteralExpCS
public 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.
InvalidLiteralExpCS
public 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.
CallExpCS
public 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.
FeatureCallExpCS
public 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 |