Class CodeFactoryImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.gmt.modisco.omg.kdm.code.impl.CodeFactoryImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EFactory,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory,CodeFactory
public class CodeFactoryImpl extends org.eclipse.emf.ecore.impl.EFactoryImpl implements CodeFactory
An implementation of the model Factory.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackageFields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGFields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.gmt.modisco.omg.kdm.code.CodeFactory
eINSTANCEFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors Constructor Description CodeFactoryImpl()Creates an instance of the factory. -
Method Summary
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, create, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, splitMethods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozenMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toStringMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EFactory
getEPackage, setEPackageMethods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotationsMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
CodeFactoryImpl
public CodeFactoryImpl()Creates an instance of the factory.
-
-
Method Details
-
init
Creates the default factory implementation. -
create
public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)- Specified by:
createin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createFromString
- Specified by:
createFromStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
createFromStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
convertToString
- Specified by:
convertToStringin interfaceorg.eclipse.emf.ecore.EFactory- Overrides:
convertToStringin classorg.eclipse.emf.ecore.impl.EFactoryImpl
-
createComputationalObject
- Specified by:
createComputationalObjectin interfaceCodeFactory- Returns:
- a new object of class 'Computational Object'.
-
createControlElement
- Specified by:
createControlElementin interfaceCodeFactory- Returns:
- a new object of class 'Control Element'.
-
createMethodUnit
- Specified by:
createMethodUnitin interfaceCodeFactory- Returns:
- a new object of class 'Method Unit'.
-
createModule
- Specified by:
createModulein interfaceCodeFactory- Returns:
- a new object of class 'Module'.
-
createCodeAssembly
- Specified by:
createCodeAssemblyin interfaceCodeFactory- Returns:
- a new object of class 'Assembly'.
-
createCallableUnit
- Specified by:
createCallableUnitin interfaceCodeFactory- Returns:
- a new object of class 'Callable Unit'.
-
createDatatype
- Specified by:
createDatatypein interfaceCodeFactory- Returns:
- a new object of class 'Datatype'.
-
createTemplateUnit
- Specified by:
createTemplateUnitin interfaceCodeFactory- Returns:
- a new object of class 'Template Unit'.
-
createTemplateParameter
- Specified by:
createTemplateParameterin interfaceCodeFactory- Returns:
- a new object of class 'Template Parameter'.
-
createInstanceOf
- Specified by:
createInstanceOfin interfaceCodeFactory- Returns:
- a new object of class 'Instance Of'.
-
createCompilationUnit
- Specified by:
createCompilationUnitin interfaceCodeFactory- Returns:
- a new object of class 'Compilation Unit'.
-
createCodeModel
- Specified by:
createCodeModelin interfaceCodeFactory- Returns:
- a new object of class 'Model'.
-
createDerivedType
- Specified by:
createDerivedTypein interfaceCodeFactory- Returns:
- a new object of class 'Derived Type'.
-
createArrayType
- Specified by:
createArrayTypein interfaceCodeFactory- Returns:
- a new object of class 'Array Type'.
-
createPrimitiveType
- Specified by:
createPrimitiveTypein interfaceCodeFactory- Returns:
- a new object of class 'Primitive Type'.
-
createBooleanType
- Specified by:
createBooleanTypein interfaceCodeFactory- Returns:
- a new object of class 'Boolean Type'.
-
createCharType
- Specified by:
createCharTypein interfaceCodeFactory- Returns:
- a new object of class 'Char Type'.
-
createClassUnit
- Specified by:
createClassUnitin interfaceCodeFactory- Returns:
- a new object of class 'Class Unit'.
-
createCompositeType
- Specified by:
createCompositeTypein interfaceCodeFactory- Returns:
- a new object of class 'Composite Type'.
-
createRecordType
- Specified by:
createRecordTypein interfaceCodeFactory- Returns:
- a new object of class 'Record Type'.
-
createEnumeratedType
- Specified by:
createEnumeratedTypein interfaceCodeFactory- Returns:
- a new object of class 'Enumerated Type'.
-
createExtends
- Specified by:
createExtendsin interfaceCodeFactory- Returns:
- a new object of class 'Extends'.
-
createScaledType
- Specified by:
createScaledTypein interfaceCodeFactory- Returns:
- a new object of class 'Scaled Type'.
-
createFloatType
- Specified by:
createFloatTypein interfaceCodeFactory- Returns:
- a new object of class 'Float Type'.
-
createHasType
- Specified by:
createHasTypein interfaceCodeFactory- Returns:
- a new object of class 'Has Type'.
-
createImplementationOf
- Specified by:
createImplementationOfin interfaceCodeFactory- Returns:
- a new object of class 'Implementation Of'.
-
createImplements
- Specified by:
createImplementsin interfaceCodeFactory- Returns:
- a new object of class 'Implements'.
-
createIntegerType
- Specified by:
createIntegerTypein interfaceCodeFactory- Returns:
- a new object of class 'Integer Type'.
-
createInterfaceUnit
- Specified by:
createInterfaceUnitin interfaceCodeFactory- Returns:
- a new object of class 'Interface Unit'.
-
createPointerType
- Specified by:
createPointerTypein interfaceCodeFactory- Returns:
- a new object of class 'Pointer Type'.
-
createTypeUnit
- Specified by:
createTypeUnitin interfaceCodeFactory- Returns:
- a new object of class 'Type Unit'.
-
createRangeType
- Specified by:
createRangeTypein interfaceCodeFactory- Returns:
- a new object of class 'Range Type'.
-
createSignature
- Specified by:
createSignaturein interfaceCodeFactory- Returns:
- a new object of class 'Signature'.
-
createDataElement
- Specified by:
createDataElementin interfaceCodeFactory- Returns:
- a new object of class 'Data Element'.
-
createStringType
- Specified by:
createStringTypein interfaceCodeFactory- Returns:
- a new object of class 'String Type'.
-
createChoiceType
- Specified by:
createChoiceTypein interfaceCodeFactory- Returns:
- a new object of class 'Choice Type'.
-
createNamespaceUnit
- Specified by:
createNamespaceUnitin interfaceCodeFactory- Returns:
- a new object of class 'Namespace Unit'.
-
createVisibleIn
- Specified by:
createVisibleInin interfaceCodeFactory- Returns:
- a new object of class 'Visible In'.
-
createCommentUnit
- Specified by:
createCommentUnitin interfaceCodeFactory- Returns:
- a new object of class 'Comment Unit'.
-
createDecimalType
- Specified by:
createDecimalTypein interfaceCodeFactory- Returns:
- a new object of class 'Decimal Type'.
-
createDateType
- Specified by:
createDateTypein interfaceCodeFactory- Returns:
- a new object of class 'Date Type'.
-
createTimeType
- Specified by:
createTimeTypein interfaceCodeFactory- Returns:
- a new object of class 'Time Type'.
-
createVoidType
- Specified by:
createVoidTypein interfaceCodeFactory- Returns:
- a new object of class 'Void Type'.
-
createValueElement
- Specified by:
createValueElementin interfaceCodeFactory- Returns:
- a new object of class 'Value Element'.
-
createValue
- Specified by:
createValuein interfaceCodeFactory- Returns:
- a new object of class 'Value'.
-
createValueList
- Specified by:
createValueListin interfaceCodeFactory- Returns:
- a new object of class 'Value List'.
-
createStorableUnit
- Specified by:
createStorableUnitin interfaceCodeFactory- Returns:
- a new object of class 'Storable Unit'.
-
createMemberUnit
- Specified by:
createMemberUnitin interfaceCodeFactory- Returns:
- a new object of class 'Member Unit'.
-
createParameterUnit
- Specified by:
createParameterUnitin interfaceCodeFactory- Returns:
- a new object of class 'Parameter Unit'.
-
createItemUnit
- Specified by:
createItemUnitin interfaceCodeFactory- Returns:
- a new object of class 'Item Unit'.
-
createIndexUnit
- Specified by:
createIndexUnitin interfaceCodeFactory- Returns:
- a new object of class 'Index Unit'.
-
createSynonymType
- Specified by:
createSynonymTypein interfaceCodeFactory- Returns:
- a new object of class 'Synonym Type'.
-
createSequenceType
- Specified by:
createSequenceTypein interfaceCodeFactory- Returns:
- a new object of class 'Sequence Type'.
-
createBagType
- Specified by:
createBagTypein interfaceCodeFactory- Returns:
- a new object of class 'Bag Type'.
-
createSetType
- Specified by:
createSetTypein interfaceCodeFactory- Returns:
- a new object of class 'Set Type'.
-
createCodeElement
- Specified by:
createCodeElementin interfaceCodeFactory- Returns:
- a new object of class 'Element'.
-
createCodeRelationship
- Specified by:
createCodeRelationshipin interfaceCodeFactory- Returns:
- a new object of class 'Relationship'.
-
createLanguageUnit
- Specified by:
createLanguageUnitin interfaceCodeFactory- Returns:
- a new object of class 'Language Unit'.
-
createOrdinalType
- Specified by:
createOrdinalTypein interfaceCodeFactory- Returns:
- a new object of class 'Ordinal Type'.
-
createBitstringType
- Specified by:
createBitstringTypein interfaceCodeFactory- Returns:
- a new object of class 'Bitstring Type'.
-
createOctetType
- Specified by:
createOctetTypein interfaceCodeFactory- Returns:
- a new object of class 'Octet Type'.
-
createOctetstringType
- Specified by:
createOctetstringTypein interfaceCodeFactory- Returns:
- a new object of class 'Octetstring Type'.
-
createBitType
- Specified by:
createBitTypein interfaceCodeFactory- Returns:
- a new object of class 'Bit Type'.
-
createImports
- Specified by:
createImportsin interfaceCodeFactory- Returns:
- a new object of class 'Imports'.
-
createPackage
- Specified by:
createPackagein interfaceCodeFactory- Returns:
- a new object of class 'Package'.
-
createParameterTo
- Specified by:
createParameterToin interfaceCodeFactory- Returns:
- a new object of class 'Parameter To'.
-
createTemplateType
- Specified by:
createTemplateTypein interfaceCodeFactory- Returns:
- a new object of class 'Template Type'.
-
createPreprocessorDirective
- Specified by:
createPreprocessorDirectivein interfaceCodeFactory- Returns:
- a new object of class 'Preprocessor Directive'.
-
createMacroDirective
- Specified by:
createMacroDirectivein interfaceCodeFactory- Returns:
- a new object of class 'Macro Directive'.
-
createMacroUnit
- Specified by:
createMacroUnitin interfaceCodeFactory- Returns:
- a new object of class 'Macro Unit'.
-
createConditionalDirective
- Specified by:
createConditionalDirectivein interfaceCodeFactory- Returns:
- a new object of class 'Conditional Directive'.
-
createIncludeDirective
- Specified by:
createIncludeDirectivein interfaceCodeFactory- Returns:
- a new object of class 'Include Directive'.
-
createVariantTo
- Specified by:
createVariantToin interfaceCodeFactory- Returns:
- a new object of class 'Variant To'.
-
createExpands
- Specified by:
createExpandsin interfaceCodeFactory- Returns:
- a new object of class 'Expands'.
-
createRedefines
- Specified by:
createRedefinesin interfaceCodeFactory- Returns:
- a new object of class 'Redefines'.
-
createGeneratedFrom
- Specified by:
createGeneratedFromin interfaceCodeFactory- Returns:
- a new object of class 'Generated From'.
-
createIncludes
- Specified by:
createIncludesin interfaceCodeFactory- Returns:
- a new object of class 'Includes'.
-
createHasValue
- Specified by:
createHasValuein interfaceCodeFactory- Returns:
- a new object of class 'Has Value'.
-
createMethodKindFromString
public MethodKind createMethodKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertMethodKindToString
public String convertMethodKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createParameterKindFromString
public ParameterKind createParameterKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertParameterKindToString
public String convertParameterKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createExportKindFromString
public ExportKind createExportKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertExportKindToString
public String convertExportKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createStorableKindFromString
public StorableKind createStorableKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertStorableKindToString
public String convertStorableKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createCallableKindFromString
public CallableKind createCallableKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertCallableKindToString
public String convertCallableKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
createMacroKindFromString
public MacroKind createMacroKindFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue) -
convertMacroKindToString
public String convertMacroKindToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue) -
getCodePackage
- Specified by:
getCodePackagein interfaceCodeFactory- Returns:
- the package supported by this factory.
-
getPackage
Deprecated.
-