Examples of OCEnumCollection


Examples of com.ipc.oce.objects.OCEnumCollection

   *
   * @return OCEnumCollection
   * @throws JIException
   */
  public OCEnumCollection getEnumCollection() throws JIException {
    return new OCEnumCollection(get("Enums"));
  }
View Full Code Here

Examples of com.ipc.oce.objects.OCEnumCollection

  public OCEnumRef getEnumRef(String fullName) throws JIException {
    String[] splitted = fullName.split("\\.");
    if (splitted == null || splitted.length != 2) {
      throw new RuntimeException("Wrong parameter in getEnumRef (example: СтавкиНДС.БезНДС)");
    }
    OCEnumCollection collection = getEnumCollection();
    OCEnumManager manager = collection.getEnum(splitted[0]);
    return manager.getEnumValueRef(splitted[1]);
  }
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.