Package eu.admire.dispel.containers

Examples of eu.admire.dispel.containers.ContainersPackage$Literals


    setNsURI(eNS_URI);

    // Obtain other dependent packages
    ClassifiersPackage theClassifiersPackage = (ClassifiersPackage)EPackage.Registry.INSTANCE.getEPackage(ClassifiersPackage.eNS_URI);
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);
    ContainersPackage theContainersPackage = (ContainersPackage)EPackage.Registry.INSTANCE.getEPackage(ContainersPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    namedElementEClass.getESuperTypes().add(this.getCommentable());
    namespaceAwareElementEClass.getESuperTypes().add(this.getCommentable());

    // Initialize classes and features; add operations and parameters
    initEClass(commentableEClass, Commentable.class, "Commentable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getCommentable_Comments(), ecorePackage.getEString(), "comments", null, 0, -1, Commentable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

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

    op = addEOperation(commentableEClass, theClassifiersPackage.getConcreteClassifier(), "getConcreteClassifiers", 0, -1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "packageName", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "classifierQuery", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(commentableEClass, theClassifiersPackage.getClass_(), "getLibClass", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(commentableEClass, theClassifiersPackage.getInterface(), "getLibInterface", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getClass_(), "getClassClass", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getClass_(), "getObjectClass", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getClass_(), "getStringClass", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getInterface(), "getAnnotationInterface", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theAnnotationsPackage.getAnnotationInstance(), "getContainingAnnotationInstance", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getAnonymousClass(), "getContainingAnonymousClass", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getConcreteClassifier(), "getContainingConcreteClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theContainersPackage.getCompilationUnit(), "getContainingCompilationUnit", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, ecorePackage.getEString(), "getContainingPackageName", 0, -1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theClassifiersPackage.getConcreteClassifier(), "getParentConcreteClassifier", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(commentableEClass, theCorePackage.getConcreteProcessingElement(), "getConcreteProcessingElement", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "name", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(commentableEClass, theCorePackage.getConcreteProcessingElement(), "getConcreteProcessingElements", 0, -1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "packageName", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "classifierQuery", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theContainersPackage.getPackage(), "getContainingPackage", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(commentableEClass, theContainersPackage.getDispelFunction(), "getContainingMethod", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(namedElementEClass, NamedElement.class, "NamedElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getNamedElement_Name(), ecorePackage.getEString(), "name", null, 1, 1, NamedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

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


    // 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);
    MembersPackage theMembersPackage = (MembersPackage)EPackage.Registry.INSTANCE.getEPackage(MembersPackage.eNS_URI);
View Full Code Here

    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    CommonsPackage theCommonsPackage = (CommonsPackage)EPackage.Registry.INSTANCE.getEPackage(CommonsPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    ParametersPackage theParametersPackage = (ParametersPackage)EPackage.Registry.INSTANCE.getEPackage(ParametersPackage.eNS_URI);
    ContainersPackage theContainersPackage = (ContainersPackage)EPackage.Registry.INSTANCE.getEPackage(ContainersPackage.eNS_URI);
    LiteralsPackage theLiteralsPackage = (LiteralsPackage)EPackage.Registry.INSTANCE.getEPackage(LiteralsPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    referenceEClass.getESuperTypes().add(theExpressionsPackage.getPrimaryExpression());
    argumentableEClass.getESuperTypes().add(theCommonsPackage.getCommentable());
    referenceableElementEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    elementReferenceEClass.getESuperTypes().add(this.getReference());
    elementReferenceEClass.getESuperTypes().add(theCorePackage.getConnectionEnabledElement());
    identifierReferenceEClass.getESuperTypes().add(this.getElementReference());
    methodCallEClass.getESuperTypes().add(this.getElementReference());
    methodCallEClass.getESuperTypes().add(this.getArgumentable());
    reflectiveClassReferenceEClass.getESuperTypes().add(this.getReference());
    primitiveTypeReferenceEClass.getESuperTypes().add(this.getReference());
    primitiveTypeReferenceEClass.getESuperTypes().add(this.getAbstractTypeReference());
    stringReferenceEClass.getESuperTypes().add(this.getReference());
    stringReferenceEClass.getESuperTypes().add(theCorePackage.getConnectionEnabledElement());
    selfReferenceEClass.getESuperTypes().add(this.getReference());
    inputReferenceEClass.getESuperTypes().add(this.getIdentifierReference());
    outputReferenceEClass.getESuperTypes().add(this.getIdentifierReference());
    abstractTypeReferenceEClass.getESuperTypes().add(theTypesPackage.getTypeReference());
    processingElementInstanceReferenceEClass.getESuperTypes().add(this.getElementReference());
    dispelTypeReferenceEClass.getESuperTypes().add(theTypesPackage.getTypeReference());
    processingElementReferenceEClass.getESuperTypes().add(this.getDispelTypeReference());
    namespaceProcessingElementReferenceEClass.getESuperTypes().add(this.getDispelTypeReference());
    namespaceProcessingElementReferenceEClass.getESuperTypes().add(theCommonsPackage.getNamespaceAwareElement());
    structuralTypeReferenceEClass.getESuperTypes().add(this.getDispelTypeReference());
    domainTypeReferenceEClass.getESuperTypes().add(this.getDispelTypeReference());
    processingElementTypeReferenceEClass.getESuperTypes().add(this.getDispelTypeReference());

    // Initialize classes and features; add operations and parameters
    initEClass(referenceEClass, Reference.class, "Reference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getReference_Next(), this.getReference(), null, "next", null, 0, 1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getReference_ArraySelectors(), theArraysPackage.getArraySelector(), null, "arraySelectors", null, 0, -1, Reference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(referenceEClass, theTypesPackage.getType(), "getReferencedType", 0, 1, IS_UNIQUE, IS_ORDERED);

    addEOperation(referenceEClass, this.getReference(), "getPrevious", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEClass(argumentableEClass, Argumentable.class, "Argumentable", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getArgumentable_Arguments(), theExpressionsPackage.getExpression(), null, "arguments", null, 0, -1, Argumentable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    addEOperation(argumentableEClass, theTypesPackage.getType(), "getArgumentTypes", 0, -1, IS_UNIQUE, IS_ORDERED);

    initEClass(referenceableElementEClass, ReferenceableElement.class, "ReferenceableElement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(elementReferenceEClass, ElementReference.class, "ElementReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getElementReference_Target(), this.getReferenceableElement(), null, "target", null, 0, 1, ElementReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(identifierReferenceEClass, IdentifierReference.class, "IdentifierReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getIdentifierReference_Length(), theParametersPackage.getParameterLength(), null, "length", null, 0, 1, IdentifierReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(methodCallEClass, MethodCall.class, "MethodCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getMethodCall_Call(), theContainersPackage.getDispelFunction(), null, "call", null, 0, 1, MethodCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(reflectiveClassReferenceEClass, ReflectiveClassReference.class, "ReflectiveClassReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(primitiveTypeReferenceEClass, PrimitiveTypeReference.class, "PrimitiveTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getPrimitiveTypeReference_PrimitiveType(), theTypesPackage.getPrimitiveType(), null, "primitiveType", null, 1, 1, PrimitiveTypeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here

TOP

Related Classes of eu.admire.dispel.containers.ContainersPackage$Literals

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.