Examples of OCVariant


Examples of com.ipc.oce.OCVariant

    super(aDispatch);
  }


  public OCType getType(int i) throws JIException {
    OCVariant v = super.get(i);
    return new OCType(v.getAsOCObject());
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   * Содержит значение константы. Чтение и запись производится методами Прочитать и Записать.
   * @return OCVariant
   * @throws JIException
   */
  public OCVariant getValue() throws JIException{
    return new OCVariant(get("Value"));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   * @param columnName
   * @return OCVariant
   * @throws JIException
   */
  public OCVariant getColumnValue(String columnName) throws JIException{
    return new OCVariant(get(columnName));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   *            - имя реквизита.
   * @return OCVariant
   * @throws JIException
   */
  public OCVariant getAttributeValue(String attributeName) throws JIException{
    return new OCVariant(get(attributeName));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   *            - имя ресурса
   * @return Number
   * @throws JIException
   */
  public Number getResource(String resourceName) throws JIException{
    OCVariant v = new OCVariant(get(resourceName));
    return (Number) v.value();
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   *            - имя измерения
   * @return OCVariant
   * @throws JIException
   */
  public OCVariant getDimension(String dimensionName) throws JIException{
    return new OCVariant(get(dimensionName));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

      description = stringTypeCache.get(fieldName);
    } else {
      description = getColumns().getColumn(fieldName).getValueType();
      stringTypeCache.put(fieldName, description);
    }
    return new OCVariant(get(fieldName), description);
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

      description = intTypeCache.get(aIndex);
    } else {
      description = getColumns().getColumn(aIndex).getValueType();
      intTypeCache.put(aIndex, description);
    }
    OCVariant variant = new OCVariant(callMethodA("Get",
        new Object[] { new JIVariant(aIndex) })[0], description);
    return variant;
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   * @param attributeName
   * @return
   * @throws JIException
   */
  public OCVariant getAttributeValue(String attributeName) throws JIException{
    return new OCVariant(get(attributeName));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   * @param propName OCXDTOProperty
   * @return
   * @throws JIException
   */
  public OCVariant getValue(OCXDTOProperty propName) throws JIException{
    return new OCVariant(callMethodA("Get", new Object[]{ocObject2Dispatch(propName)})[0]);
  }
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.