public Vector<Artifact> getAllReleasePlans() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = releaseplans.keys(); for (int i = 0; i < releaseplans.size(); i++) { a.add(e.nextElement()); } return a; }
public Vector<Employee> getAllTimothys() { Vector<Employee> a = new Vector<Employee>(); Enumeration<Employee> e = timothys.keys(); for (int i = 0; i < timothys.size(); i++) { a.add(e.nextElement()); } return a; }
public Vector<Artifact> getAllAssociatedUserStoriess() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = associateduserstoriess.keys(); for (int i = 0; i < associateduserstoriess.size(); i++) { a.add(e.nextElement()); } return a; }
public Vector<Project> getAllProjs() { Vector<Project> a = new Vector<Project>(); Enumeration<Project> e = projs.keys(); for (int i = 0; i < projs.size(); i++) { a.add(e.nextElement()); } return a; }
public Vector<Artifact> getAllCodes() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = codes.keys(); for (int i = 0; i < codes.size(); i++) { a.add(e.nextElement()); } return a; }
public Vector<Employee> getAllActiveTimothys() { Vector<Employee> a = new Vector<Employee>(); Enumeration<Employee> e = timothys.keys(); for (int i = 0; i < timothys.size(); i++) { Employee key = e.nextElement(); if ((timothys.get(key)).booleanValue() == true) { a.add(key); } } return a; }
public Vector<Artifact> getAllInactiveReleasePlans() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = releaseplans.keys(); for (int i = 0; i < releaseplans.size(); i++) { Artifact key = e.nextElement(); if ((releaseplans.get(key)).booleanValue() == false) { a.add(key); } } return a; }
public Vector<Artifact> getAllInactiveAssociatedUserStoriess() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = associateduserstoriess.keys(); for (int i = 0; i < associateduserstoriess.size(); i++) { Artifact key = e.nextElement(); if ((associateduserstoriess.get(key)).booleanValue() == false) { a.add(key); } } return a; }
public Vector<Project> getAllInactiveProjs() { Vector<Project> a = new Vector<Project>(); Enumeration<Project> e = projs.keys(); for (int i = 0; i < projs.size(); i++) { Project key = e.nextElement(); if ((projs.get(key)).booleanValue() == false) { a.add(key); } } return a; }
public Vector<Artifact> getAllActiveCodes() { Vector<Artifact> a = new Vector<Artifact>(); Enumeration<Artifact> e = codes.keys(); for (int i = 0; i < codes.size(); i++) { Artifact key = e.nextElement(); if ((codes.get(key)).booleanValue() == true) { a.add(key); } } return a; }
public Vector<Employee> getAllInactiveRedas() { Vector<Employee> a = new Vector<Employee>(); Enumeration<Employee> e = redas.keys(); for (int i = 0; i < redas.size(); i++) { Employee key = e.nextElement(); if ((redas.get(key)).booleanValue() == false) { a.add(key); } } return a; }
public Vector<SSObject> getAllInactiveParticipants() { Vector<SSObject> all = new Vector<SSObject>(); all.addAll(getAllInactiveTimothys()); all.addAll(getAllInactiveRedas()); all.addAll(getAllInactiveCodes()); all.addAll(getAllInactiveProjs()); all.addAll(getAllInactiveAssociatedUserStoriess()); all.addAll(getAllInactiveReleasePlans()); return all; }
public void update() { // clear menus and overhead texts: Vector<Employee> employees = state.getEmployeeStateRepository().getAll(); for (int i = 0; i < employees.size(); i++) { employees.elementAt(i).clearOverheadText(); employees.elementAt(i).clearMenu(); } // update actions' time elapsed: Vector<simse.adts.actions.Action> actions = state.getActionStateRepository().getAllActions(); for (int i = 0; i < actions.size(); i++) { simse.adts.actions.Action act = actions.elementAt(i); act.incrementTimeElapsed(); } // decrement time to live for actions w/ timed destroyers: Vector<StartIterationAction> startiterationActions = state.getActionStateRepository().getStartIterationActionStateRepository().getAllActions(); for (int i = 0; i < startiterationActions.size(); i++) { StartIterationAction act = startiterationActions.elementAt(i); act.decrementTimeToLive(); } Vector<ReleaseCodeAndEndIterationAction> releasecodeandenditerationActions = state .getActionStateRepository() .getReleaseCodeAndEndIterationActionStateRepository() .getAllActions(); for (int i = 0; i < releasecodeandenditerationActions.size(); i++) { ReleaseCodeAndEndIterationAction act = releasecodeandenditerationActions.elementAt(i); act.decrementTimeToLive(); } Vector<CustomerComplainsAction> customercomplainsActions = state .getActionStateRepository() .getCustomerComplainsActionStateRepository() .getAllActions(); for (int i = 0; i < customercomplainsActions.size(); i++) { CustomerComplainsAction act = customercomplainsActions.elementAt(i); act.decrementTimeToLive(); } Vector<AllEmployeesIdleAction> allemployeesidleActions = state.getActionStateRepository().getAllEmployeesIdleActionStateRepository().getAllActions(); for (int i = 0; i < allemployeesidleActions.size(); i++) { AllEmployeesIdleAction act = allemployeesidleActions.elementAt(i); act.decrementTimeToLive(); } Vector<WarnOfImpendingDeadlineAction> warnofimpendingdeadlineActions = state .getActionStateRepository() .getWarnOfImpendingDeadlineActionStateRepository() .getAllActions(); for (int i = 0; i < warnofimpendingdeadlineActions.size(); i++) { WarnOfImpendingDeadlineAction act = warnofimpendingdeadlineActions.elementAt(i); act.decrementTimeToLive(); } // update clock: state.getClock().incrementTime(); }
public Vector<SSObject> getAllInactiveParticipants() { Vector<SSObject> all = new Vector<SSObject>(); all.addAll(getAllInactiveProjs()); all.addAll(getAllInactiveEmps()); return all; }