[jboss-user] [JBoss jBPM] - Node.getLeavingTransitions():List vs. Token.getAvailableTran

pirx do-not-reply at jboss.com
Thu Jan 17 05:58:33 EST 2008


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)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120798#4120798

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120798



More information about the jboss-user mailing list