Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.EOperation$Internal$InvocationDelegate


    initEClass(validatorEClass, Validator.class, "Validator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
    initEAttribute(getValidator_Id(), ecorePackage.getEString(), "id", null, 0, 1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getValidator_Category(), this.getCategory(), null, "category", null, 1, 1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
    initEReference(getValidator_Types(), this.getType(), null, "types", null, 0, -1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

    EOperation op = initEOperation(getValidator__GetType__String(), this.getType(), "getType", 0, 1, IS_UNIQUE, IS_ORDERED);
    addEParameter(op, ecorePackage.getEString(), "id", 0, 1, IS_UNIQUE, IS_ORDERED);

    initEOperation(getValidator__GetValidatorFactory(), this.getValidatorFactory(), "getValidatorFactory", 0, 1, IS_UNIQUE, IS_ORDERED);

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


   * <!-- end-user-doc -->
   * @generated
   */
  public EList<Element> allSuperTypes() {
    if (allSuperTypesBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(0);
      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 {
        allSuperTypesBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public EList<Element> allSubTypes() {
    if (allSubTypesBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(1);
      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 {
        allSubTypesBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean isConected(Element x) {
    if (isConectedBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(2);
      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 {
        isConectedBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean subInstanceType(Element x) {
    if (subInstanceTypeBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(3);
      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 {
        subInstanceTypeBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean subMetaTypeKind() {
    if (subMetaTypeKindBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(4);
      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 {
        subMetaTypeKindBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean subMetaTypeCollective() {
    if (subMetaTypeCollectiveBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(5);
      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 {
        subMetaTypeCollectiveBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean subMetaTypeQuantity() {
    if (subMetaTypeQuantityBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(6);
      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 {
        subMetaTypeQuantityBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean hasFunctionalComplexesInstances() {
    if (hasFunctionalComplexesInstancesBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(7);
      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 {
        hasFunctionalComplexesInstancesBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public boolean hasCollectivesInstances() {
    if (hasCollectivesInstancesBodyOCL == null) {
      EOperation eOperation = OntoUMLPackage.Literals.ELEMENT.getEOperations().get(8);
      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 {
        hasCollectivesInstancesBodyOCL = helper.createQuery(body);
      } catch (ParserException e) {
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.EOperation$Internal$InvocationDelegate

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.