Package com.ipc.oce

Examples of com.ipc.oce.OCObject


    return new OCCatalogMetadataObject(super.get(i));
  }

  @Override
  public OCCatalogMetadataObject find(String objectName) throws JIException {
    OCObject object = super.find(objectName);
    if (object != null) {
      return new OCCatalogMetadataObject(object);
    } else {
      return null;
    }
View Full Code Here


  }

  @Override
  public OCXDTOPackageMetadataObject find(String objectName)
      throws JIException {
    OCObject var = super.find(objectName);
    return var != null ? new OCXDTOPackageMetadataObject(var) : null;
  }
View Full Code Here

    return new OCRoleMetadataObject(super.get(i));
  }

  @Override
  public OCObject find(String objectName) throws JIException {
    OCObject obj = super.find(objectName);
    if (obj != null) {
      return new OCRoleMetadataObject(super.find(objectName));
    } else {
      return null;
    }
View Full Code Here

  @Test
  public void staticVSvarset() throws JIException {
    EDocumentPostingMode eDWM = app
        .findVarset(EDocumentPostingMode.REGULAR);
    OCObject o1 = app.getStaticFields("DocumentPostingMode.Regular");
    System.out.println("eDWM: " + eDWM.toString());
    System.out.println("Stat: " + o1.toString());
    assertTrue(eDWM.toString().equals(o1.toString()));
  }
View Full Code Here

    };
    return enumV;
  }
 
  private OCDataCompositionSchemaDataSet try2wrapp(JIVariant variant) throws JIException {
    OCObject basic = new OCObject(variant);

    try{ // try to object ----------
      OCDataCompositionSchemaDataSetObject dsObject = new OCDataCompositionSchemaDataSetObject(basic);
      dsObject.getObjectName();
      return dsObject;
View Full Code Here

  public void setRightText(String text) throws JIException {
    put("RightText", new JIVariant(text));
  }
 
  public String getVerticalAlign() throws JIException {
    return (new OCObject(get("VerticalAlign"))).toString();
  }
View Full Code Here

  AbstractDCSList(JIVariant aDispatch) throws JIException {
    super(aDispatch);
  }
 
  protected OCObject insert(int index) throws JIException {
    return new OCObject(callMethodA("Insert", new JIVariant(index))[0]);
  }
View Full Code Here

  protected OCObject insert(int index) throws JIException {
    return new OCObject(callMethodA("Insert", new JIVariant(index))[0]);
  }
 
  protected OCObject add() throws JIException {
    return new OCObject(callMethodA("Add"));
  }
View Full Code Here

   * @throws JIException
   */
  protected OCObject find(String paramName) throws JIException {
    JIVariant var = callMethodA("Find", new JIVariant(paramName))[0];
    if (var.getType() != JIVariant.VT_EMPTY) {
      return new OCObject(var);
    } else {
      throw new JIException(-1, "Parameter '" + paramName + "' not found");
    }
  }
View Full Code Here

  protected void clear() throws JIException {
    callMethod("Clear");
  }
 
  protected OCObject get(int index) throws JIException {
    return new OCObject(callMethodA("Get", new JIVariant(index))[0]);
  }
View Full Code Here

TOP

Related Classes of com.ipc.oce.OCObject

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.