Examples of OCValueTableColumnCollection


Examples of com.ipc.oce.OCValueTableColumnCollection

    QueryTemplate qt = new QueryTemplate(app);
    OCQueryResultSelection selection = qt.queryForSelection("SELECT * FROM Catalog.Валюты");
    OCQueryResult result = selection.getOwner();
    OCValueTable vt = result.unload();
    assertTrue(vt.size() > 0);
    OCValueTableColumnCollection vtCC = vt.getColumns();
    int vtCCSZ = vtCC.size();
    assertTrue(vtCCSZ > 0);
    System.out.println(vt.size());
    for (int i = 1; i < vtCCSZ; i++) {
      System.out.print(vtCC.getTableColumn(i).getName() + "\t");
    }
    System.out.println();
    for (OCValueTableRow element : vt) {
      System.out.println(element.getValue(1));
    }
View Full Code Here

Examples of com.ipc.oce.OCValueTableColumnCollection

    for (OCVariant remRef : removedRefs) {
      _OCCommonRef ref = ((_OCCommonRef)remRef.value());
      System.out.println("\t" + index++ + " " + ref.toString() + " [" +ref.getUUID().toString() + "]");
    }
    OCValueTable table = app.findByRef(removedRefs);
    OCValueTableColumnCollection columns = table.getColumns();
    int colSZ = columns.size();
    System.out.println();
    for (int z =0; z < colSZ; z++) {
      OCValueTableColumn column = columns.getTableColumn(z);
      System.out.print(column.getName()+"\t|\t");
    }
    System.out.println();
    System.out.println();
    for (OCValueTableRow row : table) {
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.