Package eu.admire.dispel.references

Examples of eu.admire.dispel.references.ReferencesPackage


    LiteralsPackage theLiteralsPackage = (LiteralsPackage)EPackage.Registry.INSTANCE.getEPackage(LiteralsPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    OperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    VariablesPackage theVariablesPackage = (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI);

    // Add subpackages
View Full Code Here


    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    annotableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    annotationInstanceEClass.getESuperTypes().add(theReferencesPackage.getReference());
    annotationInstanceEClass.getESuperTypes().add(theModifiersPackage.getAnnotationInstanceOrModifier());
    annotationInstanceEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    annotationParameterEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    singleAnnotationParameterEClass.getESuperTypes().add(this.getAnnotationParameter());
    annotationParameterListEClass.getESuperTypes().add(this.getAnnotationParameter());
View Full Code Here

    // Obtain other dependent packages
    VariablesPackage theVariablesPackage = (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    InstantiationsPackage theInstantiationsPackage = (InstantiationsPackage)EPackage.Registry.INSTANCE.getEPackage(InstantiationsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    parameterEClass.getESuperTypes().add(theVariablesPackage.getVariable());
    parameterEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    parametrizableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    ordinaryParameterEClass.getESuperTypes().add(this.getParameter());
    variableLengthParameterEClass.getESuperTypes().add(this.getParameter());
    processingElementParameterEClass.getESuperTypes().add(this.getParameter());
    processingElementParameterEClass.getESuperTypes().add(theModifiersPackage.getModifiableParameter());
    inputEClass.getESuperTypes().add(this.getProcessingElementParameter());
    outputEClass.getESuperTypes().add(this.getProcessingElementParameter());
    inputConnectionEClass.getESuperTypes().add(this.getInput());
    outputConnectionEClass.getESuperTypes().add(this.getOutput());
    additionalParameterEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    additionalParameterEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());
    additionalParameterEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    additionalConnectionEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    additionalConnectionEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());
    additionalConnectionEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    parameterLengthEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());

    // Initialize classes and features; add operations and parameters
    initEClass(parameterEClass, Parameter.class, "Parameter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(parametrizableEClass, Parametrizable.class, "Parametrizable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getParametrizable_Parameters(), theVariablesPackage.getVariable(), null, "parameters", null, 0, -1, Parametrizable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(ordinaryParameterEClass, OrdinaryParameter.class, "OrdinaryParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getOrdinaryParameter_AdditionalParameter(), this.getAdditionalParameter(), null, "additionalParameter", null, 0, -1, OrdinaryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getOrdinaryParameter_DomainType(), theTypesPackage.getDomainTypeConstructor(), null, "domainType", null, 0, 1, OrdinaryParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(variableLengthParameterEClass, VariableLengthParameter.class, "VariableLengthParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(processingElementParameterEClass, ProcessingElementParameter.class, "ProcessingElementParameter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getProcessingElementParameter_InitialValue(), theReferencesPackage.getReference(), null, "initialValue", null, 1, 1, ProcessingElementParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getProcessingElementParameter_StructuralType(), theTypesPackage.getTypeReference(), null, "structuralType", null, 0, 1, ProcessingElementParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getProcessingElementParameter_DomainType(), theReferencesPackage.getDomainTypeReference(), null, "domainType", null, 0, 1, ProcessingElementParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getProcessingElementParameter_AdditionalParameter(), this.getAdditionalParameter(), null, "additionalParameter", null, 0, -1, ProcessingElementParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getProcessingElementParameter_ArraySelectors(), theArraysPackage.getArraySelector(), null, "arraySelectors", null, 0, -1, ProcessingElementParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(inputEClass, Input.class, "Input", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
View Full Code Here

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    typeEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    typedElementEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    typeReferenceEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    classifierReferenceEClass.getESuperTypes().add(this.getTypeReference());
    namespaceClassifierReferenceEClass.getESuperTypes().add(this.getTypeReference());
    namespaceClassifierReferenceEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    primitiveTypeEClass.getESuperTypes().add(this.getType());
    primitiveTypeEClass.getESuperTypes().add(this.getTypeReference());
    booleanEClass.getESuperTypes().add(this.getPrimitiveType());
    byteEClass.getESuperTypes().add(this.getPrimitiveType());
    charEClass.getESuperTypes().add(this.getPrimitiveType());
    realEClass.getESuperTypes().add(this.getPrimitiveType());
    stringEClass.getESuperTypes().add(this.getPrimitiveType());
    integerEClass.getESuperTypes().add(this.getPrimitiveType());
    anyEClass.getESuperTypes().add(this.getPrimitiveType());
    restEClass.getESuperTypes().add(theParametersPackage.getParameter());
    streamEClass.getESuperTypes().add(this.getType());
    streamEClass.getESuperTypes().add(this.getTypeReference());
    domainTypeDefinitionEClass.getESuperTypes().add(this.getDispelType());
    domainTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    domainTypeDefinitionEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    domainTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    domainTypeDefinitionEClass.getESuperTypes().add(this.getTypeReference());
    structuralTypeDefinitionEClass.getESuperTypes().add(this.getDispelType());
    structuralTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    structuralTypeDefinitionEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    structuralTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    structuralTypeDefinitionEClass.getESuperTypes().add(this.getTypeReference());
    structuralTypeConstructorEClass.getESuperTypes().add(this.getType());
    structuralTypeConstructorEClass.getESuperTypes().add(this.getTypeReference());
    structuralTypeConstructorEClass.getESuperTypes().add(theReferencesPackage.getAbstractTypeReference());
    listTypeConstructorEClass.getESuperTypes().add(this.getStructuralTypeConstructor());
    tupleTypeConstructorEClass.getESuperTypes().add(this.getStructuralTypeConstructor());
    arrayTypeConstructorEClass.getESuperTypes().add(this.getStructuralTypeConstructor());
    typeNamespaceEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    dispelTypeEClass.getESuperTypes().add(this.getType());
    connectionTypeEClass.getESuperTypes().add(this.getType());
    connectionTypeEClass.getESuperTypes().add(this.getTypeReference());
    domainTypeConstructorEClass.getESuperTypes().add(theReferencesPackage.getAbstractTypeReference());
    domainTypeConstructorEClass.getESuperTypes().add(theReferencesPackage.getDomainTypeReference());
    listDomainTypeConstructorEClass.getESuperTypes().add(this.getDomainTypeConstructor());
    tupleDomainTypeConstructorEClass.getESuperTypes().add(this.getDomainTypeConstructor());
    domainTypeURIEClass.getESuperTypes().add(this.getDomainTypeConstructor());
    connectionTypeDefinitionEClass.getESuperTypes().add(this.getDispelType());
    connectionTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    connectionTypeDefinitionEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    connectionTypeDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    connectionTypeDefinitionEClass.getESuperTypes().add(this.getTypeReference());

    // Initialize classes and features; add operations and parameters
    initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    EOperation op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "equalsType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getELong(), "arrayDimension", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, this.getType(), "otherType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getELong(), "otherArrayDimension", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(typeEClass, ecorePackage.getEBoolean(), "isSuperType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getELong(), "arrayDimension", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, this.getType(), "otherType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theArraysPackage.getArrayTypeable(), "otherArrayType", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(typeEClass, theMembersPackage.getMember(), "getAllMembers", 0, -1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theCommonsPackage.getCommentable(), "context", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(typedElementEClass, TypedElement.class, "TypedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getTypedElement_TypeReference(), this.getTypeReference(), null, "typeReference", null, 0, 1, TypedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    addEOperation(typeReferenceEClass, this.getType(), "getTarget", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(typeReferenceEClass, this.getType(), "getBoundTarget", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theReferencesPackage.getReference(), "reference", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(typeReferenceEClass, this.getClassifierReference(), "getPureClassifierReference", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(classifierReferenceEClass, ClassifierReference.class, "ClassifierReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getClassifierReference_Target(), theClassifiersPackage.getClassifier(), null, "target", null, 1, 1, ClassifierReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(namespaceClassifierReferenceEClass, NamespaceClassifierReference.class, "NamespaceClassifierReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getNamespaceClassifierReference_ClassifierReferences(), this.getClassifierReference(), null, "classifierReferences", null, 1, -1, NamespaceClassifierReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(primitiveTypeEClass, PrimitiveType.class, "PrimitiveType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    op = addEOperation(primitiveTypeEClass, theMembersPackage.getMember(), "getAllMembers", 0, -1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theCommonsPackage.getCommentable(), "context", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(primitiveTypeEClass, theClassifiersPackage.getClass_(), "wrapPrimitiveType", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(booleanEClass, eu.admire.dispel.types.Boolean.class, "Boolean", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(byteEClass, eu.admire.dispel.types.Byte.class, "Byte", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(charEClass, Char.class, "Char", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(realEClass, Real.class, "Real", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(stringEClass, eu.admire.dispel.types.String.class, "String", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(integerEClass, eu.admire.dispel.types.Integer.class, "Integer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(anyEClass, Any.class, "Any", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(restEClass, Rest.class, "Rest", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(streamEClass, Stream.class, "Stream", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(domainTypeDefinitionEClass, DomainTypeDefinition.class, "DomainTypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDomainTypeDefinition_Uri(), ecorePackage.getEString(), "uri", null, 1, 1, DomainTypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getDomainTypeDefinition_TypeConstructor(), this.getDomainTypeConstructor(), null, "typeConstructor", null, 1, 1, DomainTypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(structuralTypeDefinitionEClass, StructuralTypeDefinition.class, "StructuralTypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getStructuralTypeDefinition_TypeConstructor(), theReferencesPackage.getAbstractTypeReference(), null, "typeConstructor", null, 1, 1, StructuralTypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(structuralTypeConstructorEClass, StructuralTypeConstructor.class, "StructuralTypeConstructor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(listTypeConstructorEClass, ListTypeConstructor.class, "ListTypeConstructor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getListTypeConstructor_StructuralType(), theReferencesPackage.getAbstractTypeReference(), null, "structuralType", null, 1, 1, ListTypeConstructor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(tupleTypeConstructorEClass, TupleTypeConstructor.class, "TupleTypeConstructor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getTupleTypeConstructor_TupleElement(), theParametersPackage.getParameter(), null, "tupleElement", null, 0, -1, TupleTypeConstructor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(arrayTypeConstructorEClass, ArrayTypeConstructor.class, "ArrayTypeConstructor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(typeNamespaceEClass, TypeNamespace.class, "TypeNamespace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getTypeNamespace_Uri(), ecorePackage.getEString(), "uri", null, 1, 1, TypeNamespace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(dispelTypeEClass, DispelType.class, "DispelType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(connectionTypeEClass, ConnectionType.class, "ConnectionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(domainTypeConstructorEClass, DomainTypeConstructor.class, "DomainTypeConstructor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(listDomainTypeConstructorEClass, ListDomainTypeConstructor.class, "ListDomainTypeConstructor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getListDomainTypeConstructor_DomainType(), theReferencesPackage.getAbstractTypeReference(), null, "domainType", null, 1, 1, ListDomainTypeConstructor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(tupleDomainTypeConstructorEClass, TupleDomainTypeConstructor.class, "TupleDomainTypeConstructor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getTupleDomainTypeConstructor_TupleElement(), theParametersPackage.getParameter(), null, "tupleElement", null, 0, -1, TupleDomainTypeConstructor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(domainTypeURIEClass, DomainTypeURI.class, "DomainTypeURI", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getDomainTypeURI_Uri(), ecorePackage.getEString(), "uri", null, 1, 1, DomainTypeURI.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(connectionTypeDefinitionEClass, ConnectionTypeDefinition.class, "ConnectionTypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getConnectionTypeDefinition_TypeConstructor(), theReferencesPackage.getAbstractTypeReference(), null, "typeConstructor", null, 1, 1, ConnectionTypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    // Create resource
    createResource(eNS_URI);
  }
View Full Code Here

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    InstantiationsPackage theInstantiationsPackage = (InstantiationsPackage)EPackage.Registry.INSTANCE.getEPackage(InstantiationsPackage.eNS_URI);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    variableEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    variableEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    variableEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    variableEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    variableEClass.getESuperTypes().add(theCorePackage.getConnectionEnabledElement());
    localVariableEClass.getESuperTypes().add(this.getVariable());
    localVariableEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());
    localVariableEClass.getESuperTypes().add(theStatementsPackage.getForLoopInitializer());
    localVariableEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    additionalLocalVariableEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    additionalLocalVariableEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    additionalLocalVariableEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());

    // Initialize classes and features; add operations and parameters
    initEClass(variableEClass, Variable.class, "Variable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.references.ReferencesPackage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.