Package eu.admire.dispel.members

Examples of eu.admire.dispel.members.MembersPackage


    ImportsPackage theImportsPackage = (ImportsPackage)EPackage.Registry.INSTANCE.getEPackage(ImportsPackage.eNS_URI);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    dispelRootEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    dispelRootEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    dispelRootEClass.getESuperTypes().add(theImportsPackage.getImportingElement());
    dispelRootEClass.getESuperTypes().add(theStatementsPackage.getStatementListContainer());
    compilationUnitEClass.getESuperTypes().add(this.getDispelRoot());
    packageEClass.getESuperTypes().add(this.getDispelRoot());
    packageEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    emptyModelEClass.getESuperTypes().add(this.getDispelRoot());
    dispelFunctionEClass.getESuperTypes().add(theMembersPackage.getMethod());
    dispelFunctionEClass.getESuperTypes().add(theStatementsPackage.getStatementListContainer());
    dispelFunctionEClass.getESuperTypes().add(theStatementsPackage.getStatement());
    dispelFunctionEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    dispelFunctionEClass.getESuperTypes().add(theTypesPackage.getDispelType());
View Full Code Here


    setNsURI(eNS_URI);

    // Obtain other dependent packages
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    classifierEClass.getESuperTypes().add(theTypesPackage.getType());
    classifierEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    concreteClassifierEClass.getESuperTypes().add(this.getClassifier());
    concreteClassifierEClass.getESuperTypes().add(theMembersPackage.getMemberContainer());
    concreteClassifierEClass.getESuperTypes().add(theMembersPackage.getMember());
    concreteClassifierEClass.getESuperTypes().add(theStatementsPackage.getStatement());
    concreteClassifierEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    implementorEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    classEClass.getESuperTypes().add(this.getConcreteClassifier());
    classEClass.getESuperTypes().add(this.getImplementor());
    interfaceEClass.getESuperTypes().add(this.getConcreteClassifier());
    enumerationEClass.getESuperTypes().add(this.getConcreteClassifier());
    enumerationEClass.getESuperTypes().add(this.getImplementor());
    annotationEClass.getESuperTypes().add(this.getConcreteClassifier());
    anonymousClassEClass.getESuperTypes().add(theTypesPackage.getType());
    anonymousClassEClass.getESuperTypes().add(theMembersPackage.getMemberContainer());

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

    addEOperation(classifierEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(concreteClassifierEClass, ConcreteClassifier.class, "ConcreteClassifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getConcreteClassifier_FullName(), ecorePackage.getEString(), "fullName", null, 0, 1, ConcreteClassifier.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(concreteClassifierEClass, this.getConcreteClassifier(), "getInnerClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(concreteClassifierEClass, this.getConcreteClassifier(), "getAllInnerClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(concreteClassifierEClass, theTypesPackage.getClassifierReference(), "getSuperTypeReferences", 0, -1, IS_UNIQUE, IS_ORDERED);

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

    initEClass(implementorEClass, Implementor.class, "Implementor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getImplementor_Implements(), theTypesPackage.getTypeReference(), null, "implements", null, 0, -1, Implementor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(classEClass, eu.admire.dispel.classifiers.Class.class, "Class", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getClass_Extends(), theTypesPackage.getTypeReference(), null, "extends", null, 0, 1, eu.admire.dispel.classifiers.Class.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getClass_DefaultExtends(), theTypesPackage.getTypeReference(), null, "defaultExtends", null, 0, 1, eu.admire.dispel.classifiers.Class.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(classEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(classEClass, this.getClass_(), "getSuperClass", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(classEClass, theTypesPackage.getPrimitiveType(), "unWrapPrimitiveType", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(interfaceEClass, Interface.class, "Interface", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getInterface_Extends(), theTypesPackage.getTypeReference(), null, "extends", null, 0, -1, Interface.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getInterface_DefaultExtends(), theTypesPackage.getTypeReference(), null, "defaultExtends", null, 0, -1, Interface.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(interfaceEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(enumerationEClass, Enumeration.class, "Enumeration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getEnumeration_Constants(), theMembersPackage.getEnumConstant(), null, "constants", null, 0, -1, Enumeration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(enumerationEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(annotationEClass, Annotation.class, "Annotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    addEOperation(annotationEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(anonymousClassEClass, AnonymousClass.class, "AnonymousClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    addEOperation(anonymousClassEClass, this.getConcreteClassifier(), "getAllSuperClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(anonymousClassEClass, this.getConcreteClassifier(), "getSuperClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);

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

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

    setNsURI(eNS_URI);

    // Obtain other dependent packages
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    InstantiationsPackage theInstantiationsPackage = (InstantiationsPackage)EPackage.Registry.INSTANCE.getEPackage(InstantiationsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    processingElementEClass.getESuperTypes().add(theTypesPackage.getDispelType());
    processingElementEClass.getESuperTypes().add(theTypesPackage.getTypeReference());
    concreteProcessingElementEClass.getESuperTypes().add(this.getProcessingElement());
    concreteProcessingElementEClass.getESuperTypes().add(theMembersPackage.getMember());
    concreteProcessingElementEClass.getESuperTypes().add(theMembersPackage.getMemberContainer());
    concreteProcessingElementEClass.getESuperTypes().add(theStatementsPackage.getStatement());
    concreteProcessingElementEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    processingElementDefinitionEClass.getESuperTypes().add(this.getConcreteProcessingElement());
    processingElementDefinitionEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    connectionEClass.getESuperTypes().add(theTypesPackage.getDispelType());
View Full Code Here

    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);
    VariablesPackage theVariablesPackage = (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    statementContainerEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    statementListContainerEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    conditionalEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    forLoopInitializerEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    statementEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    switchCaseEClass.getESuperTypes().add(this.getStatementListContainer());
    breakEClass.getESuperTypes().add(this.getJump());
    blockEClass.getESuperTypes().add(theMembersPackage.getMember());
    blockEClass.getESuperTypes().add(this.getStatement());
    blockEClass.getESuperTypes().add(this.getStatementListContainer());
    blockEClass.getESuperTypes().add(theModifiersPackage.getModifiable());
    catchBlockEClass.getESuperTypes().add(this.getStatementListContainer());
    conditionEClass.getESuperTypes().add(this.getStatement());
View Full Code Here

    ContainersPackage theContainersPackage = (ContainersPackage)EPackage.Registry.INSTANCE.getEPackage(ContainersPackage.eNS_URI);
    ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI);
    ImportsPackage theImportsPackage = (ImportsPackage)EPackage.Registry.INSTANCE.getEPackage(ImportsPackage.eNS_URI);
    InstantiationsPackage theInstantiationsPackage = (InstantiationsPackage)EPackage.Registry.INSTANCE.getEPackage(InstantiationsPackage.eNS_URI);
    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);
View Full Code Here

    // 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());
    annotationAttributeSettingEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    annotationValueEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    annotationAttributeEClass.getESuperTypes().add(theMembersPackage.getInterfaceMethod());

    // Initialize classes and features; add operations and parameters
    initEClass(annotableEClass, Annotable.class, "Annotable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnnotable_Annotations(), this.getAnnotationInstance(), null, "annotations", null, 0, -1, Annotable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(annotationInstanceEClass, AnnotationInstance.class, "AnnotationInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnnotationInstance_Annotation(), theClassifiersPackage.getClassifier(), null, "annotation", null, 1, 1, AnnotationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getAnnotationInstance_Parameter(), this.getAnnotationParameter(), null, "parameter", null, 0, 1, AnnotationInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(annotationParameterEClass, AnnotationParameter.class, "AnnotationParameter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(singleAnnotationParameterEClass, SingleAnnotationParameter.class, "SingleAnnotationParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getSingleAnnotationParameter_Value(), this.getAnnotationValue(), null, "value", null, 1, 1, SingleAnnotationParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(annotationParameterListEClass, AnnotationParameterList.class, "AnnotationParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnnotationParameterList_Settings(), this.getAnnotationAttributeSetting(), null, "settings", null, 0, -1, AnnotationParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(annotationAttributeSettingEClass, AnnotationAttributeSetting.class, "AnnotationAttributeSetting", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnnotationAttributeSetting_Attribute(), theMembersPackage.getInterfaceMethod(), null, "attribute", null, 1, 1, AnnotationAttributeSetting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getAnnotationAttributeSetting_Value(), this.getAnnotationValue(), null, "value", null, 1, 1, AnnotationAttributeSetting.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(annotationValueEClass, AnnotationValue.class, "AnnotationValue", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

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

    setNsURI(eNS_URI);

    // 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);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.members.MembersPackage

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.