org.eclipse.ocl.expressions.impl
Class ExpressionsFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.ocl.expressions.impl.ExpressionsFactoryImpl
All Implemented Interfaces:
ExpressionsFactory

public class ExpressionsFactoryImpl
extends EFactoryImpl
implements ExpressionsFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.ocl.expressions.ExpressionsFactory
eINSTANCE
 
Constructor Summary
ExpressionsFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 java.lang.String convertCollectionKindToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(EDataType eDataType, java.lang.Object instanceValue)
           
 EObject create(EClass eClass)
           
<C,P> AssociationClassCallExp<C,P>
createAssociationClassCallExp()
           
<C> BooleanLiteralExp<C>
createBooleanLiteralExp()
           
<C> CollectionItem<C>
createCollectionItem()
           
 CollectionKind createCollectionKindFromString(EDataType eDataType, java.lang.String initialValue)
           
<C> CollectionLiteralExp<C>
createCollectionLiteralExp()
           
<C> CollectionRange<C>
createCollectionRange()
           
<C,EL> EnumLiteralExp<C,EL>
createEnumLiteralExp()
           
 java.lang.Object createFromString(EDataType eDataType, java.lang.String initialValue)
           
<C> IfExp<C>
createIfExp()
           
<C> IntegerLiteralExp<C>
createIntegerLiteralExp()
           
<C> InvalidLiteralExp<C>
createInvalidLiteralExp()
           
<C,PM> IterateExp<C,PM>
createIterateExp()
           
<C,PM> IteratorExp<C,PM>
createIteratorExp()
           
<C,PM> LetExp<C,PM>
createLetExp()
           
<C,COA,SSA>
MessageExp<C,COA,SSA>
createMessageExp()
           
<C> NullLiteralExp<C>
createNullLiteralExp()
           
<C,O> OperationCallExp<C,O>
createOperationCallExp()
           
<C,P> PropertyCallExp<C,P>
createPropertyCallExp()
           
<C> RealLiteralExp<C>
createRealLiteralExp()
           
<C,S> StateExp<C,S>
createStateExp()
           
<C> StringLiteralExp<C>
createStringLiteralExp()
           
<C,P> TupleLiteralExp<C,P>
createTupleLiteralExp()
           
<C,P> TupleLiteralPart<C,P>
createTupleLiteralPart()
           
<C> TypeExp<C>
createTypeExp()
           
<C> UnlimitedNaturalLiteralExp<C>
createUnlimitedNaturalLiteralExp()
           
<C> UnspecifiedValueExp<C>
createUnspecifiedValueExp()
           
<C,PM> Variable<C,PM>
createVariable()
           
<C,PM> VariableExp<C,PM>
createVariableExp()
           
 ExpressionsPackage getExpressionsPackage()
           
static ExpressionsPackage getPackage()
          Deprecated.  
static ExpressionsFactory init()
          Creates the default factory implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionsFactoryImpl

public ExpressionsFactoryImpl()
Creates an instance of the factory.

Method Detail

init

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


create

public EObject create(EClass eClass)


createFromString

public java.lang.Object createFromString(EDataType eDataType,
                                         java.lang.String initialValue)


convertToString

public java.lang.String convertToString(EDataType eDataType,
                                        java.lang.Object instanceValue)


createAssociationClassCallExp

public <C,P> AssociationClassCallExp<C,P> createAssociationClassCallExp()

Specified by:
createAssociationClassCallExp in interface ExpressionsFactory
Returns:
a new object of class 'Association Class Call Exp'.

createBooleanLiteralExp

public <C> BooleanLiteralExp<C> createBooleanLiteralExp()

Specified by:
createBooleanLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Boolean Literal Exp'.

createCollectionItem

public <C> CollectionItem<C> createCollectionItem()

Specified by:
createCollectionItem in interface ExpressionsFactory
Returns:
a new object of class 'Collection Item'.

createCollectionLiteralExp

public <C> CollectionLiteralExp<C> createCollectionLiteralExp()

Specified by:
createCollectionLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Collection Literal Exp'.

createCollectionRange

public <C> CollectionRange<C> createCollectionRange()

Specified by:
createCollectionRange in interface ExpressionsFactory
Returns:
a new object of class 'Collection Range'.

createEnumLiteralExp

public <C,EL> EnumLiteralExp<C,EL> createEnumLiteralExp()

Specified by:
createEnumLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Enum Literal Exp'.

createIfExp

public <C> IfExp<C> createIfExp()

Specified by:
createIfExp in interface ExpressionsFactory
Returns:
a new object of class 'If Exp'.

createIntegerLiteralExp

public <C> IntegerLiteralExp<C> createIntegerLiteralExp()

Specified by:
createIntegerLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Integer Literal Exp'.

createUnlimitedNaturalLiteralExp

public <C> UnlimitedNaturalLiteralExp<C> createUnlimitedNaturalLiteralExp()

Specified by:
createUnlimitedNaturalLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Unlimited Natural Literal Exp'.

createInvalidLiteralExp

public <C> InvalidLiteralExp<C> createInvalidLiteralExp()

Specified by:
createInvalidLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Invalid Literal Exp'.

createIterateExp

public <C,PM> IterateExp<C,PM> createIterateExp()

Specified by:
createIterateExp in interface ExpressionsFactory
Returns:
a new object of class 'Iterate Exp'.

createIteratorExp

public <C,PM> IteratorExp<C,PM> createIteratorExp()

Specified by:
createIteratorExp in interface ExpressionsFactory
Returns:
a new object of class 'Iterator Exp'.

createLetExp

public <C,PM> LetExp<C,PM> createLetExp()

Specified by:
createLetExp in interface ExpressionsFactory
Returns:
a new object of class 'Let Exp'.

createMessageExp

public <C,COA,SSA> MessageExp<C,COA,SSA> createMessageExp()

Specified by:
createMessageExp in interface ExpressionsFactory
Returns:
a new object of class 'Message Exp'.

createNullLiteralExp

public <C> NullLiteralExp<C> createNullLiteralExp()

Specified by:
createNullLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Null Literal Exp'.

createOperationCallExp

public <C,O> OperationCallExp<C,O> createOperationCallExp()

Specified by:
createOperationCallExp in interface ExpressionsFactory
Returns:
a new object of class 'Operation Call Exp'.

createPropertyCallExp

public <C,P> PropertyCallExp<C,P> createPropertyCallExp()

Specified by:
createPropertyCallExp in interface ExpressionsFactory
Returns:
a new object of class 'Property Call Exp'.

createRealLiteralExp

public <C> RealLiteralExp<C> createRealLiteralExp()

Specified by:
createRealLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Real Literal Exp'.

createStateExp

public <C,S> StateExp<C,S> createStateExp()

Specified by:
createStateExp in interface ExpressionsFactory
Returns:
a new object of class 'State Exp'.

createStringLiteralExp

public <C> StringLiteralExp<C> createStringLiteralExp()

Specified by:
createStringLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'String Literal Exp'.

createTupleLiteralExp

public <C,P> TupleLiteralExp<C,P> createTupleLiteralExp()

Specified by:
createTupleLiteralExp in interface ExpressionsFactory
Returns:
a new object of class 'Tuple Literal Exp'.

createTupleLiteralPart

public <C,P> TupleLiteralPart<C,P> createTupleLiteralPart()

Specified by:
createTupleLiteralPart in interface ExpressionsFactory
Returns:
a new object of class 'Tuple Literal Part'.

createTypeExp

public <C> TypeExp<C> createTypeExp()

Specified by:
createTypeExp in interface ExpressionsFactory
Returns:
a new object of class 'Type Exp'.

createUnspecifiedValueExp

public <C> UnspecifiedValueExp<C> createUnspecifiedValueExp()

Specified by:
createUnspecifiedValueExp in interface ExpressionsFactory
Returns:
a new object of class 'Unspecified Value Exp'.

createVariable

public <C,PM> Variable<C,PM> createVariable()

Specified by:
createVariable in interface ExpressionsFactory
Returns:
a new object of class 'Variable'.

createVariableExp

public <C,PM> VariableExp<C,PM> createVariableExp()

Specified by:
createVariableExp in interface ExpressionsFactory
Returns:
a new object of class 'Variable Exp'.

createCollectionKindFromString

public CollectionKind createCollectionKindFromString(EDataType eDataType,
                                                     java.lang.String initialValue)


convertCollectionKindToString

public java.lang.String convertCollectionKindToString(EDataType eDataType,
                                                      java.lang.Object instanceValue)


getExpressionsPackage

public ExpressionsPackage getExpressionsPackage()

Specified by:
getExpressionsPackage in interface ExpressionsFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static ExpressionsPackage getPackage()
Deprecated. 


Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.