Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.EOperation


   * <!-- end-user-doc -->
   * @generated
   */
  public boolean hasQuantitiesInstances() {
    if (hasQuantitiesInstancesBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(9);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.ELEMENT, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        hasQuantitiesInstancesBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here


    addEOperation(elementEClass, this.getElement(), "allSuperTypes", 0, -1, IS_UNIQUE, !IS_ORDERED);

    addEOperation(elementEClass, this.getElement(), "allSubTypes", 0, -1, IS_UNIQUE, !IS_ORDERED);

    EOperation op = addEOperation(elementEClass, ecorePackage.getEBoolean(), "isConected", 0, 1, IS_UNIQUE, !IS_ORDERED);
    addEParameter(op, this.getElement(), "x", 0, 1, IS_UNIQUE, IS_ORDERED);

    op = addEOperation(elementEClass, ecorePackage.getEBoolean(), "subInstanceType", 0, 1, IS_UNIQUE, !IS_ORDERED);
    addEParameter(op, this.getElement(), "x", 0, 1, IS_UNIQUE, IS_ORDERED);
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public int deriveUpperMaterialAssociationExt1() {
    if (deriveUpperMaterialAssociationExt1BodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.MATERIAL_ASSOCIATION.getEOperations().get(0);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.MATERIAL_ASSOCIATION, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        deriveUpperMaterialAssociationExt1BodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public int deriveUpperMaterialAssociationExt2() {
    if (deriveUpperMaterialAssociationExt2BodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.MATERIAL_ASSOCIATION.getEOperations().get(1);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.MATERIAL_ASSOCIATION, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        deriveUpperMaterialAssociationExt2BodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean existsDerivationConnected() {
    if (existsDerivationConnectedBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.MATERIAL_ASSOCIATION.getEOperations().get(2);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.MATERIAL_ASSOCIATION, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        existsDerivationConnectedBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public int deriveLowerDerivation() {
    if (deriveLowerDerivationBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.DERIVATION.getEOperations().get(0);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.DERIVATION, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        deriveLowerDerivationBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public int deriveUpperDerivation() {
    if (deriveUpperDerivationBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.DERIVATION.getEOperations().get(1);
      OCL.Helper helper = OCL_ENV.createOCLHelper();
      helper.setOperationContext(OntoUMLPackage.Literals.DERIVATION, eOperation);
      EAnnotation ocl = eOperation.getEAnnotation(OCL_ANNOTATION_SOURCE);
      String body = ocl.getDetails().get("body");
     
      try {
        deriveUpperDerivationBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");
View Full Code Here

    addEOperation(changeSummaryEClass, null, "beginLogging");

    addEOperation(changeSummaryEClass, null, "endLogging");

    EOperation op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isCreated");
    addEParameter(op, this.getDataObject(), "dataObject");

    op = addEOperation(changeSummaryEClass, ecorePackage.getEBoolean(), "isDeleted");
    addEParameter(op, this.getDataObject(), "dataObject");
View Full Code Here

                getEditManager_SelectedLayer(),
                this.getLayer(),
                null,
                "selectedLayer", null, 0, 1, EditManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$

        EOperation op = addEOperation(editManagerEClass, null,
                "setEditFeature", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$
        addEParameter(op, this.getSimpleFeature(), "value", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$
        addEParameter(op, this.getLayer(), "layer", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$
        addEException(op, this.getIllegalArgumentException());
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.EOperation

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.