Examples of OCConstantCollection


Examples of com.ipc.oce.objects.OCConstantCollection

   * Используется для доступа к определенным в конфигурации константам.
   * @return OCConstantCollection
   * @throws JIException
   */
  public OCConstantCollection getConstantsCollection() throws JIException {
    return new OCConstantCollection(get("Constants"));
  }
View Full Code Here

Examples of com.ipc.oce.objects.OCConstantCollection

   * @param constantName - имя константы
   * @return OCConstantManager
   * @throws JIException
   */
  public OCConstantManager getConstant(String constantName) throws JIException {
    OCConstantCollection collection = getConstantsCollection();
    try {
      return collection.getConstant(constantName);
    } catch (JIException e) {
      getErrorListener().onError(this, e);
      throw e;
    }
  }
View Full Code Here

Examples of com.ipc.oce.objects.OCConstantCollection

    }
  }
 
  @Test
  public void enumConstants() throws JIException {
    OCConstantCollection collection = app.getConstantsCollection();
    System.out.println("\nOCConstantCollection ====================");
    for (OCConstantManager manager : collection) {
      System.out.println(manager.getMetadata().getFullName());
    }
  }
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.