org.eclipse.emf.ocl.types
Interface TypesFactory

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:
TypesFactoryImpl

public interface TypesFactory
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:
TypesPackage

Field Summary
static java.lang.String copyright
           
static TypesFactory eINSTANCE
          The singleton instance of the factory
 
Method Summary
 AnyType createAnyType()
          Returns a new object of class 'Any Type'
 BagType createBagType()
          Returns a new object of class 'Bag Type'
 BagType createBagType(org.eclipse.emf.ecore.EClassifier elementType)
           
 CollectionType createCollectionType()
          Returns a new object of class 'Collection Type'
 CollectionType createCollectionType(CollectionKind kind, org.eclipse.emf.ecore.EClassifier elementType)
           
 CollectionType createCollectionType(org.eclipse.emf.ecore.EClassifier elementType)
           
 ElementType createElementType()
          Returns a new object of class 'Element Type'
 InvalidType createInvalidType()
          Returns a new object of class 'Invalid Type'
 MessageType createMessageType()
          Returns a new object of class 'Message Type'
 MessageType createMessageType(org.eclipse.emf.ecore.ENamedElement behavioralFeature)
          Creates the type for the messages representing invocation of the specified behavioralFeature.
 OrderedSetType createOrderedSetType()
          Returns a new object of class 'Ordered Set Type'
 OrderedSetType createOrderedSetType(org.eclipse.emf.ecore.EClassifier elementType)
           
 PrimitiveBoolean createPrimitiveBoolean()
          Returns a new object of class 'Primitive Boolean'
 PrimitiveInteger createPrimitiveInteger()
          Returns a new object of class 'Primitive Integer'
 PrimitiveReal createPrimitiveReal()
          Returns a new object of class 'Primitive Real'
 PrimitiveString createPrimitiveString()
          Returns a new object of class 'Primitive String'
 SequenceType createSequenceType()
          Returns a new object of class 'Sequence Type'
 SequenceType createSequenceType(org.eclipse.emf.ecore.EClassifier elementType)
           
 SetType createSetType()
          Returns a new object of class 'Set Type'
 SetType createSetType(org.eclipse.emf.ecore.EClassifier elementType)
           
 TupleType createTupleType()
          Returns a new object of class 'Tuple Type'
 TupleType createTupleType(java.util.List parts)
          Creates a tuple type based on tthe specified part descriptions.
 TypeType createTypeType()
          Returns a new object of class 'Type Type'
 TypeType createTypeType(org.eclipse.emf.ecore.EClassifier type)
           
 VoidType createVoidType()
          Returns a new object of class 'Void Type'
 TypesPackage getTypesPackage()
          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 TypesFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createBagType

public BagType createBagType()
Returns a new object of class 'Bag Type'.

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

createBagType

public BagType createBagType(org.eclipse.emf.ecore.EClassifier elementType)

createCollectionType

public CollectionType createCollectionType()
Returns a new object of class 'Collection Type'.

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

createCollectionType

public CollectionType createCollectionType(org.eclipse.emf.ecore.EClassifier elementType)

createCollectionType

public CollectionType createCollectionType(CollectionKind kind,
                                           org.eclipse.emf.ecore.EClassifier elementType)

createOrderedSetType

public OrderedSetType createOrderedSetType()
Returns a new object of class 'Ordered Set Type'.

Returns:
a new object of class 'Ordered Set Type'.

createOrderedSetType

public OrderedSetType createOrderedSetType(org.eclipse.emf.ecore.EClassifier elementType)

createSequenceType

public SequenceType createSequenceType()
Returns a new object of class 'Sequence Type'.

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

createSequenceType

public SequenceType createSequenceType(org.eclipse.emf.ecore.EClassifier elementType)

createSetType

public SetType createSetType()
Returns a new object of class 'Set Type'.

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

createSetType

public SetType createSetType(org.eclipse.emf.ecore.EClassifier elementType)

createTupleType

public TupleType createTupleType()
Returns a new object of class 'Tuple Type'.

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

createTupleType

public TupleType createTupleType(java.util.List parts)
Creates a tuple type based on tthe specified part descriptions.

Parameters:
parts - a list of TypedElements describing the tuple parts
Returns:
the new tuple type

createVoidType

public VoidType createVoidType()
Returns a new object of class 'Void Type'.

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

createMessageType

public MessageType createMessageType()
Returns a new object of class 'Message Type'.

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

createMessageType

public MessageType createMessageType(org.eclipse.emf.ecore.ENamedElement behavioralFeature)
Creates the type for the messages representing invocation of the specified behavioralFeature.

Parameters:
behavioralFeature - either an EOperation or an EClass representing the received signal
Returns:
the message type

createElementType

public ElementType createElementType()
Returns a new object of class 'Element Type'.

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

createInvalidType

public InvalidType createInvalidType()
Returns a new object of class 'Invalid Type'.

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

createTypeType

public TypeType createTypeType()
Returns a new object of class 'Type Type'.

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

createTypeType

public TypeType createTypeType(org.eclipse.emf.ecore.EClassifier type)

createPrimitiveBoolean

public PrimitiveBoolean createPrimitiveBoolean()
Returns a new object of class 'Primitive Boolean'.

Returns:
a new object of class 'Primitive Boolean'.

createPrimitiveInteger

public PrimitiveInteger createPrimitiveInteger()
Returns a new object of class 'Primitive Integer'.

Returns:
a new object of class 'Primitive Integer'.

createPrimitiveReal

public PrimitiveReal createPrimitiveReal()
Returns a new object of class 'Primitive Real'.

Returns:
a new object of class 'Primitive Real'.

createPrimitiveString

public PrimitiveString createPrimitiveString()
Returns a new object of class 'Primitive String'.

Returns:
a new object of class 'Primitive String'.

createAnyType

public AnyType createAnyType()
Returns a new object of class 'Any Type'.

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

getTypesPackage

public TypesPackage getTypesPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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