org.eclipse.emf.ocl.types.impl
Class TypesFactoryImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.emf.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.
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.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 interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
TypesFactoryImpl
public TypesFactoryImpl()
- Creates an instance of the factory.
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
createBagType
public BagType createBagType()
- Description copied from interface:
TypesFactory
- Returns a new object of class 'Bag Type'.
- Specified by:
createBagType
in interface TypesFactory
- Returns:
- a new object of class 'Bag Type'.
createCollectionType
public CollectionType createCollectionType()
- Description copied from interface:
TypesFactory
- Returns a new object of class 'Collection Type'.
- Specified by:
createCollectionType
in interface TypesFactory
- Returns:
- a new object of class 'Collection Type'.
createBagType
public BagType createBagType(EClassifier elementType)
- Specified by:
createBagType
in interface TypesFactory
createCollectionType
public CollectionType createCollectionType(EClassifier elementType)
- Specified by:
createCollectionType
in interface TypesFactory
createCollectionType
public CollectionType createCollectionType(CollectionKind kind,
EClassifier elementType)
- Specified by:
createCollectionType
in interface TypesFactory
createTupleType
public TupleType createTupleType(List parts)
- Description copied from interface:
TypesFactory
- Creates a tuple type based on tthe specified part descriptions.
- Specified by:
createTupleType
in interface TypesFactory
- Parameters:
parts
- a list of TypedElement
s describing the tuple parts
- Returns:
- the new tuple type
createOrderedSetType
public OrderedSetType createOrderedSetType()
- Description copied from interface:
TypesFactory
- Returns a new object of class 'Ordered Set Type'.
- Specified by:
createOrderedSetType
in interface TypesFactory
- Returns:
- a new object of class 'Ordered Set Type'.
createOrderedSetType
public OrderedSetType createOrderedSetType(EClassifier elementType)
- Specified by:
createOrderedSetType
in interface TypesFactory
createSequenceType
public SequenceType createSequenceType()
- Description copied from interface:
TypesFactory
- Returns a new object of class 'Sequence Type'.
- Specified by:
createSequenceType
in interface TypesFactory
- Returns:
- a new object of class 'Sequence Type'.
createSequenceType
public SequenceType createSequenceType(EClassifier elementType)
- Specified by:
createSequenceType
in interface TypesFactory
createSetType
public SetType createSetType()
- Description copied from interface:
TypesFactory
- Returns a new object of class 'Set Type'.
- Specified by:
createSetType
in interface TypesFactory
- Returns:
- a new object of class 'Set Type'.
createSetType
public SetType createSetType(EClassifier elementType)
- Specified by:
createSetType
in interface TypesFactory
createTupleType
public TupleType createTupleType()
-
- Specified by:
createTupleType
in interface TypesFactory
- Returns:
- a new object of class 'Tuple Type'.
createVoidType
public VoidType createVoidType()
-
- Specified by:
createVoidType
in interface TypesFactory
- Returns:
- a new object of class 'Void Type'.
createMessageType
public MessageType createMessageType()
-
- Specified by:
createMessageType
in interface TypesFactory
- Returns:
- a new object of class 'Message Type'.
createMessageType
public MessageType createMessageType(ENamedElement behavioralFeature)
- Description copied from interface:
TypesFactory
- Creates the type for the messages representing invocation of the
specified behavioralFeature.
- Specified by:
createMessageType
in interface TypesFactory
- Parameters:
behavioralFeature
- either an EOperation
or an
EClass
representing the received signal
- Returns:
- the message type
createElementType
public ElementType createElementType()
-
- Specified by:
createElementType
in interface TypesFactory
- Returns:
- a new object of class 'Element Type'.
createInvalidType
public InvalidType createInvalidType()
-
- Specified by:
createInvalidType
in interface TypesFactory
- Returns:
- a new object of class 'Invalid Type'.
createTypeType
public TypeType createTypeType()
-
- Specified by:
createTypeType
in interface TypesFactory
- Returns:
- a new object of class 'Type Type'.
createTypeType
public TypeType createTypeType(EClassifier type)
- Specified by:
createTypeType
in interface TypesFactory
createPrimitiveBoolean
public PrimitiveBoolean createPrimitiveBoolean()
-
- Specified by:
createPrimitiveBoolean
in interface TypesFactory
- Returns:
- a new object of class 'Primitive Boolean'.
createPrimitiveInteger
public PrimitiveInteger createPrimitiveInteger()
-
- Specified by:
createPrimitiveInteger
in interface TypesFactory
- Returns:
- a new object of class 'Primitive Integer'.
createPrimitiveReal
public PrimitiveReal createPrimitiveReal()
-
- Specified by:
createPrimitiveReal
in interface TypesFactory
- Returns:
- a new object of class 'Primitive Real'.
createPrimitiveString
public PrimitiveString createPrimitiveString()
-
- Specified by:
createPrimitiveString
in interface TypesFactory
- Returns:
- a new object of class 'Primitive String'.
createAnyType
public AnyType createAnyType()
-
- Specified by:
createAnyType
in interface TypesFactory
- Returns:
- a new object of class 'Any 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.
-