/** * Returns the number of {@link EventAssignment}s in this {@link Event}. * * @return the number of {@link EventAssignment}s in this {@link Event}. * @libsbml.deprecated same as {@link #getEventAssignmentCount()} */ public int getNumEventAssignments() { return getEventAssignmentCount(); }
/** * Returns the number of {@link EventAssignment}s of this {@link Model}. * * @return return the number of {@link EventAssignment}s of this {@link Model} * . */ public int getEventAssignmentCount() { int count = 0; for (Event e : getListOfEvents()) { count += e.getEventAssignmentCount(); } return count; }
for (int j = 0; j < event.getEventAssignmentCount(); j++) { EventAssignment eventAssignment = event .getEventAssignment(j);