org.eclipse.emf.ocl.expressions
Interface ExpressionsFactory

All Superinterfaces:
org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
ExpressionsFactoryImpl

public interface ExpressionsFactory
extends org.eclipse.emf.ecore.EFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
ExpressionsPackage

Field Summary
static java.lang.String copyright
           
static ExpressionsFactory eINSTANCE
          The singleton instance of the factory
 
Method Summary
 AssociationClassCallExp createAssociationClassCallExp()
          Returns a new object of class 'Association Class Call Exp'
 BooleanLiteralExp createBooleanLiteralExp()
          Returns a new object of class 'Boolean Literal Exp'
 CollectionItem createCollectionItem()
          Returns a new object of class 'Collection Item'
 CollectionLiteralExp createCollectionLiteralExp()
          Returns a new object of class 'Collection Literal Exp'
 CollectionLiteralPart createCollectionLiteralPart()
          Returns a new object of class 'Collection Literal Part'
 CollectionRange createCollectionRange()
          Returns a new object of class 'Collection Range'
 EnumLiteralExp createEnumLiteralExp()
          Returns a new object of class 'Enum Literal Exp'
 IfExp createIfExp()
          Returns a new object of class 'If Exp'
 IntegerLiteralExp createIntegerLiteralExp()
          Returns a new object of class 'Integer Literal Exp'
 InvalidLiteralExp createInvalidLiteralExp()
          Returns a new object of class 'Invalid Literal Exp'
 IterateExp createIterateExp()
          Returns a new object of class 'Iterate Exp'
 IteratorExp createIteratorExp()
          Returns a new object of class 'Iterator Exp'
 LetExp createLetExp()
          Returns a new object of class 'Let Exp'
 LoopExp createLoopExp()
          Returns a new object of class 'Loop Exp'
 MessageExp createMessageExp()
          Returns a new object of class 'Message Exp'
 NullLiteralExp createNullLiteralExp()
          Returns a new object of class 'Null Literal Exp'
 OCLExpression createOCLExpression(java.lang.String text)
          Parses the specified OCL expression text to create a new expression instance.
 OperationCallExp createOperationCallExp()
          Returns a new object of class 'Operation Call Exp'
 PropertyCallExp createPropertyCallExp()
          Returns a new object of class 'Property Call Exp'
 RealLiteralExp createRealLiteralExp()
          Returns a new object of class 'Real Literal Exp'
 StateExp createStateExp()
          Returns a new object of class 'State Exp'
 StringLiteralExp createStringLiteralExp()
          Returns a new object of class 'String Literal Exp'
 StringLiteralExp createStringLiteralExp(java.lang.String s)
           
 TupleLiteralExp createTupleLiteralExp()
          Returns a new object of class 'Tuple Literal Exp'
 TupleLiteralPart createTupleLiteralPart()
          Returns a new object of class 'Tuple Literal Part'
 TypeExp createTypeExp()
          Returns a new object of class 'Type Exp'
 UnspecifiedValueExp createUnspecifiedValueExp()
          Returns a new object of class 'Unspecified Value Exp'
 Variable createVariable()
          Returns a new object of class 'Variable'
 VariableExp createVariableExp()
          Returns a new object of class 'Variable Exp'
 ExpressionsPackage getExpressionsPackage()
          Returns the package supported by this factory
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, 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
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

eINSTANCE

public static final ExpressionsFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createOCLExpression

public OCLExpression createOCLExpression(java.lang.String text)
                                  throws ParserException
Parses the specified OCL expression text to create a new expression instance.

The text must be of the form "context a::b::c inv: oclexpression" or, optionally, "package a::b context c inv: oclexpression endpackage".

Parameters:
text - the OCL expression text to parse
Returns:
the parsed expression, if the OCL expression is valid
Throws:
ParserException - in case of an error in parsing the expression

createPropertyCallExp

public PropertyCallExp createPropertyCallExp()
Returns a new object of class 'Property Call Exp'.

Returns:
a new object of class 'Property Call Exp'.

createTupleLiteralPart

public TupleLiteralPart createTupleLiteralPart()
Returns a new object of class 'Tuple Literal Part'.

Returns:
a new object of class 'Tuple Literal Part'.

createBooleanLiteralExp

public BooleanLiteralExp createBooleanLiteralExp()
Returns a new object of class 'Boolean Literal Exp'.

Returns:
a new object of class 'Boolean Literal Exp'.

createCollectionItem

public CollectionItem createCollectionItem()
Returns a new object of class 'Collection Item'.

Returns:
a new object of class 'Collection Item'.

createCollectionLiteralExp

public CollectionLiteralExp createCollectionLiteralExp()
Returns a new object of class 'Collection Literal Exp'.

Returns:
a new object of class 'Collection Literal Exp'.

createCollectionLiteralPart

public CollectionLiteralPart createCollectionLiteralPart()
Returns a new object of class 'Collection Literal Part'.

Returns:
a new object of class 'Collection Literal Part'.

createCollectionRange

public CollectionRange createCollectionRange()
Returns a new object of class 'Collection Range'.

Returns:
a new object of class 'Collection Range'.

createEnumLiteralExp

public EnumLiteralExp createEnumLiteralExp()
Returns a new object of class 'Enum Literal Exp'.

Returns:
a new object of class 'Enum Literal Exp'.

createIfExp

public IfExp createIfExp()
Returns a new object of class 'If Exp'.

Returns:
a new object of class 'If Exp'.

createIntegerLiteralExp

public IntegerLiteralExp createIntegerLiteralExp()
Returns a new object of class 'Integer Literal Exp'.

Returns:
a new object of class 'Integer Literal Exp'.

createIterateExp

public IterateExp createIterateExp()
Returns a new object of class 'Iterate Exp'.

Returns:
a new object of class 'Iterate Exp'.

createIteratorExp

public IteratorExp createIteratorExp()
Returns a new object of class 'Iterator Exp'.

Returns:
a new object of class 'Iterator Exp'.

createLetExp

public LetExp createLetExp()
Returns a new object of class 'Let Exp'.

Returns:
a new object of class 'Let Exp'.

createLoopExp

public LoopExp createLoopExp()
Returns a new object of class 'Loop Exp'.

Returns:
a new object of class 'Loop Exp'.

createMessageExp

public MessageExp createMessageExp()
Returns a new object of class 'Message Exp'.

Returns:
a new object of class 'Message Exp'.

createOperationCallExp

public OperationCallExp createOperationCallExp()
Returns a new object of class 'Operation Call Exp'.

Returns:
a new object of class 'Operation Call Exp'.

createRealLiteralExp

public RealLiteralExp createRealLiteralExp()
Returns a new object of class 'Real Literal Exp'.

Returns:
a new object of class 'Real Literal Exp'.

createStringLiteralExp

public StringLiteralExp createStringLiteralExp()
Returns a new object of class 'String Literal Exp'.

Returns:
a new object of class 'String Literal Exp'.

createStringLiteralExp

public StringLiteralExp createStringLiteralExp(java.lang.String s)

createTupleLiteralExp

public TupleLiteralExp createTupleLiteralExp()
Returns a new object of class 'Tuple Literal Exp'.

Returns:
a new object of class 'Tuple Literal Exp'.

createUnspecifiedValueExp

public UnspecifiedValueExp createUnspecifiedValueExp()
Returns a new object of class 'Unspecified Value Exp'.

Returns:
a new object of class 'Unspecified Value Exp'.

createVariable

public Variable createVariable()
Returns a new object of class 'Variable'.

Returns:
a new object of class 'Variable'.

createVariableExp

public VariableExp createVariableExp()
Returns a new object of class 'Variable Exp'.

Returns:
a new object of class 'Variable Exp'.

createAssociationClassCallExp

public AssociationClassCallExp createAssociationClassCallExp()
Returns a new object of class 'Association Class Call Exp'.

Returns:
a new object of class 'Association Class Call Exp'.

createNullLiteralExp

public NullLiteralExp createNullLiteralExp()
Returns a new object of class 'Null Literal Exp'.

Returns:
a new object of class 'Null Literal Exp'.

createInvalidLiteralExp

public InvalidLiteralExp createInvalidLiteralExp()
Returns a new object of class 'Invalid Literal Exp'.

Returns:
a new object of class 'Invalid Literal Exp'.

createTypeExp

public TypeExp createTypeExp()
Returns a new object of class 'Type Exp'.

Returns:
a new object of class 'Type Exp'.

createStateExp

public StateExp createStateExp()
Returns a new object of class 'State Exp'.

Returns:
a new object of class 'State Exp'.

getExpressionsPackage

public ExpressionsPackage getExpressionsPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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