|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcomps.twister.engine.priv.core.definition.impl.ActivityImpl
Persistent implementation of the Activity interface.
Activity
Constructor Summary | |
ActivityImpl()
|
Method Summary | |
int |
compareTo(java.lang.Object o)
|
protected org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
createContextTree(java.lang.String correlationSetName,
java.util.Map correlation)
|
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess |
fetchProcess()
This method browse the activity containment hierarchy to fetch the process this activity is included in. |
org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl |
getActivityContainer()
TECHNICAL, DO NOT USE |
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity |
getContainer()
An Activity is contained either in a TwisterProcess of in a StructuredActivity, therefore this method will return the StructuredActivity containing this activity only if it's not the root activity. |
java.lang.Long |
getId()
|
int |
getIndex()
TECHNICAL, DO NOT USE |
java.lang.String |
getJoinCondition()
|
java.lang.String |
getName()
|
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess |
getProcess()
An Activity is contained either in a TwisterProcess of in a StructuredActivity, therefore this method will return the TwisterProcess containing this activity only if it is the root activity. |
java.util.Set |
getProcessSet()
TECHNICAL, DO NOT USE Only one activity in a processSet really has a processSet, therefore this method will often return null ; use the getContainer method instead, that always returns the right container (the real activity container or the processSet if it's a root activity). |
java.util.Set |
getSourceLinks()
|
java.util.Set |
getTargetLinks()
|
void |
setActivityContainer(org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl activityContainer)
TECHNICAL, DO NOT USE |
void |
setContainer(org.smartcomps.twister.engine.priv.core.definition.StructuredActivity stucturedActivity)
|
void |
setId(java.lang.Long id)
|
void |
setIndex(int index)
TECHNICAL, DO NOT USE |
void |
setJoinCondition(java.lang.String joinCondition)
|
void |
setName(java.lang.String name)
|
void |
setProcess(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process)
|
void |
setProcessSet(java.util.Set processSet)
TECHNICAL, DO NOT USE |
void |
setSourceLinks(java.util.Set sourceLinks)
|
void |
setTargetLinks(java.util.Set targetLinks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActivityImpl()
Method Detail |
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getName()
getName
in interface Activity
public void setName(java.lang.String name)
setName
in interface Activity
public java.lang.String getJoinCondition()
getJoinCondition
in interface Activity
public void setJoinCondition(java.lang.String joinCondition)
setJoinCondition
in interface Activity
public java.util.Set getSourceLinks()
getSourceLinks
in interface Activity
public void setSourceLinks(java.util.Set sourceLinks)
setSourceLinks
in interface Activity
public java.util.Set getTargetLinks()
getTargetLinks
in interface Activity
public void setTargetLinks(java.util.Set targetLinks)
setTargetLinks
in interface Activity
public org.smartcomps.twister.engine.priv.core.definition.StructuredActivity getContainer()
Activity
getContainer
in interface Activity
public void setContainer(org.smartcomps.twister.engine.priv.core.definition.StructuredActivity stucturedActivity)
public org.smartcomps.twister.engine.priv.core.definition.TwisterProcess getProcess()
Activity
getProcess
in interface Activity
public void setProcess(org.smartcomps.twister.engine.priv.core.definition.TwisterProcess process)
public org.smartcomps.twister.engine.priv.core.definition.TwisterProcess fetchProcess()
Activity
fetchProcess
in interface Activity
public org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl getActivityContainer()
public void setActivityContainer(org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl activityContainer)
public java.util.Set getProcessSet()
public void setProcessSet(java.util.Set processSet)
public int getIndex()
public void setIndex(int index)
protected org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext createContextTree(java.lang.String correlationSetName, java.util.Map correlation) throws EngineException
EngineException
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |