Package com.ipc.oce.metadata.objects

Examples of com.ipc.oce.metadata.objects.OCInformationRegisterMetadataObject


    super(aDispatch);
  }

  @Override
  public OCInformationRegisterMetadataObject get(int i) throws JIException {
    return new OCInformationRegisterMetadataObject(super.get(i));
  }
View Full Code Here


  }

  @Override
  public OCInformationRegisterMetadataObject find(String objectName)
      throws JIException {
    return new OCInformationRegisterMetadataObject(super.find(objectName));
  }
View Full Code Here

      @Override
      protected OCInformationRegisterMetadataObject castToGeneric(
          JIVariant variant) {

        try {
          return new OCInformationRegisterMetadataObject(variant);
        } catch (JIException e) {
          throw new RuntimeException(e);
        }
      }
    };
View Full Code Here

  @Test
  public void showMetadataViaManager() throws JIException {
    OCInformationRegisterCollection collection = app.getInformationRegisterCollection();
    OCInformationRegisterManager manager = collection.getInformationRegister("АдресныйКлассификатор");
   
    OCInformationRegisterMetadataObject metadata = manager.getMetadata();
    System.out.println("getFullName: " + metadata.getFullName());
   
    OCMetadataResourceCollection resourceCollection = metadata.getResources();
    System.out.println("==== RESOURCES ====");
    for (OCResourceMetadataObject resourceMeta : resourceCollection) {
      System.out.println("\t" + resourceMeta.getName());
    }
    System.out.println("===============================================\n");
View Full Code Here

    return OCApp.getInstance(getAssociatedSessionID()).getMetadata().getInformationRegisters().find(managerName);
  }

  @Override
  public OCInformationRegisterMetadataObject getMetadata() throws JIException {
    return new OCInformationRegisterMetadataObject(super.getMetadata());
  }
View Full Code Here

   *
   * @return OCInformationRegisterMetadataObject
   * @throws JIException
   */
  public OCInformationRegisterMetadataObject getMetadata() throws JIException {
    return new OCInformationRegisterMetadataObject(callMethodA("Metadata"));
  }
View Full Code Here

TOP

Related Classes of com.ipc.oce.metadata.objects.OCInformationRegisterMetadataObject

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.