org.eclipse.mofscript.MOFScriptModel.impl
Class MOFScriptModelFactoryImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.mofscript.MOFScriptModel.impl.MOFScriptModelFactoryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, MOFScriptModelFactory

public class MOFScriptModelFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements MOFScriptModelFactory

An implementation of the model Factory.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptModelFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
MOFScriptModelFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 java.lang.String convertAccessLevelToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertAdviceOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertArithmeticOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertAssignmentOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertComparisonOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertImportSemanticsToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertImportTypeToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertLiteralTypeToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertLogicalOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertParameterDirectionToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertPointCutCombinationOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertPointCutOperatorToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 AccessLevel createAccessLevelFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 Advice createAdvice()
           
 AdviceOperator createAdviceOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 ArithmeticExpression createArithmeticExpression()
           
 ArithmeticOperator createArithmeticOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 AssignmentOperator createAssignmentOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 BreakStatement createBreakStatement()
           
 ComparisonExpression createComparisonExpression()
           
 ComparisonOperator createComparisonOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 CreateExpression createCreateExpression()
           
 CreateExpressionParameter createCreateExpressionParameter()
           
 CreateStatement createCreateStatement()
           
 DebugStatement createDebugStatement()
           
 FileStatement createFileStatement()
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 FunctionCall createFunctionCall()
           
 FunctionCallStatement createFunctionCallStatement()
           
 GeneralAssignment createGeneralAssignment()
           
 IfStatement createIfStatement()
           
 ImportSemantics createImportSemanticsFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 ImportType createImportTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 IteratorStatement createIteratorStatement()
           
 Literal createLiteral()
           
 LiteralType createLiteralTypeFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 LogicalExpression createLogicalExpression()
           
 LogicalOperator createLogicalOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 MOFScriptAspect createMOFScriptAspect()
           
 MOFScriptComment createMOFScriptComment()
           
 MOFScriptImport createMOFScriptImport()
           
 MOFScriptParameter createMOFScriptParameter()
           
 MOFScriptSpecification createMOFScriptSpecification()
           
 MOFScriptTransformation createMOFScriptTransformation()
           
 ParameterDirection createParameterDirectionFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 PointCut createPointCut()
           
 PointCutCombinationOperator createPointCutCombinationOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 PointCutExpression createPointCutExpression()
           
 PointCutOperator createPointCutOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 PrintStatement createPrintStatement()
           
 Reference createReference()
           
 ResultAssignment createResultAssignment()
           
 ReturnStatement createReturnStatement()
           
 SelectExpression createSelectExpression()
           
 SimpleExpression createSimpleExpression()
           
 StatementBlock createStatementBlock()
           
 TransformationRule createTransformationRule()
           
 ValueExpression createValueExpression()
           
 VariableDeclaration createVariableDeclaration()
           
 VariableDeclarationStatement createVariableDeclarationStatement()
           
 WhileStatement createWhileStatement()
           
 MOFScriptModelPackage getMOFScriptModelPackage()
           
static MOFScriptModelPackage getPackage()
          Deprecated.  
static MOFScriptModelFactory init()
          Creates the default factory implementation
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicSetEPackage, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getEPackage, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackage
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

MOFScriptModelFactoryImpl

public MOFScriptModelFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static MOFScriptModelFactory init()
Creates the default factory implementation.


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                                        java.lang.Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createTransformationRule

public TransformationRule createTransformationRule()

Specified by:
createTransformationRule in interface MOFScriptModelFactory
Returns:
a new object of class 'Transformation Rule'.

createMOFScriptComment

public MOFScriptComment createMOFScriptComment()

Specified by:
createMOFScriptComment in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Comment'.

createVariableDeclaration

public VariableDeclaration createVariableDeclaration()

Specified by:
createVariableDeclaration in interface MOFScriptModelFactory
Returns:
a new object of class 'Variable Declaration'.

createValueExpression

public ValueExpression createValueExpression()

Specified by:
createValueExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Value Expression'.

createStatementBlock

public StatementBlock createStatementBlock()

Specified by:
createStatementBlock in interface MOFScriptModelFactory
Returns:
a new object of class 'Statement Block'.

createMOFScriptTransformation

public MOFScriptTransformation createMOFScriptTransformation()

Specified by:
createMOFScriptTransformation in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Transformation'.

createMOFScriptParameter

public MOFScriptParameter createMOFScriptParameter()

Specified by:
createMOFScriptParameter in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Parameter'.

createMOFScriptImport

public MOFScriptImport createMOFScriptImport()

Specified by:
createMOFScriptImport in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Import'.

createIteratorStatement

public IteratorStatement createIteratorStatement()

Specified by:
createIteratorStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Iterator Statement'.

createLogicalExpression

public LogicalExpression createLogicalExpression()

Specified by:
createLogicalExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Logical Expression'.

createSimpleExpression

public SimpleExpression createSimpleExpression()

Specified by:
createSimpleExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Simple Expression'.

createFunctionCall

public FunctionCall createFunctionCall()

Specified by:
createFunctionCall in interface MOFScriptModelFactory
Returns:
a new object of class 'Function Call'.

createCreateStatement

public CreateStatement createCreateStatement()

Specified by:
createCreateStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Create Statement'.

createResultAssignment

public ResultAssignment createResultAssignment()

Specified by:
createResultAssignment in interface MOFScriptModelFactory
Returns:
a new object of class 'Result Assignment'.

createGeneralAssignment

public GeneralAssignment createGeneralAssignment()

Specified by:
createGeneralAssignment in interface MOFScriptModelFactory
Returns:
a new object of class 'General Assignment'.

createLiteral

public Literal createLiteral()

Specified by:
createLiteral in interface MOFScriptModelFactory
Returns:
a new object of class 'Literal'.

createReference

public Reference createReference()

Specified by:
createReference in interface MOFScriptModelFactory
Returns:
a new object of class 'Reference'.

createFunctionCallStatement

public FunctionCallStatement createFunctionCallStatement()

Specified by:
createFunctionCallStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Function Call Statement'.

createPrintStatement

public PrintStatement createPrintStatement()

Specified by:
createPrintStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Print Statement'.

createArithmeticExpression

public ArithmeticExpression createArithmeticExpression()

Specified by:
createArithmeticExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Arithmetic Expression'.

createFileStatement

public FileStatement createFileStatement()

Specified by:
createFileStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'File Statement'.

createComparisonExpression

public ComparisonExpression createComparisonExpression()

Specified by:
createComparisonExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Comparison Expression'.

createIfStatement

public IfStatement createIfStatement()

Specified by:
createIfStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'If Statement'.

createMOFScriptSpecification

public MOFScriptSpecification createMOFScriptSpecification()

Specified by:
createMOFScriptSpecification in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Specification'.

createBreakStatement

public BreakStatement createBreakStatement()

Specified by:
createBreakStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Break Statement'.

createWhileStatement

public WhileStatement createWhileStatement()

Specified by:
createWhileStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'While Statement'.

createMOFScriptAspect

public MOFScriptAspect createMOFScriptAspect()

Specified by:
createMOFScriptAspect in interface MOFScriptModelFactory
Returns:
a new object of class 'MOF Script Aspect'.

createAdvice

public Advice createAdvice()

Specified by:
createAdvice in interface MOFScriptModelFactory
Returns:
a new object of class 'Advice'.

createPointCut

public PointCut createPointCut()

Specified by:
createPointCut in interface MOFScriptModelFactory
Returns:
a new object of class 'Point Cut'.

createPointCutExpression

public PointCutExpression createPointCutExpression()

Specified by:
createPointCutExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Point Cut Expression'.

createSelectExpression

public SelectExpression createSelectExpression()

Specified by:
createSelectExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Select Expression'.

createCreateExpression

public CreateExpression createCreateExpression()

Specified by:
createCreateExpression in interface MOFScriptModelFactory
Returns:
a new object of class 'Create Expression'.

createCreateExpressionParameter

public CreateExpressionParameter createCreateExpressionParameter()

Specified by:
createCreateExpressionParameter in interface MOFScriptModelFactory
Returns:
a new object of class 'Create Expression Parameter'.

createReturnStatement

public ReturnStatement createReturnStatement()

Specified by:
createReturnStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Return Statement'.

createVariableDeclarationStatement

public VariableDeclarationStatement createVariableDeclarationStatement()

Specified by:
createVariableDeclarationStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Variable Declaration Statement'.

createDebugStatement

public DebugStatement createDebugStatement()

Specified by:
createDebugStatement in interface MOFScriptModelFactory
Returns:
a new object of class 'Debug Statement'.

createParameterDirectionFromString

public ParameterDirection createParameterDirectionFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                             java.lang.String initialValue)


convertParameterDirectionToString

public java.lang.String convertParameterDirectionToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                          java.lang.Object instanceValue)


createAccessLevelFromString

public AccessLevel createAccessLevelFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                               java.lang.String initialValue)


convertAccessLevelToString

public java.lang.String convertAccessLevelToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                   java.lang.Object instanceValue)


createImportTypeFromString

public ImportType createImportTypeFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                             java.lang.String initialValue)


convertImportTypeToString

public java.lang.String convertImportTypeToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                  java.lang.Object instanceValue)


createImportSemanticsFromString

public ImportSemantics createImportSemanticsFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                       java.lang.String initialValue)


convertImportSemanticsToString

public java.lang.String convertImportSemanticsToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                       java.lang.Object instanceValue)


createAssignmentOperatorFromString

public AssignmentOperator createAssignmentOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                             java.lang.String initialValue)


convertAssignmentOperatorToString

public java.lang.String convertAssignmentOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                          java.lang.Object instanceValue)


createLogicalOperatorFromString

public LogicalOperator createLogicalOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                       java.lang.String initialValue)


convertLogicalOperatorToString

public java.lang.String convertLogicalOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                       java.lang.Object instanceValue)


createLiteralTypeFromString

public LiteralType createLiteralTypeFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                               java.lang.String initialValue)


convertLiteralTypeToString

public java.lang.String convertLiteralTypeToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                   java.lang.Object instanceValue)


createArithmeticOperatorFromString

public ArithmeticOperator createArithmeticOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                             java.lang.String initialValue)


convertArithmeticOperatorToString

public java.lang.String convertArithmeticOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                          java.lang.Object instanceValue)


createComparisonOperatorFromString

public ComparisonOperator createComparisonOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                             java.lang.String initialValue)


convertComparisonOperatorToString

public java.lang.String convertComparisonOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                          java.lang.Object instanceValue)


createAdviceOperatorFromString

public AdviceOperator createAdviceOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                     java.lang.String initialValue)


convertAdviceOperatorToString

public java.lang.String convertAdviceOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                      java.lang.Object instanceValue)


createPointCutOperatorFromString

public PointCutOperator createPointCutOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                         java.lang.String initialValue)


convertPointCutOperatorToString

public java.lang.String convertPointCutOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                        java.lang.Object instanceValue)


createPointCutCombinationOperatorFromString

public PointCutCombinationOperator createPointCutCombinationOperatorFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                               java.lang.String initialValue)


convertPointCutCombinationOperatorToString

public java.lang.String convertPointCutCombinationOperatorToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                   java.lang.Object instanceValue)


getMOFScriptModelPackage

public MOFScriptModelPackage getMOFScriptModelPackage()

Specified by:
getMOFScriptModelPackage in interface MOFScriptModelFactory
Returns:
the package supported by this factory.

getPackage

public static MOFScriptModelPackage getPackage()
Deprecated.