Package com.ipc.oce

Examples of com.ipc.oce.OCVariant


 
  public short getShort(int paramInt) throws SQLException {
    paramInt--;
    try {
      short s = 0;
      OCVariant var = selection.getValue(paramInt);
      Object varValue = var.value();
      if (varValue != null) {
        if (varValue instanceof Boolean) {
          Boolean b = (Boolean) varValue;
          if (b) {
            s = 1;
View Full Code Here


    String res = null;
    try {
      res = selection.getString(paramString);
    } catch (java.lang.IllegalStateException e) {
      try {
        OCVariant variant = selection.getValue(paramString);
        Object o = variant.value();
        if (o != null) {
          if (o instanceof _OCCommonRef) {
            res = ((_OCCommonRef) o).getUUID().toString();
          } else {
            res = o.toString();
View Full Code Here

 
  public short getShort(String paramString) throws SQLException {
    try {
      short s = 0;
      OCVariant var = selection.getValue(paramString);
      Object varValue = var.value();
      if (varValue != null) {
        if (varValue instanceof Boolean) {
          Boolean b = (Boolean) varValue;
          if (b) {
            s = 1;
View Full Code Here

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

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

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

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

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

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

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

TOP

Related Classes of com.ipc.oce.OCVariant

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.