Examples of CommonsPackage


Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    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);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    modifierEClass.getESuperTypes().add(this.getAnnotationInstanceOrModifier());
    annotationInstanceOrModifierEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    annotableAndModifiableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    modifiableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    abstractEClass.getESuperTypes().add(this.getModifier());
    finalEClass.getESuperTypes().add(this.getModifier());
    nativeEClass.getESuperTypes().add(this.getModifier());
    protectedEClass.getESuperTypes().add(this.getModifier());
    publicEClass.getESuperTypes().add(this.getModifier());
    privateEClass.getESuperTypes().add(this.getModifier());
    staticEClass.getESuperTypes().add(this.getModifier());
    strictfpEClass.getESuperTypes().add(this.getModifier());
    synchronizedEClass.getESuperTypes().add(this.getModifier());
    transientEClass.getESuperTypes().add(this.getModifier());
    volatileEClass.getESuperTypes().add(this.getModifier());
    modifiableParameterEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    afterEClass.getESuperTypes().add(this.getModifier());
    compressedEClass.getESuperTypes().add(this.getCompression());
    decompressedEClass.getESuperTypes().add(this.getCompression());
    initiatorEClass.getESuperTypes().add(this.getModifier());
    limitEClass.getESuperTypes().add(this.getModifier());
    locatorEClass.getESuperTypes().add(this.getModifier());
    lockStepEClass.getESuperTypes().add(this.getModifier());
    permutableEClass.getESuperTypes().add(this.getModifier());
    preservedEClass.getESuperTypes().add(this.getModifier());
    requiresDTypeEClass.getESuperTypes().add(this.getModifier());
    requiresSTypeEClass.getESuperTypes().add(this.getModifier());
    roundRobinEClass.getESuperTypes().add(this.getModifier());
    successiveEClass.getESuperTypes().add(this.getModifier());
    terminatorEClass.getESuperTypes().add(this.getModifier());
    compressionEClass.getESuperTypes().add(this.getModifier());
    encryptionEClass.getESuperTypes().add(this.getModifier());
    encryptedEClass.getESuperTypes().add(this.getEncryption());
    decryptedEClass.getESuperTypes().add(this.getEncryption());

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

    initEClass(annotationInstanceOrModifierEClass, AnnotationInstanceOrModifier.class, "AnnotationInstanceOrModifier", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(annotableAndModifiableEClass, AnnotableAndModifiable.class, "AnnotableAndModifiable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getAnnotableAndModifiable_AnnotationsAndModifiers(), this.getAnnotationInstanceOrModifier(), null, "annotationsAndModifiers", null, 0, -1, AnnotableAndModifiable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    EOperation op = addEOperation(annotableAndModifiableEClass, ecorePackage.getEBoolean(), "isHidden", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, theCommonsPackage.getCommentable(), "context", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(annotableAndModifiableEClass, ecorePackage.getEBoolean(), "isStatic", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(modifiableEClass, Modifiable.class, "Modifiable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getModifiable_Modifiers(), this.getModifier(), null, "modifiers", null, 0, -1, Modifiable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    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());

    // Initialize classes and features; add operations and parameters
    initEClass(dispelRootEClass, DispelRoot.class, "DispelRoot", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getDispelRoot_ProcessingElementInstances(), theCorePackage.getProcessingElementInstance(), null, "processingElementInstances", null, 0, -1, DispelRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    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);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    LiteralsPackage theLiteralsPackage = (LiteralsPackage)EPackage.Registry.INSTANCE.getEPackage(LiteralsPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    initializableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    instantiationEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    instantiationEClass.getESuperTypes().add(theReferencesPackage.getReference());
    instantiationEClass.getESuperTypes().add(theReferencesPackage.getArgumentable());
    newConstructorCallEClass.getESuperTypes().add(this.getInstantiation());
    explicitConstructorCallEClass.getESuperTypes().add(this.getInstantiation());
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.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);
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    VariablesPackage theVariablesPackage = (VariablesPackage)EPackage.Registry.INSTANCE.getEPackage(VariablesPackage.eNS_URI);
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    exceptionThrowerEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    memberEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    memberContainerEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    additionalFieldEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    additionalFieldEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
    additionalFieldEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());
    constructorEClass.getESuperTypes().add(this.getMember());
    constructorEClass.getESuperTypes().add(theStatementsPackage.getStatementListContainer());
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    ModifiersPackage theModifiersPackage = (ModifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ModifiersPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    importEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    importingElementEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    staticImportEClass.getESuperTypes().add(this.getImport());
    classifierImportEClass.getESuperTypes().add(this.getImport());
    packageImportEClass.getESuperTypes().add(this.getImport());
    staticClassifierImportEClass.getESuperTypes().add(this.getStaticImport());
    staticMemberImportEClass.getESuperTypes().add(this.getStaticImport());
    typeImportEClass.getESuperTypes().add(this.getImport());

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

    EOperation op = addEOperation(importEClass, theClassifiersPackage.getConcreteClassifier(), "getImportedClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(importEClass, theClassifiersPackage.getConcreteClassifier(), "getImportedClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(importEClass, theCommonsPackage.getNamedElement(), "getImportedMembers", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(importingElementEClass, ImportingElement.class, "ImportingElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getImportingElement_Imports(), this.getImport(), null, "imports", null, 0, -1, ImportingElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(importingElementEClass, theClassifiersPackage.getConcreteClassifier(), "getDefaultImports", 0, -1, IS_UNIQUE, IS_ORDERED);
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    operatorEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    additiveOperatorEClass.getESuperTypes().add(this.getOperator());
    assignmentOperatorEClass.getESuperTypes().add(this.getOperator());
    equalityOperatorEClass.getESuperTypes().add(this.getOperator());
    multiplicativeOperatorEClass.getESuperTypes().add(this.getOperator());
    relationOperatorEClass.getESuperTypes().add(this.getOperator());
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    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

Examples of eu.admire.dispel.commons.CommonsPackage

    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    literalEClass.getESuperTypes().add(theExpressionsPackage.getPrimaryExpression());
    selfEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    booleanLiteralEClass.getESuperTypes().add(this.getLiteral());
    characterLiteralEClass.getESuperTypes().add(this.getLiteral());
    floatLiteralEClass.getESuperTypes().add(this.getLiteral());
    decimalFloatLiteralEClass.getESuperTypes().add(this.getFloatLiteral());
    hexFloatLiteralEClass.getESuperTypes().add(this.getFloatLiteral());
View Full Code Here

Examples of eu.admire.dispel.commons.CommonsPackage

    setName(eNAME);
    setNsPrefix(eNS_PREFIX);
    setNsURI(eNS_URI);

    // Obtain other dependent packages
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);
    ExpressionsPackage theExpressionsPackage = (ExpressionsPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    arrayTypeableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    arrayDimensionEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    arrayInitializerEClass.getESuperTypes().add(this.getArrayInitializationValue());
    arrayInitializerEClass.getESuperTypes().add(theAnnotationsPackage.getAnnotationValue());
    arrayInitializationValueEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    arrayInstantiationBySizeEClass.getESuperTypes().add(theExpressionsPackage.getExpression());
    arrayInstantiationBySizeEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    arrayInstantiationBySizeEClass.getESuperTypes().add(this.getArrayTypeable());
    arrayInstantiationBySizeEClass.getESuperTypes().add(theReferencesPackage.getReference());
    arrayInstantiationByValuesEClass.getESuperTypes().add(theExpressionsPackage.getExpression());
    arrayInstantiationByValuesEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    arrayInstantiationByValuesEClass.getESuperTypes().add(this.getArrayTypeable());
    arrayInstantiationByValuesEClass.getESuperTypes().add(theReferencesPackage.getReference());
    arraySelectorEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    arrayInitializationByElementsEClass.getESuperTypes().add(theExpressionsPackage.getExpression());
    arrayInitializationByElementsEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    arrayInitializationByElementsEClass.getESuperTypes().add(this.getArrayTypeable());
    arrayInitializationByElementsEClass.getESuperTypes().add(theReferencesPackage.getReference());
    tupleTypeableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    listTypeableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    arrayValuesInitializerEClass.getESuperTypes().add(this.getArrayInitializationValue());
    arrayValuesInitializerEClass.getESuperTypes().add(theAnnotationsPackage.getAnnotationValue());

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

Examples of eu.admire.dispel.commons.CommonsPackage

    // Obtain other dependent packages
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);
    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.