org.eclipse.mofscript.MOFScriptModel.util
Class MOFScriptModelAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.mofscript.MOFScriptModel.util.MOFScriptModelAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class MOFScriptModelAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
MOFScriptModelPackage

Field Summary
static java.lang.String copyright
           
protected static MOFScriptModelPackage modelPackage
          The cached model package
protected  MOFScriptModelSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods
 
Constructor Summary
MOFScriptModelAdapterFactory()
          Creates an instance of the adapter factory
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target
 org.eclipse.emf.common.notify.Adapter createAdviceAdapter()
          Creates a new adapter for an object of class 'Advice'
 org.eclipse.emf.common.notify.Adapter createArithmeticExpressionAdapter()
          Creates a new adapter for an object of class 'Arithmetic Expression'
 org.eclipse.emf.common.notify.Adapter createBreakStatementAdapter()
          Creates a new adapter for an object of class 'Break Statement'
 org.eclipse.emf.common.notify.Adapter createComparisonExpressionAdapter()
          Creates a new adapter for an object of class 'Comparison Expression'
 org.eclipse.emf.common.notify.Adapter createCreateExpressionAdapter()
          Creates a new adapter for an object of class 'Create Expression'
 org.eclipse.emf.common.notify.Adapter createCreateExpressionParameterAdapter()
          Creates a new adapter for an object of class 'Create Expression Parameter'
 org.eclipse.emf.common.notify.Adapter createCreateStatementAdapter()
          Creates a new adapter for an object of class 'Create Statement'
 org.eclipse.emf.common.notify.Adapter createDebugStatementAdapter()
          Creates a new adapter for an object of class 'Debug Statement'
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 org.eclipse.emf.common.notify.Adapter createExpressionAdapter()
          Creates a new adapter for an object of class 'Expression'
 org.eclipse.emf.common.notify.Adapter createFileStatementAdapter()
          Creates a new adapter for an object of class 'File Statement'
 org.eclipse.emf.common.notify.Adapter createFunctionCallAdapter()
          Creates a new adapter for an object of class 'Function Call'
 org.eclipse.emf.common.notify.Adapter createFunctionCallStatementAdapter()
          Creates a new adapter for an object of class 'Function Call Statement'
 org.eclipse.emf.common.notify.Adapter createGeneralAssignmentAdapter()
          Creates a new adapter for an object of class 'General Assignment'
 org.eclipse.emf.common.notify.Adapter createIfStatementAdapter()
          Creates a new adapter for an object of class 'If Statement'
 org.eclipse.emf.common.notify.Adapter createIteratorStatementAdapter()
          Creates a new adapter for an object of class 'Iterator Statement'
 org.eclipse.emf.common.notify.Adapter createLiteralAdapter()
          Creates a new adapter for an object of class 'Literal'
 org.eclipse.emf.common.notify.Adapter createLogicalExpressionAdapter()
          Creates a new adapter for an object of class 'Logical Expression'
 org.eclipse.emf.common.notify.Adapter createM2MTraceAdapter()
          Creates a new adapter for an object of class 'M2M Trace'
 org.eclipse.emf.common.notify.Adapter createMOFScriptAspectAdapter()
          Creates a new adapter for an object of class 'MOF Script Aspect'
 org.eclipse.emf.common.notify.Adapter createMOFScriptCommentAdapter()
          Creates a new adapter for an object of class 'MOF Script Comment'
 org.eclipse.emf.common.notify.Adapter createMOFScriptImportAdapter()
          Creates a new adapter for an object of class 'MOF Script Import'
 org.eclipse.emf.common.notify.Adapter createMOFScriptObjectAdapter()
          Creates a new adapter for an object of class 'MOF Script Object'
 org.eclipse.emf.common.notify.Adapter createMOFScriptParameterAdapter()
          Creates a new adapter for an object of class 'MOF Script Parameter'
 org.eclipse.emf.common.notify.Adapter createMOFScriptSpecificationAdapter()
          Creates a new adapter for an object of class 'MOF Script Specification'
 org.eclipse.emf.common.notify.Adapter createMOFScriptStatementAdapter()
          Creates a new adapter for an object of class 'MOF Script Statement'
 org.eclipse.emf.common.notify.Adapter createMOFScriptStatementOwnerAdapter()
          Creates a new adapter for an object of class 'MOF Script Statement Owner'
 org.eclipse.emf.common.notify.Adapter createMOFScriptTransformationAdapter()
          Creates a new adapter for an object of class 'MOF Script Transformation'
 org.eclipse.emf.common.notify.Adapter createPointCutAdapter()
          Creates a new adapter for an object of class 'Point Cut'
 org.eclipse.emf.common.notify.Adapter createPointCutExpressionAdapter()
          Creates a new adapter for an object of class 'Point Cut Expression'
 org.eclipse.emf.common.notify.Adapter createPrintStatementAdapter()
          Creates a new adapter for an object of class 'Print Statement'
 org.eclipse.emf.common.notify.Adapter createReferenceAdapter()
          Creates a new adapter for an object of class 'Reference'
 org.eclipse.emf.common.notify.Adapter createResultAssignmentAdapter()
          Creates a new adapter for an object of class 'Result Assignment'
 org.eclipse.emf.common.notify.Adapter createReturnStatementAdapter()
          Creates a new adapter for an object of class 'Return Statement'
 org.eclipse.emf.common.notify.Adapter createSelectExpressionAdapter()
          Creates a new adapter for an object of class 'Select Expression'
 org.eclipse.emf.common.notify.Adapter createSimpleExpressionAdapter()
          Creates a new adapter for an object of class 'Simple Expression'
 org.eclipse.emf.common.notify.Adapter createStatementBlockAdapter()
          Creates a new adapter for an object of class 'Statement Block'
 org.eclipse.emf.common.notify.Adapter createTraceAdapter()
          Creates a new adapter for an object of class 'Trace'
 org.eclipse.emf.common.notify.Adapter createTransformationRuleAdapter()
          Creates a new adapter for an object of class 'Transformation Rule'
 org.eclipse.emf.common.notify.Adapter createValueExpressionAdapter()
          Creates a new adapter for an object of class 'Value Expression'
 org.eclipse.emf.common.notify.Adapter createVariableDeclarationAdapter()
          Creates a new adapter for an object of class 'Variable Declaration'
 org.eclipse.emf.common.notify.Adapter createVariableDeclarationStatementAdapter()
          Creates a new adapter for an object of class 'Variable Declaration Statement'
 org.eclipse.emf.common.notify.Adapter createWhileStatementAdapter()
          Creates a new adapter for an object of class 'While Statement'
 boolean isFactoryForType(java.lang.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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

modelPackage

protected static MOFScriptModelPackage modelPackage
The cached model package.


modelSwitch

protected MOFScriptModelSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Constructor Detail

MOFScriptModelAdapterFactory

public MOFScriptModelAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.

Specified by:
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
Overrides:
isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.

createAdapter

public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createTransformationRuleAdapter

public org.eclipse.emf.common.notify.Adapter createTransformationRuleAdapter()
Creates a new adapter for an object of class 'Transformation Rule'. 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.

Returns:
the new adapter.
See Also:
TransformationRule

createMOFScriptStatementOwnerAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptStatementOwnerAdapter()
Creates a new adapter for an object of class 'MOF Script Statement Owner'. 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.

Returns:
the new adapter.
See Also:
MOFScriptStatementOwner

createMOFScriptObjectAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptObjectAdapter()
Creates a new adapter for an object of class 'MOF Script 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.

Returns:
the new adapter.
See Also:
MOFScriptObject

createMOFScriptCommentAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptCommentAdapter()
Creates a new adapter for an object of class 'MOF Script Comment'. 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.

Returns:
the new adapter.
See Also:
MOFScriptComment

createMOFScriptStatementAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptStatementAdapter()
Creates a new adapter for an object of class 'MOF Script Statement'. 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.

Returns:
the new adapter.
See Also:
MOFScriptStatement

createVariableDeclarationAdapter

public org.eclipse.emf.common.notify.Adapter createVariableDeclarationAdapter()
Creates a new adapter for an object of class 'Variable Declaration'. 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.

Returns:
the new adapter.
See Also:
VariableDeclaration

createValueExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createValueExpressionAdapter()
Creates a new adapter for an object of class 'Value 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.

Returns:
the new adapter.
See Also:
ValueExpression

createExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createExpressionAdapter()
Creates a new adapter for an object of class '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.

Returns:
the new adapter.
See Also:
Expression

createStatementBlockAdapter

public org.eclipse.emf.common.notify.Adapter createStatementBlockAdapter()
Creates a new adapter for an object of class 'Statement Block'. 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.

Returns:
the new adapter.
See Also:
StatementBlock

createMOFScriptTransformationAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptTransformationAdapter()
Creates a new adapter for an object of class 'MOF Script Transformation'. 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.

Returns:
the new adapter.
See Also:
MOFScriptTransformation

createMOFScriptParameterAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptParameterAdapter()
Creates a new adapter for an object of class 'MOF Script Parameter'. 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.

Returns:
the new adapter.
See Also:
MOFScriptParameter

createMOFScriptImportAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptImportAdapter()
Creates a new adapter for an object of class 'MOF Script Import'. 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.

Returns:
the new adapter.
See Also:
MOFScriptImport

createIteratorStatementAdapter

public org.eclipse.emf.common.notify.Adapter createIteratorStatementAdapter()
Creates a new adapter for an object of class 'Iterator Statement'. 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.

Returns:
the new adapter.
See Also:
IteratorStatement

createLogicalExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createLogicalExpressionAdapter()
Creates a new adapter for an object of class 'Logical 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.

Returns:
the new adapter.
See Also:
LogicalExpression

createSimpleExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createSimpleExpressionAdapter()
Creates a new adapter for an object of class 'Simple 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.

Returns:
the new adapter.
See Also:
SimpleExpression

createFunctionCallAdapter

public org.eclipse.emf.common.notify.Adapter createFunctionCallAdapter()
Creates a new adapter for an object of class 'Function Call'. 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.

Returns:
the new adapter.
See Also:
FunctionCall

createCreateStatementAdapter

public org.eclipse.emf.common.notify.Adapter createCreateStatementAdapter()
Creates a new adapter for an object of class 'Create Statement'. 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.

Returns:
the new adapter.
See Also:
CreateStatement

createResultAssignmentAdapter

public org.eclipse.emf.common.notify.Adapter createResultAssignmentAdapter()
Creates a new adapter for an object of class 'Result Assignment'. 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.

Returns:
the new adapter.
See Also:
ResultAssignment

createGeneralAssignmentAdapter

public org.eclipse.emf.common.notify.Adapter createGeneralAssignmentAdapter()
Creates a new adapter for an object of class 'General Assignment'. 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.

Returns:
the new adapter.
See Also:
GeneralAssignment

createLiteralAdapter

public org.eclipse.emf.common.notify.Adapter createLiteralAdapter()
Creates a new adapter for an object of class 'Literal'. 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.

Returns:
the new adapter.
See Also:
Literal

createReferenceAdapter

public org.eclipse.emf.common.notify.Adapter createReferenceAdapter()
Creates a new adapter for an object of class 'Reference'. 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.

Returns:
the new adapter.
See Also:
Reference

createFunctionCallStatementAdapter

public org.eclipse.emf.common.notify.Adapter createFunctionCallStatementAdapter()
Creates a new adapter for an object of class 'Function Call Statement'. 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.

Returns:
the new adapter.
See Also:
FunctionCallStatement

createPrintStatementAdapter

public org.eclipse.emf.common.notify.Adapter createPrintStatementAdapter()
Creates a new adapter for an object of class 'Print Statement'. 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.

Returns:
the new adapter.
See Also:
PrintStatement

createArithmeticExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createArithmeticExpressionAdapter()
Creates a new adapter for an object of class 'Arithmetic 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.

Returns:
the new adapter.
See Also:
ArithmeticExpression

createFileStatementAdapter

public org.eclipse.emf.common.notify.Adapter createFileStatementAdapter()
Creates a new adapter for an object of class 'File Statement'. 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.

Returns:
the new adapter.
See Also:
FileStatement

createComparisonExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createComparisonExpressionAdapter()
Creates a new adapter for an object of class 'Comparison 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.

Returns:
the new adapter.
See Also:
ComparisonExpression

createIfStatementAdapter

public org.eclipse.emf.common.notify.Adapter createIfStatementAdapter()
Creates a new adapter for an object of class 'If Statement'. 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.

Returns:
the new adapter.
See Also:
IfStatement

createMOFScriptSpecificationAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptSpecificationAdapter()
Creates a new adapter for an object of class 'MOF Script Specification'. 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.

Returns:
the new adapter.
See Also:
MOFScriptSpecification

createBreakStatementAdapter

public org.eclipse.emf.common.notify.Adapter createBreakStatementAdapter()
Creates a new adapter for an object of class 'Break Statement'. 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.

Returns:
the new adapter.
See Also:
BreakStatement

createWhileStatementAdapter

public org.eclipse.emf.common.notify.Adapter createWhileStatementAdapter()
Creates a new adapter for an object of class 'While Statement'. 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.

Returns:
the new adapter.
See Also:
WhileStatement

createMOFScriptAspectAdapter

public org.eclipse.emf.common.notify.Adapter createMOFScriptAspectAdapter()
Creates a new adapter for an object of class 'MOF Script Aspect'. 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.

Returns:
the new adapter.
See Also:
MOFScriptAspect

createAdviceAdapter

public org.eclipse.emf.common.notify.Adapter createAdviceAdapter()
Creates a new adapter for an object of class 'Advice'. 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.

Returns:
the new adapter.
See Also:
Advice

createPointCutAdapter

public org.eclipse.emf.common.notify.Adapter createPointCutAdapter()
Creates a new adapter for an object of class 'Point Cut'. 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.

Returns:
the new adapter.
See Also:
PointCut

createPointCutExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createPointCutExpressionAdapter()
Creates a new adapter for an object of class 'Point Cut 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.

Returns:
the new adapter.
See Also:
PointCutExpression

createSelectExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createSelectExpressionAdapter()
Creates a new adapter for an object of class 'Select 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.

Returns:
the new adapter.
See Also:
SelectExpression

createCreateExpressionAdapter

public org.eclipse.emf.common.notify.Adapter createCreateExpressionAdapter()
Creates a new adapter for an object of class 'Create 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.

Returns:
the new adapter.
See Also:
CreateExpression

createCreateExpressionParameterAdapter

public org.eclipse.emf.common.notify.Adapter createCreateExpressionParameterAdapter()
Creates a new adapter for an object of class 'Create Expression Parameter'. 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.

Returns:
the new adapter.
See Also:
CreateExpressionParameter

createReturnStatementAdapter

public org.eclipse.emf.common.notify.Adapter createReturnStatementAdapter()
Creates a new adapter for an object of class 'Return Statement'. 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.

Returns:
the new adapter.
See Also:
ReturnStatement

createVariableDeclarationStatementAdapter

public org.eclipse.emf.common.notify.Adapter createVariableDeclarationStatementAdapter()
Creates a new adapter for an object of class 'Variable Declaration Statement'. 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.

Returns:
the new adapter.
See Also:
VariableDeclarationStatement

createDebugStatementAdapter

public org.eclipse.emf.common.notify.Adapter createDebugStatementAdapter()
Creates a new adapter for an object of class 'Debug Statement'. 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.

Returns:
the new adapter.
See Also:
DebugStatement

createTraceAdapter

public org.eclipse.emf.common.notify.Adapter createTraceAdapter()
Creates a new adapter for an object of class 'Trace'. 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.

Returns:
the new adapter.
See Also:
Trace

createM2MTraceAdapter

public org.eclipse.emf.common.notify.Adapter createM2MTraceAdapter()
Creates a new adapter for an object of class 'M2M Trace'. 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.

Returns:
the new adapter.
See Also:
M2MTrace

createEObjectAdapter

public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.