01: package org.andromda.cartridges.jbpm.metafacades;
02:
03: import java.util.ArrayList;
04: import java.util.Collection;
05: import java.util.Iterator;
06: import java.util.List;
07:
08: /**
09: * MetafacadeLogic implementation for org.andromda.cartridges.jbpm.metafacades.JBpmNode.
10: *
11: * @see org.andromda.cartridges.jbpm.metafacades.JBpmNode
12: */
13: public class JBpmNodeLogicImpl extends JBpmNodeLogic {
14:
15: public JBpmNodeLogicImpl(Object metaObject, String context) {
16: super (metaObject, context);
17: }
18:
19: /**
20: * @see org.andromda.cartridges.jbpm.metafacades.JBpmNode#isTaskNode()
21: */
22: protected boolean handleIsTaskNode() {
23: return !this .getTasks().isEmpty();
24: }
25:
26: /**
27: * @see org.andromda.cartridges.jbpm.metafacades.JBpmNode#getSwimlane()
28: */
29: protected java.lang.Object handleGetSwimlane() {
30: return this.getPartition();
31: }
32: }
|