Examples of AnnotationsPackage


Examples of eu.admire.dispel.annotations.AnnotationsPackage

    setNsPrefix(eNS_PREFIX);
    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);
View Full Code Here

Examples of eu.admire.dispel.annotations.AnnotationsPackage

    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());
    methodEClass.getESuperTypes().add(theParametersPackage.getParametrizable());
    methodEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    interfaceMethodEClass.getESuperTypes().add(this.getMethod());
    classMethodEClass.getESuperTypes().add(this.getMethod());
    classMethodEClass.getESuperTypes().add(theStatementsPackage.getStatementListContainer());
    enumConstantEClass.getESuperTypes().add(theReferencesPackage.getReferenceableElement());
    enumConstantEClass.getESuperTypes().add(theReferencesPackage.getArgumentable());
    enumConstantEClass.getESuperTypes().add(theAnnotationsPackage.getAnnotable());

    // Initialize classes and features; add operations and parameters
    initEClass(exceptionThrowerEClass, ExceptionThrower.class, "ExceptionThrower", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEReference(getExceptionThrower_Exceptions(), theTypesPackage.getNamespaceClassifierReference(), null, "exceptions", null, 0, -1, ExceptionThrower.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.annotations.AnnotationsPackage

    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);
    initEReference(getArrayTypeable_ArrayDimensionsBefore(), this.getArrayDimension(), null, "arrayDimensionsBefore", null, 0, -1, ArrayTypeable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getArrayTypeable_ArrayDimensionsAfter(), this.getArrayDimension(), null, "arrayDimensionsAfter", null, 0, -1, ArrayTypeable.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.annotations.AnnotationsPackage

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

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

Examples of eu.admire.dispel.annotations.AnnotationsPackage

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

Examples of eu.admire.dispel.annotations.AnnotationsPackage

    setNsURI(eNS_URI);

    // Obtain other dependent packages
    StatementsPackage theStatementsPackage = (StatementsPackage)EPackage.Registry.INSTANCE.getEPackage(StatementsPackage.eNS_URI);
    ArraysPackage theArraysPackage = (ArraysPackage)EPackage.Registry.INSTANCE.getEPackage(ArraysPackage.eNS_URI);
    AnnotationsPackage theAnnotationsPackage = (AnnotationsPackage)EPackage.Registry.INSTANCE.getEPackage(AnnotationsPackage.eNS_URI);
    TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI);
    OperatorsPackage theOperatorsPackage = (OperatorsPackage)EPackage.Registry.INSTANCE.getEPackage(OperatorsPackage.eNS_URI);
    CorePackage theCorePackage = (CorePackage)EPackage.Registry.INSTANCE.getEPackage(CorePackage.eNS_URI);
    ReferencesPackage theReferencesPackage = (ReferencesPackage)EPackage.Registry.INSTANCE.getEPackage(ReferencesPackage.eNS_URI);

    // Create type parameters

    // Set bounds for type parameters

    // Add supertypes to classes
    expressionListEClass.getESuperTypes().add(theStatementsPackage.getForLoopInitializer());
    expressionEClass.getESuperTypes().add(theArraysPackage.getArrayInitializationValue());
    expressionEClass.getESuperTypes().add(theAnnotationsPackage.getAnnotationValue());
    assignmentExpressionEClass.getESuperTypes().add(this.getDefaultExpression());
    assignmentExpressionChildEClass.getESuperTypes().add(this.getExpression());
    conditionalExpressionEClass.getESuperTypes().add(this.getAssignmentExpressionChild());
    conditionalExpressionChildEClass.getESuperTypes().add(this.getAssignmentExpressionChild());
    conditionalOrExpressionEClass.getESuperTypes().add(this.getConditionalExpressionChild());
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.