public class ExpressionsAdapterFactory extends AdapterFactoryImpl
createXXX
method for each class of the model.
ExpressionsPackage
Modifier and Type | Field and Description |
---|---|
protected static ExpressionsPackage |
modelPackage
The cached model package.
|
protected ExpressionsSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods. |
Constructor and Description |
---|
ExpressionsAdapterFactory()
Creates an instance of the adapter factory.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAccessAdapter()
Creates a new adapter for an object of class '
Access '. |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target . |
Adapter |
createBooleanValueAdapter()
Creates a new adapter for an object of class '
Boolean Value '. |
Adapter |
createByteValueAdapter()
Creates a new adapter for an object of class '
Byte Value '. |
Adapter |
createCharValueAdapter()
Creates a new adapter for an object of class '
Char Value '. |
Adapter |
createContainedObjectAdapter()
Creates a new adapter for an object of class '
Contained Object '. |
Adapter |
createContextAccessAdapter()
Creates a new adapter for an object of class '
Context Access '. |
Adapter |
createDoubleValueAdapter()
Creates a new adapter for an object of class '
Double Value '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
Adapter |
createExpressionAdapter()
Creates a new adapter for an object of class '
Expression '. |
Adapter |
createFloatValueAdapter()
Creates a new adapter for an object of class '
Float Value '. |
Adapter |
createFunctionInvocationAdapter()
Creates a new adapter for an object of class '
Function Invocation '. |
Adapter |
createIntValueAdapter()
Creates a new adapter for an object of class '
Int Value '. |
Adapter |
createInvocationAdapter()
Creates a new adapter for an object of class '
Invocation '. |
Adapter |
createLinkedExpressionAdapter()
Creates a new adapter for an object of class '
Linked Expression '. |
Adapter |
createLinkedObjectAdapter()
Creates a new adapter for an object of class '
Linked Object '. |
Adapter |
createListConstructionAdapter()
Creates a new adapter for an object of class '
List Construction '. |
Adapter |
createLongValueAdapter()
Creates a new adapter for an object of class '
Long Value '. |
Adapter |
createMemberAccessAdapter()
Creates a new adapter for an object of class '
Member Access '. |
Adapter |
createMemberInvocationAdapter()
Creates a new adapter for an object of class '
Member Invocation '. |
Adapter |
createShortValueAdapter()
Creates a new adapter for an object of class '
Short Value '. |
Adapter |
createStaticAccessAdapter()
Creates a new adapter for an object of class '
Static Access '. |
Adapter |
createStringValueAdapter()
Creates a new adapter for an object of class '
String Value '. |
Adapter |
createValueAdapter()
Creates a new adapter for an object of class '
Value '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
protected static ExpressionsPackage modelPackage
protected ExpressionsSwitch<Adapter> modelSwitch
createXXX
methods.
public ExpressionsAdapterFactory()
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 AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- the object to adapt.target
.public Adapter createExpressionAdapter()
Expression
'.
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.
Expression
public Adapter createValueAdapter()
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.
Value
public Adapter createBooleanValueAdapter()
Boolean 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.
BooleanValue
public Adapter createByteValueAdapter()
Byte 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.
ByteValue
public Adapter createShortValueAdapter()
Short 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.
ShortValue
public Adapter createIntValueAdapter()
Int 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.
IntValue
public Adapter createLongValueAdapter()
Long 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.
LongValue
public Adapter createFloatValueAdapter()
Float 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.
FloatValue
public Adapter createDoubleValueAdapter()
Double 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.
DoubleValue
public Adapter createCharValueAdapter()
Char 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.
CharValue
public Adapter createStringValueAdapter()
String 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.
StringValue
public Adapter createInvocationAdapter()
Invocation
'.
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.
Invocation
public Adapter createFunctionInvocationAdapter()
Function Invocation
'.
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.
FunctionInvocation
public Adapter createMemberInvocationAdapter()
Member Invocation
'.
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.
MemberInvocation
public Adapter createAccessAdapter()
Access
'.
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.
Access
public Adapter createStaticAccessAdapter()
Static Access
'.
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.
StaticAccess
public Adapter createMemberAccessAdapter()
Member Access
'.
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.
MemberAccess
public Adapter createContextAccessAdapter()
Context Access
'.
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.
ContextAccess
public Adapter createContainedObjectAdapter()
Contained Object
'.
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.
ContainedObject
public Adapter createLinkedObjectAdapter()
Linked Object
'.
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.
LinkedObject
public Adapter createLinkedExpressionAdapter()
Linked Expression
'.
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.
LinkedExpression
public Adapter createListConstructionAdapter()
List Construction
'.
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.
ListConstruction
public Adapter createEObjectAdapter()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html