Interface CodeFactory
- 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:
CodeFactoryImpl
public interface CodeFactory
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:
CodePackage
-
Field Summary
Fields Modifier and Type Field Description static CodeFactoryeINSTANCEThe singleton instance of the factory. -
Method Summary
Modifier and Type Method Description ArrayTypecreateArrayType()Returns a new object of class 'Array Type'.BagTypecreateBagType()Returns a new object of class 'Bag Type'.BitstringTypecreateBitstringType()Returns a new object of class 'Bitstring Type'.BitTypecreateBitType()Returns a new object of class 'Bit Type'.BooleanTypecreateBooleanType()Returns a new object of class 'Boolean Type'.CallableUnitcreateCallableUnit()Returns a new object of class 'Callable Unit'.CharTypecreateCharType()Returns a new object of class 'Char Type'.ChoiceTypecreateChoiceType()Returns a new object of class 'Choice Type'.ClassUnitcreateClassUnit()Returns a new object of class 'Class Unit'.CodeAssemblycreateCodeAssembly()Returns a new object of class 'Assembly'.CodeElementcreateCodeElement()Returns a new object of class 'Element'.CodeModelcreateCodeModel()Returns a new object of class 'Model'.CodeRelationshipcreateCodeRelationship()Returns a new object of class 'Relationship'.CommentUnitcreateCommentUnit()Returns a new object of class 'Comment Unit'.CompilationUnitcreateCompilationUnit()Returns a new object of class 'Compilation Unit'.CompositeTypecreateCompositeType()Returns a new object of class 'Composite Type'.ComputationalObjectcreateComputationalObject()Returns a new object of class 'Computational Object'.ConditionalDirectivecreateConditionalDirective()Returns a new object of class 'Conditional Directive'.ControlElementcreateControlElement()Returns a new object of class 'Control Element'.DataElementcreateDataElement()Returns a new object of class 'Data Element'.DatatypecreateDatatype()Returns a new object of class 'Datatype'.DateTypecreateDateType()Returns a new object of class 'Date Type'.DecimalTypecreateDecimalType()Returns a new object of class 'Decimal Type'.DerivedTypecreateDerivedType()Returns a new object of class 'Derived Type'.EnumeratedTypecreateEnumeratedType()Returns a new object of class 'Enumerated Type'.ExpandscreateExpands()Returns a new object of class 'Expands'.ExtendscreateExtends()Returns a new object of class 'Extends'.FloatTypecreateFloatType()Returns a new object of class 'Float Type'.GeneratedFromcreateGeneratedFrom()Returns a new object of class 'Generated From'.HasTypecreateHasType()Returns a new object of class 'Has Type'.HasValuecreateHasValue()Returns a new object of class 'Has Value'.ImplementationOfcreateImplementationOf()Returns a new object of class 'Implementation Of'.ImplementscreateImplements()Returns a new object of class 'Implements'.ImportscreateImports()Returns a new object of class 'Imports'.IncludeDirectivecreateIncludeDirective()Returns a new object of class 'Include Directive'.IncludescreateIncludes()Returns a new object of class 'Includes'.IndexUnitcreateIndexUnit()Returns a new object of class 'Index Unit'.InstanceOfcreateInstanceOf()Returns a new object of class 'Instance Of'.IntegerTypecreateIntegerType()Returns a new object of class 'Integer Type'.InterfaceUnitcreateInterfaceUnit()Returns a new object of class 'Interface Unit'.ItemUnitcreateItemUnit()Returns a new object of class 'Item Unit'.LanguageUnitcreateLanguageUnit()Returns a new object of class 'Language Unit'.MacroDirectivecreateMacroDirective()Returns a new object of class 'Macro Directive'.MacroUnitcreateMacroUnit()Returns a new object of class 'Macro Unit'.MemberUnitcreateMemberUnit()Returns a new object of class 'Member Unit'.MethodUnitcreateMethodUnit()Returns a new object of class 'Method Unit'.ModulecreateModule()Returns a new object of class 'Module'.NamespaceUnitcreateNamespaceUnit()Returns a new object of class 'Namespace Unit'.OctetstringTypecreateOctetstringType()Returns a new object of class 'Octetstring Type'.OctetTypecreateOctetType()Returns a new object of class 'Octet Type'.OrdinalTypecreateOrdinalType()Returns a new object of class 'Ordinal Type'.PackagecreatePackage()Returns a new object of class 'Package'.ParameterTocreateParameterTo()Returns a new object of class 'Parameter To'.ParameterUnitcreateParameterUnit()Returns a new object of class 'Parameter Unit'.PointerTypecreatePointerType()Returns a new object of class 'Pointer Type'.PreprocessorDirectivecreatePreprocessorDirective()Returns a new object of class 'Preprocessor Directive'.PrimitiveTypecreatePrimitiveType()Returns a new object of class 'Primitive Type'.RangeTypecreateRangeType()Returns a new object of class 'Range Type'.RecordTypecreateRecordType()Returns a new object of class 'Record Type'.RedefinescreateRedefines()Returns a new object of class 'Redefines'.ScaledTypecreateScaledType()Returns a new object of class 'Scaled Type'.SequenceTypecreateSequenceType()Returns a new object of class 'Sequence Type'.SetTypecreateSetType()Returns a new object of class 'Set Type'.SharedUnitcreateSharedUnit()Returns a new object of class 'Shared Unit'.SignaturecreateSignature()Returns a new object of class 'Signature'.StorableUnitcreateStorableUnit()Returns a new object of class 'Storable Unit'.StringTypecreateStringType()Returns a new object of class 'String Type'.SynonymTypecreateSynonymType()Returns a new object of class 'Synonym Type'.TemplateParametercreateTemplateParameter()Returns a new object of class 'Template Parameter'.TemplateTypecreateTemplateType()Returns a new object of class 'Template Type'.TemplateUnitcreateTemplateUnit()Returns a new object of class 'Template Unit'.TimeTypecreateTimeType()Returns a new object of class 'Time Type'.TypeUnitcreateTypeUnit()Returns a new object of class 'Type Unit'.ValuecreateValue()Returns a new object of class 'Value'.ValueElementcreateValueElement()Returns a new object of class 'Value Element'.ValueListcreateValueList()Returns a new object of class 'Value List'.VariantTocreateVariantTo()Returns a new object of class 'Variant To'.VisibleIncreateVisibleIn()Returns a new object of class 'Visible In'.VoidTypecreateVoidType()Returns a new object of class 'Void Type'.CodePackagegetCodePackage()Returns the package supported by this factory.Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, 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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
eINSTANCE
The singleton instance of the factory.
-
-
Method Details
-
createComputationalObject
ComputationalObject createComputationalObject()Returns a new object of class 'Computational Object'.- Returns:
- a new object of class 'Computational Object'.
-
createControlElement
ControlElement createControlElement()Returns a new object of class 'Control Element'.- Returns:
- a new object of class 'Control Element'.
-
createMethodUnit
MethodUnit createMethodUnit()Returns a new object of class 'Method Unit'.- Returns:
- a new object of class 'Method Unit'.
-
createModule
Module createModule()Returns a new object of class 'Module'.- Returns:
- a new object of class 'Module'.
-
createCodeAssembly
CodeAssembly createCodeAssembly()Returns a new object of class 'Assembly'.- Returns:
- a new object of class 'Assembly'.
-
createCallableUnit
CallableUnit createCallableUnit()Returns a new object of class 'Callable Unit'.- Returns:
- a new object of class 'Callable Unit'.
-
createDatatype
Datatype createDatatype()Returns a new object of class 'Datatype'.- Returns:
- a new object of class 'Datatype'.
-
createTemplateUnit
TemplateUnit createTemplateUnit()Returns a new object of class 'Template Unit'.- Returns:
- a new object of class 'Template Unit'.
-
createTemplateParameter
TemplateParameter createTemplateParameter()Returns a new object of class 'Template Parameter'.- Returns:
- a new object of class 'Template Parameter'.
-
createInstanceOf
InstanceOf createInstanceOf()Returns a new object of class 'Instance Of'.- Returns:
- a new object of class 'Instance Of'.
-
createCompilationUnit
CompilationUnit createCompilationUnit()Returns a new object of class 'Compilation Unit'.- Returns:
- a new object of class 'Compilation Unit'.
-
createCodeModel
CodeModel createCodeModel()Returns a new object of class 'Model'.- Returns:
- a new object of class 'Model'.
-
createDerivedType
DerivedType createDerivedType()Returns a new object of class 'Derived Type'.- Returns:
- a new object of class 'Derived Type'.
-
createArrayType
ArrayType createArrayType()Returns a new object of class 'Array Type'.- Returns:
- a new object of class 'Array Type'.
-
createPrimitiveType
PrimitiveType createPrimitiveType()Returns a new object of class 'Primitive Type'.- Returns:
- a new object of class 'Primitive Type'.
-
createBooleanType
BooleanType createBooleanType()Returns a new object of class 'Boolean Type'.- Returns:
- a new object of class 'Boolean Type'.
-
createCharType
CharType createCharType()Returns a new object of class 'Char Type'.- Returns:
- a new object of class 'Char Type'.
-
createClassUnit
ClassUnit createClassUnit()Returns a new object of class 'Class Unit'.- Returns:
- a new object of class 'Class Unit'.
-
createCompositeType
CompositeType createCompositeType()Returns a new object of class 'Composite Type'.- Returns:
- a new object of class 'Composite Type'.
-
createRecordType
RecordType createRecordType()Returns a new object of class 'Record Type'.- Returns:
- a new object of class 'Record Type'.
-
createEnumeratedType
EnumeratedType createEnumeratedType()Returns a new object of class 'Enumerated Type'.- Returns:
- a new object of class 'Enumerated Type'.
-
createExtends
Extends createExtends()Returns a new object of class 'Extends'.- Returns:
- a new object of class 'Extends'.
-
createScaledType
ScaledType createScaledType()Returns a new object of class 'Scaled Type'.- Returns:
- a new object of class 'Scaled Type'.
-
createFloatType
FloatType createFloatType()Returns a new object of class 'Float Type'.- Returns:
- a new object of class 'Float Type'.
-
createHasType
HasType createHasType()Returns a new object of class 'Has Type'.- Returns:
- a new object of class 'Has Type'.
-
createImplementationOf
ImplementationOf createImplementationOf()Returns a new object of class 'Implementation Of'.- Returns:
- a new object of class 'Implementation Of'.
-
createImplements
Implements createImplements()Returns a new object of class 'Implements'.- Returns:
- a new object of class 'Implements'.
-
createIntegerType
IntegerType createIntegerType()Returns a new object of class 'Integer Type'.- Returns:
- a new object of class 'Integer Type'.
-
createInterfaceUnit
InterfaceUnit createInterfaceUnit()Returns a new object of class 'Interface Unit'.- Returns:
- a new object of class 'Interface Unit'.
-
createPointerType
PointerType createPointerType()Returns a new object of class 'Pointer Type'.- Returns:
- a new object of class 'Pointer Type'.
-
createTypeUnit
TypeUnit createTypeUnit()Returns a new object of class 'Type Unit'.- Returns:
- a new object of class 'Type Unit'.
-
createRangeType
RangeType createRangeType()Returns a new object of class 'Range Type'.- Returns:
- a new object of class 'Range Type'.
-
createSignature
Signature createSignature()Returns a new object of class 'Signature'.- Returns:
- a new object of class 'Signature'.
-
createDataElement
DataElement createDataElement()Returns a new object of class 'Data Element'.- Returns:
- a new object of class 'Data Element'.
-
createStringType
StringType createStringType()Returns a new object of class 'String Type'.- Returns:
- a new object of class 'String Type'.
-
createChoiceType
ChoiceType createChoiceType()Returns a new object of class 'Choice Type'.- Returns:
- a new object of class 'Choice Type'.
-
createNamespaceUnit
NamespaceUnit createNamespaceUnit()Returns a new object of class 'Namespace Unit'.- Returns:
- a new object of class 'Namespace Unit'.
-
createVisibleIn
VisibleIn createVisibleIn()Returns a new object of class 'Visible In'.- Returns:
- a new object of class 'Visible In'.
-
createCommentUnit
CommentUnit createCommentUnit()Returns a new object of class 'Comment Unit'.- Returns:
- a new object of class 'Comment Unit'.
-
createDecimalType
DecimalType createDecimalType()Returns a new object of class 'Decimal Type'.- Returns:
- a new object of class 'Decimal Type'.
-
createDateType
DateType createDateType()Returns a new object of class 'Date Type'.- Returns:
- a new object of class 'Date Type'.
-
createTimeType
TimeType createTimeType()Returns a new object of class 'Time Type'.- Returns:
- a new object of class 'Time Type'.
-
createVoidType
VoidType createVoidType()Returns a new object of class 'Void Type'.- Returns:
- a new object of class 'Void Type'.
-
createValueElement
ValueElement createValueElement()Returns a new object of class 'Value Element'.- Returns:
- a new object of class 'Value Element'.
-
createValue
Value createValue()Returns a new object of class 'Value'.- Returns:
- a new object of class 'Value'.
-
createValueList
ValueList createValueList()Returns a new object of class 'Value List'.- Returns:
- a new object of class 'Value List'.
-
createStorableUnit
StorableUnit createStorableUnit()Returns a new object of class 'Storable Unit'.- Returns:
- a new object of class 'Storable Unit'.
-
createMemberUnit
MemberUnit createMemberUnit()Returns a new object of class 'Member Unit'.- Returns:
- a new object of class 'Member Unit'.
-
createParameterUnit
ParameterUnit createParameterUnit()Returns a new object of class 'Parameter Unit'.- Returns:
- a new object of class 'Parameter Unit'.
-
createItemUnit
ItemUnit createItemUnit()Returns a new object of class 'Item Unit'.- Returns:
- a new object of class 'Item Unit'.
-
createIndexUnit
IndexUnit createIndexUnit()Returns a new object of class 'Index Unit'.- Returns:
- a new object of class 'Index Unit'.
-
createSynonymType
SynonymType createSynonymType()Returns a new object of class 'Synonym Type'.- Returns:
- a new object of class 'Synonym Type'.
-
createSequenceType
SequenceType createSequenceType()Returns a new object of class 'Sequence Type'.- Returns:
- a new object of class 'Sequence Type'.
-
createBagType
BagType createBagType()Returns a new object of class 'Bag Type'.- Returns:
- a new object of class 'Bag Type'.
-
createSetType
SetType createSetType()Returns a new object of class 'Set Type'.- Returns:
- a new object of class 'Set Type'.
-
createCodeElement
CodeElement createCodeElement()Returns a new object of class 'Element'.- Returns:
- a new object of class 'Element'.
-
createCodeRelationship
CodeRelationship createCodeRelationship()Returns a new object of class 'Relationship'.- Returns:
- a new object of class 'Relationship'.
-
createLanguageUnit
LanguageUnit createLanguageUnit()Returns a new object of class 'Language Unit'.- Returns:
- a new object of class 'Language Unit'.
-
createOrdinalType
OrdinalType createOrdinalType()Returns a new object of class 'Ordinal Type'.- Returns:
- a new object of class 'Ordinal Type'.
-
createBitstringType
BitstringType createBitstringType()Returns a new object of class 'Bitstring Type'.- Returns:
- a new object of class 'Bitstring Type'.
-
createOctetType
OctetType createOctetType()Returns a new object of class 'Octet Type'.- Returns:
- a new object of class 'Octet Type'.
-
createOctetstringType
OctetstringType createOctetstringType()Returns a new object of class 'Octetstring Type'.- Returns:
- a new object of class 'Octetstring Type'.
-
createBitType
BitType createBitType()Returns a new object of class 'Bit Type'.- Returns:
- a new object of class 'Bit Type'.
-
createImports
Imports createImports()Returns a new object of class 'Imports'.- Returns:
- a new object of class 'Imports'.
-
createPackage
Package createPackage()Returns a new object of class 'Package'.- Returns:
- a new object of class 'Package'.
-
createParameterTo
ParameterTo createParameterTo()Returns a new object of class 'Parameter To'.- Returns:
- a new object of class 'Parameter To'.
-
createTemplateType
TemplateType createTemplateType()Returns a new object of class 'Template Type'.- Returns:
- a new object of class 'Template Type'.
-
createPreprocessorDirective
PreprocessorDirective createPreprocessorDirective()Returns a new object of class 'Preprocessor Directive'.- Returns:
- a new object of class 'Preprocessor Directive'.
-
createMacroDirective
MacroDirective createMacroDirective()Returns a new object of class 'Macro Directive'.- Returns:
- a new object of class 'Macro Directive'.
-
createMacroUnit
MacroUnit createMacroUnit()Returns a new object of class 'Macro Unit'.- Returns:
- a new object of class 'Macro Unit'.
-
createConditionalDirective
ConditionalDirective createConditionalDirective()Returns a new object of class 'Conditional Directive'.- Returns:
- a new object of class 'Conditional Directive'.
-
createIncludeDirective
IncludeDirective createIncludeDirective()Returns a new object of class 'Include Directive'.- Returns:
- a new object of class 'Include Directive'.
-
createVariantTo
VariantTo createVariantTo()Returns a new object of class 'Variant To'.- Returns:
- a new object of class 'Variant To'.
-
createExpands
Expands createExpands()Returns a new object of class 'Expands'.- Returns:
- a new object of class 'Expands'.
-
createRedefines
Redefines createRedefines()Returns a new object of class 'Redefines'.- Returns:
- a new object of class 'Redefines'.
-
createGeneratedFrom
GeneratedFrom createGeneratedFrom()Returns a new object of class 'Generated From'.- Returns:
- a new object of class 'Generated From'.
-
createIncludes
Includes createIncludes()Returns a new object of class 'Includes'.- Returns:
- a new object of class 'Includes'.
-
createHasValue
HasValue createHasValue()Returns a new object of class 'Has Value'.- Returns:
- a new object of class 'Has Value'.
-
getCodePackage
CodePackage getCodePackage()Returns the package supported by this factory.- Returns:
- the package supported by this factory.
-