Examples of OCVariant


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 имя реквизита
   * @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

        "SELECT Doc.Ref FROM Document."
        + managerName
        + " AS Doc WHERE Doc.Number = &NUM_A AND Doc.Date = &DATE_A");
   
    // set parameters
    query.setParameter("NUM_A", new OCVariant(number));
    query.setParameter("DATE_A", new OCVariant(docDate));
   
    OCQueryResult result = query.execute();
    OCQueryResultSelection selection = result.choose();
    OCDocumentRef ref = null;
    if (selection.next()) {
View Full Code Here

Examples of com.ipc.oce.OCVariant

   */
  public OCDocumentRef[] findByNumber2(String number) throws JIException {
    OCApp instance = OCApp.getInstance(getAssociatedSessionID());
    OCQuery query = instance.newQuery("SELECT Doc.Ref FROM Document." + managerName + " AS Doc WHERE Doc.Number = &NUM_A");
   
    query.setParameter("NUM_A", new OCVariant(number));
   
    OCQueryResult result = query.execute();
    OCQueryResultSelection selection = result.choose();
    int selectionSZ = selection.size();
    List<OCDocumentRef> refList = new ArrayList<OCDocumentRef>(selectionSZ);
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

   * Содержит правое значение сравнения, если в качестве вида сравнения используется интервал.
   * @return OCVariant
   * @throws JIException
   */
  public OCVariant getValueTo() throws JIException {
    return new OCVariant(get("ValueTo"));
  }
View Full Code Here

Examples of com.ipc.oce.OCVariant

   * Содержит левое значение сравнения, если в качестве вида сравнения используется интервал.
   * @return
   * @throws JIException
   */
  public OCVariant getValueFrom() throws JIException {
    return new OCVariant(get("ValueFrom"));
  }
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 имя реквизита
   * @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

   * @param attributeName
   * @return значение простого типа или ссылку на объект
   * @throws JIException
   */
  public OCVariant getAttributeValue(String attributeName) throws JIException {
    return new OCVariant(get(attributeName));
  }
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.