0 Replies Latest reply on Jan 17, 2008 5:58 AM by Roland Huss

    Node.getLeavingTransitions():List vs. Token.getAvailableTran

    Roland Huss Newbie

      Is there a particular reason, why Token.getAvailableTransitions() returns a
      Set (a HashSet) whereas Node.getLeavingTransitions() returns an (ordered)
      List (which is also used in the Hibernate Mappings) ?

      It would be nice, if Token.gAT() could preserve the ordering (as it is defined in
      the processdefinition.xml) as well. My suggestion is to add an additional
      method returning a list (for preserving backwards compatibility), or maybe
      even a public method like

      Token.addAvailabaleTransitions(Collection availableTransitions)