Package com.ipc.oce.objects

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


  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

Related Classes of com.ipc.oce.objects.OCEnumCollection

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.