org.eclipse.ocl.types.impl
Class TypesFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by org.eclipse.ocl.types.impl.TypesFactoryImpl
All Implemented Interfaces:
TypesFactory

public class TypesFactoryImpl
extends EFactoryImpl
implements TypesFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface org.eclipse.ocl.types.TypesFactory
eINSTANCE
 
Constructor Summary
TypesFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 EObject create(EClass eClass)
           
<O> AnyType<O>
createAnyType()
           
<C,O> BagType<C,O>
createBagType()
           
<C,O> BagType<C,O>
createBagType(C elementType)
           
<C,O> CollectionType<C,O>
createCollectionType()
           
<C,O> CollectionType<C,O>
createCollectionType(C elementType)
           
<C,O> CollectionType<C,O>
createCollectionType(CollectionKind kind, C elementType)
           
 ElementType createElementType()
           
<O> InvalidType<O>
createInvalidType()
           
<C,O,P> MessageType<C,O,P>
createMessageType()
           
<C,O,P> MessageType<C,O,P>
createOperationMessageType(O operation)
           
<C,O> OrderedSetType<C,O>
createOrderedSetType()
           
<C,O> OrderedSetType<C,O>
createOrderedSetType(C elementType)
           
<O> PrimitiveType<O>
createPrimitiveType()
           
<C,O> SequenceType<C,O>
createSequenceType()
           
<C,O> SequenceType<C,O>
createSequenceType(C elementType)
           
<C,O> SetType<C,O>
createSetType()
           
<C,O> SetType<C,O>
createSetType(C elementType)
           
<C,O,P> MessageType<C,O,P>
createSignalMessageType(C signal)
           
<O> TemplateParameterType<O>
createTemplateParameterType()
           
<O,P> TupleType<O,P>
createTupleType()
           
<C,O,P> TupleType<O,P>
createTupleType(java.util.List<? extends TypedElement<C>> parts)
           
<C,O> TypeType<C,O>
createTypeType()
           
<C,O> TypeType<C,O>
createTypeType(C type)
           
<O> VoidType<O>
createVoidType()
           
static TypesPackage getPackage()
          Deprecated.  
 TypesPackage getTypesPackage()
           
static TypesFactory 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

TypesFactoryImpl

public TypesFactoryImpl()
Creates an instance of the factory.

Method Detail

init

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


create

public EObject create(EClass eClass)


createAnyType

public <O> AnyType<O> createAnyType()

Specified by:
createAnyType in interface TypesFactory
Returns:
a new object of class 'Any Type'.

createBagType

public <C,O> BagType<C,O> createBagType()

Specified by:
createBagType in interface TypesFactory
Returns:
a new object of class 'Bag Type'.

createCollectionType

public <C,O> CollectionType<C,O> createCollectionType()

Specified by:
createCollectionType in interface TypesFactory
Returns:
a new object of class 'Collection Type'.

createElementType

public ElementType createElementType()

Specified by:
createElementType in interface TypesFactory
Returns:
a new object of class 'Element Type'.

createInvalidType

public <O> InvalidType<O> createInvalidType()

Specified by:
createInvalidType in interface TypesFactory
Returns:
a new object of class 'Invalid Type'.

createMessageType

public <C,O,P> MessageType<C,O,P> createMessageType()

Specified by:
createMessageType in interface TypesFactory
Returns:
a new object of class 'Message Type'.

createOrderedSetType

public <C,O> OrderedSetType<C,O> createOrderedSetType()

Specified by:
createOrderedSetType in interface TypesFactory
Returns:
a new object of class 'Ordered Set Type'.

createPrimitiveType

public <O> PrimitiveType<O> createPrimitiveType()

Specified by:
createPrimitiveType in interface TypesFactory
Returns:
a new object of class 'Primitive Type'.

createSequenceType

public <C,O> SequenceType<C,O> createSequenceType()

Specified by:
createSequenceType in interface TypesFactory
Returns:
a new object of class 'Sequence Type'.

createSetType

public <C,O> SetType<C,O> createSetType()

Specified by:
createSetType in interface TypesFactory
Returns:
a new object of class 'Set Type'.

createTupleType

public <O,P> TupleType<O,P> createTupleType()

Specified by:
createTupleType in interface TypesFactory
Returns:
a new object of class 'Tuple Type'.

createTypeType

public <C,O> TypeType<C,O> createTypeType()

Specified by:
createTypeType in interface TypesFactory
Returns:
a new object of class 'Type Type'.

createVoidType

public <O> VoidType<O> createVoidType()

Specified by:
createVoidType in interface TypesFactory
Returns:
a new object of class 'Void Type'.

createTemplateParameterType

public <O> TemplateParameterType<O> createTemplateParameterType()

Specified by:
createTemplateParameterType in interface TypesFactory
Returns:
a new object of class 'Template Parameter Type'.
Since:
3.0

getTypesPackage

public TypesPackage getTypesPackage()

Specified by:
getTypesPackage in interface TypesFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static TypesPackage getPackage()
Deprecated. 


createBagType

public <C,O> BagType<C,O> createBagType(C elementType)

createCollectionType

public <C,O> CollectionType<C,O> createCollectionType(C elementType)

createCollectionType

public <C,O> CollectionType<C,O> createCollectionType(CollectionKind kind,
                                                      C elementType)

createOperationMessageType

public <C,O,P> MessageType<C,O,P> createOperationMessageType(O operation)

createOrderedSetType

public <C,O> OrderedSetType<C,O> createOrderedSetType(C elementType)

createSequenceType

public <C,O> SequenceType<C,O> createSequenceType(C elementType)

createSetType

public <C,O> SetType<C,O> createSetType(C elementType)

createSignalMessageType

public <C,O,P> MessageType<C,O,P> createSignalMessageType(C signal)

createTupleType

public <C,O,P> TupleType<O,P> createTupleType(java.util.List<? extends TypedElement<C>> parts)

createTypeType

public <C,O> TypeType<C,O> createTypeType(C type)

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