Class SFlowNodeDefinitionImpl
java.lang.Object
org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
org.bonitasoft.engine.core.process.definition.model.impl.SNamedElementImpl
org.bonitasoft.engine.core.process.definition.model.impl.SFlowNodeDefinitionImpl
- All Implemented Interfaces:
Serializable,SBaseElement,SFlowNodeDefinition,SNamedElement
- Direct Known Subclasses:
SActivityDefinitionImpl,SEventDefinitionImpl,SGatewayDefinitionImpl
public abstract class SFlowNodeDefinitionImpl
extends SNamedElementImpl
implements SFlowNodeDefinition
- Author:
- Feng Hui, Elias Ricken de Medeiros, Matthieu Chaffotte, Celine Souchet
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
SBaseElementImpl.EQUALS_STATE -
Constructor Summary
ConstructorsConstructorDescriptionSFlowNodeDefinitionImpl(long id, String name) SFlowNodeDefinitionImpl(org.bonitasoft.engine.bpm.flownode.FlowNodeDefinition flowNodeDefinition, Map<String, STransitionDefinition> sTransitionsMap) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncomingTransition(STransitionDefinition sTransition) voidaddOutgoingTransition(STransitionDefinition sTransition) booleangetConnectorDefinition(String name) getConnectors(org.bonitasoft.engine.bpm.connector.ConnectorEvent connectorEvent) Gets the incoming transitions of the activity.Gets the outgoing transitions of the activity.intgetTransitionIndex(Long transitionId) booleaninthashCode()booleanChecks whether the activity contains incoming transitions.booleanChecks whether the activity has outgoing transitions.booleanbooleanbooleanbooleanbooleanbooleanvoidsetDescription(String description) voidsetDisplayDescription(SExpression displayDescription) voidsetDisplayName(SExpression displayName) Methods inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SNamedElementImpl
checkFurtherNaiveEquality, getNameMethods inherited from class org.bonitasoft.engine.core.process.definition.model.impl.SBaseElementImpl
checkNaiveEquality, getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.core.process.definition.model.SBaseElement
getIdMethods inherited from interface org.bonitasoft.engine.core.process.definition.model.SFlowNodeDefinition
getTypeMethods inherited from interface org.bonitasoft.engine.core.process.definition.model.SNamedElement
getName
-
Constructor Details
-
SFlowNodeDefinitionImpl
public SFlowNodeDefinitionImpl(org.bonitasoft.engine.bpm.flownode.FlowNodeDefinition flowNodeDefinition, Map<String, STransitionDefinition> sTransitionsMap) -
SFlowNodeDefinitionImpl
-
-
Method Details
-
getParentContainer
- Specified by:
getParentContainerin interfaceSFlowNodeDefinition
-
getOutgoingTransitions
Description copied from interface:SFlowNodeDefinitionGets the outgoing transitions of the activity.- Specified by:
getOutgoingTransitionsin interfaceSFlowNodeDefinition- Returns:
- the outgoing transitions of the activity
-
getIncomingTransitions
Description copied from interface:SFlowNodeDefinitionGets the incoming transitions of the activity.- Specified by:
getIncomingTransitionsin interfaceSFlowNodeDefinition- Returns:
- the incoming transitions of the activity
-
getConnectors
- Specified by:
getConnectorsin interfaceSFlowNodeDefinition
-
hasConnectors
public boolean hasConnectors()- Specified by:
hasConnectorsin interfaceSFlowNodeDefinition- Returns:
-
getConnectorDefinition
- Specified by:
getConnectorDefinitionin interfaceSFlowNodeDefinition- Returns:
-
getDefaultTransition
- Specified by:
getDefaultTransitionin interfaceSFlowNodeDefinition
-
hasIncomingTransitions
public boolean hasIncomingTransitions()Description copied from interface:SFlowNodeDefinitionChecks whether the activity contains incoming transitions.- Specified by:
hasIncomingTransitionsin interfaceSFlowNodeDefinition- Returns:
- true if the activity contains incoming transitions; false otherwise
-
hasOutgoingTransitions
public boolean hasOutgoingTransitions()Description copied from interface:SFlowNodeDefinitionChecks whether the activity has outgoing transitions.- Specified by:
hasOutgoingTransitionsin interfaceSFlowNodeDefinition- Returns:
- true if the activity contains outgoing transitions; false otherwise;
-
getConnectors
public List<SConnectorDefinition> getConnectors(org.bonitasoft.engine.bpm.connector.ConnectorEvent connectorEvent) - Specified by:
getConnectorsin interfaceSFlowNodeDefinition
-
addOutgoingTransition
-
addIncomingTransition
-
getDescription
- Specified by:
getDescriptionin interfaceSFlowNodeDefinition
-
setDescription
-
getDisplayDescription
- Specified by:
getDisplayDescriptionin interfaceSFlowNodeDefinition
-
setDisplayDescription
-
getDisplayDescriptionAfterCompletion
- Specified by:
getDisplayDescriptionAfterCompletionin interfaceSFlowNodeDefinition
-
getDisplayName
- Specified by:
getDisplayNamein interfaceSFlowNodeDefinition
-
setDisplayName
-
hashCode
public int hashCode()- Overrides:
hashCodein classSNamedElementImpl
-
equals
- Overrides:
equalsin classSNamedElementImpl
-
getTransitionIndex
- Specified by:
getTransitionIndexin interfaceSFlowNodeDefinition
-
isStartable
public boolean isStartable()- Specified by:
isStartablein interfaceSFlowNodeDefinition
-
isParalleleOrInclusive
public boolean isParalleleOrInclusive()- Specified by:
isParalleleOrInclusivein interfaceSFlowNodeDefinition
-
isExclusive
public boolean isExclusive()- Specified by:
isExclusivein interfaceSFlowNodeDefinition
-
isBoundaryEvent
public boolean isBoundaryEvent()- Specified by:
isBoundaryEventin interfaceSFlowNodeDefinition
-
isInterrupting
public boolean isInterrupting()- Specified by:
isInterruptingin interfaceSFlowNodeDefinition
-
isEventSubProcess
public boolean isEventSubProcess()- Specified by:
isEventSubProcessin interfaceSFlowNodeDefinition
-