@Entity
public class Process
extends com.whitestein.lsps.common.AbstractEntity
implements com.whitestein.lsps.model.ElementWithId
Modifier | Constructor and Description |
---|---|
protected |
Process()
Creates new instance.
|
|
Process(String name,
String elementId,
String elementClass)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addProcessElement(ProcessElement processElement)
Adds a process element.
|
void |
addProcessRelationship(ProcessRelationship processRelationship)
Adds a process relationship.
|
Collection<? extends com.whitestein.lsps.model.ElementWithId> |
getChildren() |
String |
getElementClass() |
String |
getElementId() |
com.whitestein.lsps.model.ElementType |
getElementType() |
ExpressionOrigin |
getExpressionOrigin(Expression expression) |
List<Expression> |
getExpressions() |
Module |
getModule()
Returns the module.
|
String |
getName() |
Collection<ProcessElement> |
getProcessElements()
Returns a collection of all process elements.
|
Collection<ProcessRelationship> |
getProcessRelationships()
Returns a collection of all process relationships.
|
void |
preDeleteActions()
This methods deletes some relations before deleting this object by hibernate.
|
void |
removeProcessRelationship(ProcessRelationship processRelationship) |
public String getName()
getName
in interface com.whitestein.lsps.model.ElementWithId
public String getElementClass()
getElementClass
in interface com.whitestein.lsps.model.ElementWithId
public String getElementId()
getElementId
in interface com.whitestein.lsps.model.ElementWithId
public com.whitestein.lsps.model.ElementType getElementType()
getElementType
in interface com.whitestein.lsps.model.ElementWithId
public void addProcessElement(ProcessElement processElement)
processElement
- public Collection<ProcessElement> getProcessElements()
public void addProcessRelationship(ProcessRelationship processRelationship)
processRelationship
- public void removeProcessRelationship(ProcessRelationship processRelationship)
public Collection<ProcessRelationship> getProcessRelationships()
public Module getModule()
public Collection<? extends com.whitestein.lsps.model.ElementWithId> getChildren()
getChildren
in interface com.whitestein.lsps.model.ElementWithIdContainer
public List<Expression> getExpressions()
getExpressions
in interface com.whitestein.lsps.model.ElementWithId
public ExpressionOrigin getExpressionOrigin(Expression expression)
getExpressionOrigin
in interface com.whitestein.lsps.model.ElementWithId
public void preDeleteActions()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.