@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(java.lang.String name,
java.lang.String elementId,
java.lang.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.
|
java.util.Collection<? extends com.whitestein.lsps.model.ElementWithId> |
getChildren() |
java.lang.String |
getElementClass() |
java.lang.String |
getElementId() |
com.whitestein.lsps.model.ElementType |
getElementType() |
ExpressionOrigin |
getExpressionOrigin(Expression expression) |
java.util.List<Expression> |
getExpressions() |
Module |
getModule()
Returns the module.
|
java.lang.String |
getName() |
java.util.Collection<ProcessElement> |
getProcessElements()
Returns a collection of all process elements.
|
java.util.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) |
protected Process()
public Process(java.lang.String name, java.lang.String elementId, java.lang.String elementClass)
name
- elementId
- elementClass
- public java.lang.String getName()
getName
in interface com.whitestein.lsps.model.ElementWithId
public java.lang.String getElementClass()
getElementClass
in interface com.whitestein.lsps.model.ElementWithId
public java.lang.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 java.util.Collection<ProcessElement> getProcessElements()
public void addProcessRelationship(ProcessRelationship processRelationship)
processRelationship
- public void removeProcessRelationship(ProcessRelationship processRelationship)
public java.util.Collection<ProcessRelationship> getProcessRelationships()
public Module getModule()
public java.util.Collection<? extends com.whitestein.lsps.model.ElementWithId> getChildren()
getChildren
in interface com.whitestein.lsps.model.ElementWithIdContainer
public java.util.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.