Package er.bugtracker

Examples of er.bugtracker.Priority


    requirementTable.addForeignKey("SUB_TYPE_ID", "REQ_SUB_TYPE", "REQ_SUB_TYPE_ID");
    requirementTable.addForeignKey("REQ_TYPE_ID", "REQ_TYPE", "REQ_TYPE_ID");
  }

  public void postUpgrade(EOEditingContext editingContext, EOModel model) throws Throwable {
    Priority critical = Priority.clazz.createAndInsertObject(editingContext);
    critical._setValueForPrimaryKey("crtl", "id");
    critical.setSortOrder(Integer.valueOf(1));
    critical.setTextDescription("Critical");

    Priority high = Priority.clazz.createAndInsertObject(editingContext);
    high._setValueForPrimaryKey("high", "id");
    high.setSortOrder(Integer.valueOf(2));
    high.setTextDescription("High");

    Priority medium = Priority.clazz.createAndInsertObject(editingContext);
    medium._setValueForPrimaryKey("medm", "id");
    medium.setSortOrder(Integer.valueOf(3));
    medium.setTextDescription("Medium");

    Priority low = Priority.clazz.createAndInsertObject(editingContext);
    low._setValueForPrimaryKey("low", "id");
    low.setSortOrder(Integer.valueOf(4));
    low.setTextDescription("Low");

    TestItemState open = TestItemState.clazz.createAndInsertObject(editingContext);
    open._setValueForPrimaryKey("open", "oid");
    open.setSortOrder(Integer.valueOf(1));
    open.setName("Open");
View Full Code Here

TOP

Related Classes of er.bugtracker.Priority

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.