01: package org.andromda.cartridges.jbpm.metafacades;
02:
03: import org.andromda.cartridges.jbpm.JBpmProfile;
04: import org.andromda.metafacades.uml.EventFacade;
05:
06: import java.util.ArrayList;
07: import java.util.Collection;
08: import java.util.Iterator;
09: import java.util.List;
10:
11: /**
12: * MetafacadeLogic implementation for org.andromda.cartridges.jbpm.metafacades.JBpmState.
13: *
14: * @see org.andromda.cartridges.jbpm.metafacades.JBpmState
15: */
16: public class JBpmStateLogicImpl extends JBpmStateLogic {
17:
18: public JBpmStateLogicImpl(Object metaObject, String context) {
19: super (metaObject, context);
20: }
21:
22: protected boolean handleIsTaskNode() {
23: return hasStereotype(JBpmProfile.STEREOTYPE_TASK);
24: }
25:
26: protected Object handleGetSwimlane() {
27: return this.getPartition();
28: }
29: }
|