org.eclipse.gmt.modisco.omg.kdm.code
Interface CodeFactory


public interface CodeFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
CodePackage
Generated:

Field Summary
static CodeFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 ArrayType createArrayType()
          Returns a new object of class 'Array Type'.
 BagType createBagType()
          Returns a new object of class 'Bag Type'.
 BitstringType createBitstringType()
          Returns a new object of class 'Bitstring Type'.
 BitType createBitType()
          Returns a new object of class 'Bit Type'.
 BooleanType createBooleanType()
          Returns a new object of class 'Boolean Type'.
 CallableUnit createCallableUnit()
          Returns a new object of class 'Callable Unit'.
 CharType createCharType()
          Returns a new object of class 'Char Type'.
 ChoiceType createChoiceType()
          Returns a new object of class 'Choice Type'.
 ClassUnit createClassUnit()
          Returns a new object of class 'Class Unit'.
 CodeAssembly createCodeAssembly()
          Returns a new object of class 'Assembly'.
 CodeElement createCodeElement()
          Returns a new object of class 'Element'.
 CodeModel createCodeModel()
          Returns a new object of class 'Model'.
 CodeRelationship createCodeRelationship()
          Returns a new object of class 'Relationship'.
 CommentUnit createCommentUnit()
          Returns a new object of class 'Comment Unit'.
 CompilationUnit createCompilationUnit()
          Returns a new object of class 'Compilation Unit'.
 CompositeType createCompositeType()
          Returns a new object of class 'Composite Type'.
 ComputationalObject createComputationalObject()
          Returns a new object of class 'Computational Object'.
 ConditionalDirective createConditionalDirective()
          Returns a new object of class 'Conditional Directive'.
 ControlElement createControlElement()
          Returns a new object of class 'Control Element'.
 DataElement createDataElement()
          Returns a new object of class 'Data Element'.
 Datatype createDatatype()
          Returns a new object of class 'Datatype'.
 DateType createDateType()
          Returns a new object of class 'Date Type'.
 DecimalType createDecimalType()
          Returns a new object of class 'Decimal Type'.
 DerivedType createDerivedType()
          Returns a new object of class 'Derived Type'.
 EnumeratedType createEnumeratedType()
          Returns a new object of class 'Enumerated Type'.
 Expands createExpands()
          Returns a new object of class 'Expands'.
 Extends createExtends()
          Returns a new object of class 'Extends'.
 FloatType createFloatType()
          Returns a new object of class 'Float Type'.
 GeneratedFrom createGeneratedFrom()
          Returns a new object of class 'Generated From'.
 HasType createHasType()
          Returns a new object of class 'Has Type'.
 HasValue createHasValue()
          Returns a new object of class 'Has Value'.
 ImplementationOf createImplementationOf()
          Returns a new object of class 'Implementation Of'.
 Implements createImplements()
          Returns a new object of class 'Implements'.
 Imports createImports()
          Returns a new object of class 'Imports'.
 IncludeDirective createIncludeDirective()
          Returns a new object of class 'Include Directive'.
 Includes createIncludes()
          Returns a new object of class 'Includes'.
 IndexUnit createIndexUnit()
          Returns a new object of class 'Index Unit'.
 InstanceOf createInstanceOf()
          Returns a new object of class 'Instance Of'.
 IntegerType createIntegerType()
          Returns a new object of class 'Integer Type'.
 InterfaceUnit createInterfaceUnit()
          Returns a new object of class 'Interface Unit'.
 ItemUnit createItemUnit()
          Returns a new object of class 'Item Unit'.
 LanguageUnit createLanguageUnit()
          Returns a new object of class 'Language Unit'.
 MacroDirective createMacroDirective()
          Returns a new object of class 'Macro Directive'.
 MacroUnit createMacroUnit()
          Returns a new object of class 'Macro Unit'.
 MemberUnit createMemberUnit()
          Returns a new object of class 'Member Unit'.
 MethodUnit createMethodUnit()
          Returns a new object of class 'Method Unit'.
 Module createModule()
          Returns a new object of class 'Module'.
 Namespace createNamespace()
          Returns a new object of class 'Namespace'.
 OctetstringType createOctetstringType()
          Returns a new object of class 'Octetstring Type'.
 OctetType createOctetType()
          Returns a new object of class 'Octet Type'.
 OrdinalType createOrdinalType()
          Returns a new object of class 'Ordinal Type'.
 Package createPackage()
          Returns a new object of class 'Package'.
 ParameterTo createParameterTo()
          Returns a new object of class 'Parameter To'.
 ParameterUnit createParameterUnit()
          Returns a new object of class 'Parameter Unit'.
 PointerType createPointerType()
          Returns a new object of class 'Pointer Type'.
 PreprocessorDirective createPreprocessorDirective()
          Returns a new object of class 'Preprocessor Directive'.
 PrimitiveType createPrimitiveType()
          Returns a new object of class 'Primitive Type'.
 RangeType createRangeType()
          Returns a new object of class 'Range Type'.
 RecordType createRecordType()
          Returns a new object of class 'Record Type'.
 Redefines createRedefines()
          Returns a new object of class 'Redefines'.
 ScaledType createScaledType()
          Returns a new object of class 'Scaled Type'.
 SequenceType createSequenceType()
          Returns a new object of class 'Sequence Type'.
 SetType createSetType()
          Returns a new object of class 'Set Type'.
 SharedUnit createSharedUnit()
          Returns a new object of class 'Shared Unit'.
 Signature createSignature()
          Returns a new object of class 'Signature'.
 StorableUnit createStorableUnit()
          Returns a new object of class 'Storable Unit'.
 StringType createStringType()
          Returns a new object of class 'String Type'.
 SynonymUnit createSynonymUnit()
          Returns a new object of class 'Synonym Unit'.
 TemplateParameter createTemplateParameter()
          Returns a new object of class 'Template Parameter'.
 TemplateType createTemplateType()
          Returns a new object of class 'Template Type'.
 TemplateUnit createTemplateUnit()
          Returns a new object of class 'Template Unit'.
 TimeType createTimeType()
          Returns a new object of class 'Time Type'.
 TypeUnit createTypeUnit()
          Returns a new object of class 'Type Unit'.
 Value createValue()
          Returns a new object of class 'Value'.
 ValueList createValueList()
          Returns a new object of class 'Value List'.
 VariantTo createVariantTo()
          Returns a new object of class 'Variant To'.
 VisibleIn createVisibleIn()
          Returns a new object of class 'Visible In'.
 VoidType createVoidType()
          Returns a new object of class 'Void Type'.
 CodePackage getCodePackage()
          Returns the package supported by this factory.
 

Field Detail

eINSTANCE

static final CodeFactory eINSTANCE
The singleton instance of the factory.

Generated:
Method Detail

createCodeModel

CodeModel createCodeModel()
Returns a new object of class 'Model'.

Returns:
a new object of class 'Model'.
Generated:

createComputationalObject

ComputationalObject createComputationalObject()
Returns a new object of class 'Computational Object'.

Returns:
a new object of class 'Computational Object'.
Generated:

createDatatype

Datatype createDatatype()
Returns a new object of class 'Datatype'.

Returns:
a new object of class 'Datatype'.
Generated:

createModule

Module createModule()
Returns a new object of class 'Module'.

Returns:
a new object of class 'Module'.
Generated:

createCompilationUnit

CompilationUnit createCompilationUnit()
Returns a new object of class 'Compilation Unit'.

Returns:
a new object of class 'Compilation Unit'.
Generated:

createSharedUnit

SharedUnit createSharedUnit()
Returns a new object of class 'Shared Unit'.

Returns:
a new object of class 'Shared Unit'.
Generated:

createLanguageUnit

LanguageUnit createLanguageUnit()
Returns a new object of class 'Language Unit'.

Returns:
a new object of class 'Language Unit'.
Generated:

createCodeAssembly

CodeAssembly createCodeAssembly()
Returns a new object of class 'Assembly'.

Returns:
a new object of class 'Assembly'.
Generated:

createPackage

Package createPackage()
Returns a new object of class 'Package'.

Returns:
a new object of class 'Package'.
Generated:

createControlElement

ControlElement createControlElement()
Returns a new object of class 'Control Element'.

Returns:
a new object of class 'Control Element'.
Generated:

createCallableUnit

CallableUnit createCallableUnit()
Returns a new object of class 'Callable Unit'.

Returns:
a new object of class 'Callable Unit'.
Generated:

createMethodUnit

MethodUnit createMethodUnit()
Returns a new object of class 'Method Unit'.

Returns:
a new object of class 'Method Unit'.
Generated:

createDataElement

DataElement createDataElement()
Returns a new object of class 'Data Element'.

Returns:
a new object of class 'Data Element'.
Generated:

createStorableUnit

StorableUnit createStorableUnit()
Returns a new object of class 'Storable Unit'.

Returns:
a new object of class 'Storable Unit'.
Generated:

createItemUnit

ItemUnit createItemUnit()
Returns a new object of class 'Item Unit'.

Returns:
a new object of class 'Item Unit'.
Generated:

createIndexUnit

IndexUnit createIndexUnit()
Returns a new object of class 'Index Unit'.

Returns:
a new object of class 'Index Unit'.
Generated:

createMemberUnit

MemberUnit createMemberUnit()
Returns a new object of class 'Member Unit'.

Returns:
a new object of class 'Member Unit'.
Generated:

createParameterUnit

ParameterUnit createParameterUnit()
Returns a new object of class 'Parameter Unit'.

Returns:
a new object of class 'Parameter Unit'.
Generated:

createValue

Value createValue()
Returns a new object of class 'Value'.

Returns:
a new object of class 'Value'.
Generated:

createValueList

ValueList createValueList()
Returns a new object of class 'Value List'.

Returns:
a new object of class 'Value List'.
Generated:

createPrimitiveType

PrimitiveType createPrimitiveType()
Returns a new object of class 'Primitive Type'.

Returns:
a new object of class 'Primitive Type'.
Generated:

createBooleanType

BooleanType createBooleanType()
Returns a new object of class 'Boolean Type'.

Returns:
a new object of class 'Boolean Type'.
Generated:

createCharType

CharType createCharType()
Returns a new object of class 'Char Type'.

Returns:
a new object of class 'Char Type'.
Generated:

createOrdinalType

OrdinalType createOrdinalType()
Returns a new object of class 'Ordinal Type'.

Returns:
a new object of class 'Ordinal Type'.
Generated:

createDateType

DateType createDateType()
Returns a new object of class 'Date Type'.

Returns:
a new object of class 'Date Type'.
Generated:

createTimeType

TimeType createTimeType()
Returns a new object of class 'Time Type'.

Returns:
a new object of class 'Time Type'.
Generated:

createIntegerType

IntegerType createIntegerType()
Returns a new object of class 'Integer Type'.

Returns:
a new object of class 'Integer Type'.
Generated:

createDecimalType

DecimalType createDecimalType()
Returns a new object of class 'Decimal Type'.

Returns:
a new object of class 'Decimal Type'.
Generated:

createScaledType

ScaledType createScaledType()
Returns a new object of class 'Scaled Type'.

Returns:
a new object of class 'Scaled Type'.
Generated:

createFloatType

FloatType createFloatType()
Returns a new object of class 'Float Type'.

Returns:
a new object of class 'Float Type'.
Generated:

createVoidType

VoidType createVoidType()
Returns a new object of class 'Void Type'.

Returns:
a new object of class 'Void Type'.
Generated:

createStringType

StringType createStringType()
Returns a new object of class 'String Type'.

Returns:
a new object of class 'String Type'.
Generated:

createBitType

BitType createBitType()
Returns a new object of class 'Bit Type'.

Returns:
a new object of class 'Bit Type'.
Generated:

createBitstringType

BitstringType createBitstringType()
Returns a new object of class 'Bitstring Type'.

Returns:
a new object of class 'Bitstring Type'.
Generated:

createOctetType

OctetType createOctetType()
Returns a new object of class 'Octet Type'.

Returns:
a new object of class 'Octet Type'.
Generated:

createOctetstringType

OctetstringType createOctetstringType()
Returns a new object of class 'Octetstring Type'.

Returns:
a new object of class 'Octetstring Type'.
Generated:

createEnumeratedType

EnumeratedType createEnumeratedType()
Returns a new object of class 'Enumerated Type'.

Returns:
a new object of class 'Enumerated Type'.
Generated:

createCompositeType

CompositeType createCompositeType()
Returns a new object of class 'Composite Type'.

Returns:
a new object of class 'Composite Type'.
Generated:

createChoiceType

ChoiceType createChoiceType()
Returns a new object of class 'Choice Type'.

Returns:
a new object of class 'Choice Type'.
Generated:

createRecordType

RecordType createRecordType()
Returns a new object of class 'Record Type'.

Returns:
a new object of class 'Record Type'.
Generated:

createDerivedType

DerivedType createDerivedType()
Returns a new object of class 'Derived Type'.

Returns:
a new object of class 'Derived Type'.
Generated:

createArrayType

ArrayType createArrayType()
Returns a new object of class 'Array Type'.

Returns:
a new object of class 'Array Type'.
Generated:

createPointerType

PointerType createPointerType()
Returns a new object of class 'Pointer Type'.

Returns:
a new object of class 'Pointer Type'.
Generated:

createRangeType

RangeType createRangeType()
Returns a new object of class 'Range Type'.

Returns:
a new object of class 'Range Type'.
Generated:

createBagType

BagType createBagType()
Returns a new object of class 'Bag Type'.

Returns:
a new object of class 'Bag Type'.
Generated:

createSetType

SetType createSetType()
Returns a new object of class 'Set Type'.

Returns:
a new object of class 'Set Type'.
Generated:

createSequenceType

SequenceType createSequenceType()
Returns a new object of class 'Sequence Type'.

Returns:
a new object of class 'Sequence Type'.
Generated:

createSignature

Signature createSignature()
Returns a new object of class 'Signature'.

Returns:
a new object of class 'Signature'.
Generated:

createTypeUnit

TypeUnit createTypeUnit()
Returns a new object of class 'Type Unit'.

Returns:
a new object of class 'Type Unit'.
Generated:

createSynonymUnit

SynonymUnit createSynonymUnit()
Returns a new object of class 'Synonym Unit'.

Returns:
a new object of class 'Synonym Unit'.
Generated:

createClassUnit

ClassUnit createClassUnit()
Returns a new object of class 'Class Unit'.

Returns:
a new object of class 'Class Unit'.
Generated:

createInterfaceUnit

InterfaceUnit createInterfaceUnit()
Returns a new object of class 'Interface Unit'.

Returns:
a new object of class 'Interface Unit'.
Generated:

createTemplateUnit

TemplateUnit createTemplateUnit()
Returns a new object of class 'Template Unit'.

Returns:
a new object of class 'Template Unit'.
Generated:

createTemplateParameter

TemplateParameter createTemplateParameter()
Returns a new object of class 'Template Parameter'.

Returns:
a new object of class 'Template Parameter'.
Generated:

createTemplateType

TemplateType createTemplateType()
Returns a new object of class 'Template Type'.

Returns:
a new object of class 'Template Type'.
Generated:

createInstanceOf

InstanceOf createInstanceOf()
Returns a new object of class 'Instance Of'.

Returns:
a new object of class 'Instance Of'.
Generated:

createParameterTo

ParameterTo createParameterTo()
Returns a new object of class 'Parameter To'.

Returns:
a new object of class 'Parameter To'.
Generated:

createImplements

Implements createImplements()
Returns a new object of class 'Implements'.

Returns:
a new object of class 'Implements'.
Generated:

createImplementationOf

ImplementationOf createImplementationOf()
Returns a new object of class 'Implementation Of'.

Returns:
a new object of class 'Implementation Of'.
Generated:

createHasType

HasType createHasType()
Returns a new object of class 'Has Type'.

Returns:
a new object of class 'Has Type'.
Generated:

createHasValue

HasValue createHasValue()
Returns a new object of class 'Has Value'.

Returns:
a new object of class 'Has Value'.
Generated:

createExtends

Extends createExtends()
Returns a new object of class 'Extends'.

Returns:
a new object of class 'Extends'.
Generated:

createPreprocessorDirective

PreprocessorDirective createPreprocessorDirective()
Returns a new object of class 'Preprocessor Directive'.

Returns:
a new object of class 'Preprocessor Directive'.
Generated:

createMacroUnit

MacroUnit createMacroUnit()
Returns a new object of class 'Macro Unit'.

Returns:
a new object of class 'Macro Unit'.
Generated:

createMacroDirective

MacroDirective createMacroDirective()
Returns a new object of class 'Macro Directive'.

Returns:
a new object of class 'Macro Directive'.
Generated:

createIncludeDirective

IncludeDirective createIncludeDirective()
Returns a new object of class 'Include Directive'.

Returns:
a new object of class 'Include Directive'.
Generated:

createConditionalDirective

ConditionalDirective createConditionalDirective()
Returns a new object of class 'Conditional Directive'.

Returns:
a new object of class 'Conditional Directive'.
Generated:

createExpands

Expands createExpands()
Returns a new object of class 'Expands'.

Returns:
a new object of class 'Expands'.
Generated:

createGeneratedFrom

GeneratedFrom createGeneratedFrom()
Returns a new object of class 'Generated From'.

Returns:
a new object of class 'Generated From'.
Generated:

createIncludes

Includes createIncludes()
Returns a new object of class 'Includes'.

Returns:
a new object of class 'Includes'.
Generated:

createVariantTo

VariantTo createVariantTo()
Returns a new object of class 'Variant To'.

Returns:
a new object of class 'Variant To'.
Generated:

createRedefines

Redefines createRedefines()
Returns a new object of class 'Redefines'.

Returns:
a new object of class 'Redefines'.
Generated:

createCommentUnit

CommentUnit createCommentUnit()
Returns a new object of class 'Comment Unit'.

Returns:
a new object of class 'Comment Unit'.
Generated:

createNamespace

Namespace createNamespace()
Returns a new object of class 'Namespace'.

Returns:
a new object of class 'Namespace'.
Generated:

createVisibleIn

VisibleIn createVisibleIn()
Returns a new object of class 'Visible In'.

Returns:
a new object of class 'Visible In'.
Generated:

createImports

Imports createImports()
Returns a new object of class 'Imports'.

Returns:
a new object of class 'Imports'.
Generated:

createCodeElement

CodeElement createCodeElement()
Returns a new object of class 'Element'.

Returns:
a new object of class 'Element'.
Generated:

createCodeRelationship

CodeRelationship createCodeRelationship()
Returns a new object of class 'Relationship'.

Returns:
a new object of class 'Relationship'.
Generated:

getCodePackage

CodePackage getCodePackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.
Generated: