Package org.jinterop.dcom.core

Examples of org.jinterop.dcom.core.JIVariant


   * @param i Индекс элемента.
   * @return
   * @throws JIException
   */
  public OCVariant get(int i) throws JIException {
    return new OCVariant(callMethodA("Get", new Object[]{new JIVariant(i)})[0]);
  }
View Full Code Here


   * @param variant
   * @param index
   * @throws JIException
   */
  public void insert(int index, OCVariant variant ) throws JIException {
    callMethod("Insert", new Object[]{new JIVariant(index), variant.getJIVariant()});
  }
View Full Code Here

   * Если указанный в параметре индекс больше, чем ВГраница, то никаких действий не производится и не выдается сообщение "Индекс находится за границами массива".
   * @param index Индекс удаляемого элемента.
   * @throws JIException
   */
  public void delete(int index) throws JIException {
    callMethod("Delete", new Object[]{new JIVariant(index)});
  }
View Full Code Here

   * @param index
   * @return
   * @throws JIException
   */
  public OCValueTableColumn getTableColumn(int index) throws JIException {
    return new OCValueTableColumn(callMethodA("Get", new Object[]{new JIVariant(index)})[0]);
  }
View Full Code Here

   * @param columnName Наименование колонки таблицы значений
   * @return  Если указанная колонка отсутствует, то возвращается значение Неопределено.
   * @throws JIException
   */
  public OCValueTableColumn find(String columnName) throws JIException {
    return new OCValueTableColumn(callMethodA("Find", new Object[]{new JIVariant(columnName)})[0]);
  }
View Full Code Here

   * @return Созданная запись регистра
   * @throws JIException
   */
  public OCAccountingRegisterRecord insert(int index) throws JIException {
    return new OCAccountingRegisterRecord(callMethodA("Insert",
        new Object[] { new JIVariant(index) })[0]);
  }
View Full Code Here

   * @throws JIException
   */
  public OCValueTable unload(OCArray rows, String columns) throws JIException {
    return new OCValueTable(callMethodA("Unload", new Object[]{
        rows != null ? ocObject2Dispatch(rows) : null,
        new JIVariant(columns)
    })[0]);
  }
View Full Code Here

   *            выгружены все колонки.
   * @return OCValueTable
   * @throws JIException
   */
  public OCValueTable unloadColumns(String columns) throws JIException {
    return new OCValueTable(callMethodA("UnloadColumns", new Object[]{new JIVariant(columns)})[0]);
  }
View Full Code Here

   *            выгружены в массив
   * @return OCArray
   * @throws JIException
   */
  public OCArray unloadColumn(String columnName) throws JIException {
    return new OCArray(callMethodA("UnloadColumn", new Object[]{new JIVariant(columnName)})[0]);
  }
View Full Code Here

   *            значения из массива.
   * @throws JIException
   */
  public void loadColumn(OCArray array, String fieldName) throws JIException {
    callMethod("LoadColumn", new Object[] { ocObject2Dispatch(array),
        new JIVariant(fieldName) });
  }
View Full Code Here

TOP

Related Classes of org.jinterop.dcom.core.JIVariant

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.