Package eu.admire.dispel.variables

Examples of eu.admire.dispel.variables.VariablesPackage$Literals


    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());
    constructorEClass.getESuperTypes().add(theParametersPackage.getParametrizable());
    constructorEClass.getESuperTypes().add(this.getExceptionThrower());
    constructorEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    emptyMemberEClass.getESuperTypes().add(this.getMember());
    fieldEClass.getESuperTypes().add(this.getMember());
    fieldEClass.getESuperTypes().add(theInstantiationsPackage.getInitializable());
    fieldEClass.getESuperTypes().add(theVariablesPackage.getVariable());
    fieldEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    fieldEClass.getESuperTypes().add(theModifiersPackage.getAnnotableAndModifiable());
    methodEClass.getESuperTypes().add(this.getMember());
    methodEClass.getESuperTypes().add(theTypesPackage.getTypedElement());
    methodEClass.getESuperTypes().add(theArraysPackage.getArrayTypeable());
View Full Code Here


    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());
    conditionEClass.getESuperTypes().add(this.getStatementContainer());
    conditionEClass.getESuperTypes().add(this.getConditional());
    continueEClass.getESuperTypes().add(this.getJump());
    defaultSwitchCaseEClass.getESuperTypes().add(this.getSwitchCase());
    doWhileLoopEClass.getESuperTypes().add(this.getWhileLoop());
    emptyStatementEClass.getESuperTypes().add(this.getStatement());
    expressionStatementEClass.getESuperTypes().add(this.getStatement());
    forLoopEClass.getESuperTypes().add(this.getStatement());
    forLoopEClass.getESuperTypes().add(this.getStatementContainer());
    forLoopEClass.getESuperTypes().add(this.getConditional());
    forEachLoopEClass.getESuperTypes().add(this.getStatement());
    forEachLoopEClass.getESuperTypes().add(this.getStatementContainer());
    jumpLabelEClass.getESuperTypes().add(this.getStatement());
    jumpLabelEClass.getESuperTypes().add(this.getStatementContainer());
    jumpLabelEClass.getESuperTypes().add(theCommonsPackage.getNamedElement());
    localVariableStatementEClass.getESuperTypes().add(this.getStatement());
    normalSwitchCaseEClass.getESuperTypes().add(this.getSwitchCase());
    normalSwitchCaseEClass.getESuperTypes().add(this.getConditional());
    returnEClass.getESuperTypes().add(this.getStatement());
    switchEClass.getESuperTypes().add(this.getStatement());
    synchronizedBlockEClass.getESuperTypes().add(this.getStatement());
    synchronizedBlockEClass.getESuperTypes().add(this.getStatementListContainer());
    throwEClass.getESuperTypes().add(this.getStatement());
    tryBlockEClass.getESuperTypes().add(this.getStatement());
    tryBlockEClass.getESuperTypes().add(this.getStatementListContainer());
    whileLoopEClass.getESuperTypes().add(this.getStatement());
    whileLoopEClass.getESuperTypes().add(this.getStatementContainer());
    connectionStatementEClass.getESuperTypes().add(this.getStatement());
    processingElementTypeDefinitionStatementEClass.getESuperTypes().add(this.getStatement());
    processingElementTypeDefinitionStatementEClass.getESuperTypes().add(theAnnotationsPackage.getAnnotable());
    domainTypeDefinitionStatementEClass.getESuperTypes().add(this.getStatement());
    structuralTypeDefinitionStatementEClass.getESuperTypes().add(this.getStatement());
    submitStatementEClass.getESuperTypes().add(this.getStatement());
    registerStatementEClass.getESuperTypes().add(this.getStatement());
    jumpEClass.getESuperTypes().add(this.getStatement());

    // Initialize classes and features; add operations and parameters
    initEClass(statementContainerEClass, StatementContainer.class, "StatementContainer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getStatementContainer_Statement(), this.getStatement(), null, "statement", null, 1, 1, StatementContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(statementListContainerEClass, StatementListContainer.class, "StatementListContainer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getStatementListContainer_Statements(), this.getStatement(), null, "statements", null, 0, -1, StatementListContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(conditionalEClass, Conditional.class, "Conditional", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getConditional_Condition(), theExpressionsPackage.getExpression(), null, "condition", null, 1, 1, Conditional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(forLoopInitializerEClass, ForLoopInitializer.class, "ForLoopInitializer", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(statementEClass, Statement.class, "Statement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(switchCaseEClass, SwitchCase.class, "SwitchCase", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(breakEClass, Break.class, "Break", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(blockEClass, Block.class, "Block", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(catchBlockEClass, CatchBlock.class, "CatchBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getCatchBlock_Parameter(), theParametersPackage.getOrdinaryParameter(), null, "parameter", null, 1, 1, CatchBlock.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(conditionEClass, Condition.class, "Condition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getCondition_ElseStatement(), this.getStatement(), null, "elseStatement", null, 0, 1, Condition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(continueEClass, Continue.class, "Continue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(defaultSwitchCaseEClass, DefaultSwitchCase.class, "DefaultSwitchCase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(doWhileLoopEClass, DoWhileLoop.class, "DoWhileLoop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(emptyStatementEClass, EmptyStatement.class, "EmptyStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(expressionStatementEClass, ExpressionStatement.class, "ExpressionStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getExpressionStatement_Expression(), theExpressionsPackage.getExpression(), null, "expression", null, 1, 1, ExpressionStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(forLoopEClass, ForLoop.class, "ForLoop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getForLoop_Init(), this.getForLoopInitializer(), null, "init", null, 0, 1, ForLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getForLoop_Updates(), theExpressionsPackage.getExpression(), null, "updates", null, 0, -1, ForLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(forEachLoopEClass, ForEachLoop.class, "ForEachLoop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getForEachLoop_Next(), theParametersPackage.getOrdinaryParameter(), null, "next", null, 0, 1, ForEachLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getForEachLoop_Collection(), theExpressionsPackage.getExpression(), null, "collection", null, 0, 1, ForEachLoop.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(jumpLabelEClass, JumpLabel.class, "JumpLabel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(localVariableStatementEClass, LocalVariableStatement.class, "LocalVariableStatement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getLocalVariableStatement_Variable(), theVariablesPackage.getLocalVariable(), null, "variable", null, 0, 1, LocalVariableStatement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    initEClass(normalSwitchCaseEClass, NormalSwitchCase.class, "NormalSwitchCase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

    initEClass(returnEClass, Return.class, "Return", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getReturn_ReturnValue(), theReferencesPackage.getReference(), null, "returnValue", null, 1, 1, Return.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
View Full Code Here

    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
    getESubpackages().add(theAnnotationsPackage);
    getESubpackages().add(theArraysPackage);
    getESubpackages().add(theClassifiersPackage);
View Full Code Here

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

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

TOP

Related Classes of eu.admire.dispel.variables.VariablesPackage$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.