[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-06 Thread pojomonkey
OK, that might work (I'll try it) but, I am trying to keep my implementation 
unaware of the underlying persistence technology - so at the moment it doesn't 
reference the Hibernate jars.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-06 Thread Olivier_Debels
Start node is a Start State.

However when using hibernate you probably got a proxy (because hibernate does 
lazy loading).   This proxy is not aware of the original hierarchy and is not 
an instanceof Start state.

Also see:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94900

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156252
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-06 Thread pojomonkey
After a further look, I found that ProcessDefinition has the getStartState() 
method, and comparing each node against that I can identify the StartState node.

But I still think it's untidy that the Start State node is NOT instanceof 
StartState...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156233
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-06 Thread pojomonkey
"kukeltje" wrote : look at the api... afaik, there is an 'isStartState()' or 
something
I wish - looked for that first!

The only isXxxx() methods the node has are:
isAsync()
  | isAsyncExclusive()
  | isSuperStateNode()

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-05 Thread kukeltje
look at the api... afaik, there is an 'isStartState()' or something

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156124
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to indentify a StartState node?

2008-06-05 Thread salaboy21
You can get it by name???
 
  | 
  |  
  | 

or you do not wanna do this??

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156056
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user