org.eclipse.ocl.types.impl
Class TypesFactoryImpl

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.ocl.types.impl.TypesFactoryImpl
All Implemented Interfaces:
Notifier, EFactory, EModelElement, EObject, InternalEObject, TypesFactory

public class TypesFactoryImpl
extends EFactoryImpl
implements TypesFactory

An implementation of the model Factory.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.ocl.types.TypesFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
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,P> TupleType<O,P>
createTupleType()
           
<C,O,P> TupleType<O,P>
createTupleType(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 org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, convertToString, createFromString, createFromString, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, 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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

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)

Specified by:
create in interface EFactory
Overrides:
create in class EFactoryImpl

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'.

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(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.