Package com.ipc.oce

Examples of com.ipc.oce.OCVariant


  }

 
  public void setDate(int paramInt, Date paramDate) throws SQLException {
    try {
      getOceStatement().setParameter(getPName(paramInt), new OCVariant(paramDate));
    } catch (JIException e) {
      throw new SQLException(e);
    }
  }
View Full Code Here


  }

 
  public void setTime(int paramInt, Time paramTime) throws SQLException {
    try {
      getOceStatement().setParameter(getPName(paramInt), new OCVariant(paramTime));
    } catch (JIException e) {
      throw new SQLException(e);
    }

  }
View Full Code Here

  }

 
  public void setTimestamp(int paramInt, Timestamp paramTimestamp) throws SQLException {
    try {
      getOceStatement().setParameter(getPName(paramInt), new OCVariant(paramTimestamp));
    } catch (JIException e) {
      throw new SQLException(e);
    }
  }
View Full Code Here

 
  public void setObject(int paramInt, Object paramObject) throws SQLException {
    if (paramObject instanceof OCObject) {
      try {
        getOceStatement().setParameter(getPName(paramInt),
            new OCVariant(paramObject));
      } catch (JIException e) {
        throw new SQLException(e);
      }
    }
  }
View Full Code Here

          Iterator<String> iter = mappedSet.keySet().iterator();
          while (iter.hasNext()) {
            String key = iter.next();
            Object value = mappedSet.get(key);
            //System.out.println(key + " => " + value);
            aBean.setAttributeValue(key, new OCVariant(value));
           
            if (!objectChanged) {
              objectChanged = true;
            }
          }
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

  public <T> T getOwner() throws JIException {
    JIVariant var = get("Owner");
    if (var.getType() == JIVariant.VT_EMPTY) {
      return null;
    }
    OCVariant oVar = new OCVariant(var);
    return oVar.value();
  }
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

   * @param attributeName
   * @return
   * @throws JIException
   */
  public OCVariant getAttributeValue(String attributeName) throws JIException{
    return new OCVariant(get(attributeName));
  }
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.