Package org.cristalise.kernel.lifecycle
Class WfVertexDef
java.lang.Object
org.cristalise.kernel.graph.model.Vertex
org.cristalise.kernel.graph.model.GraphableVertex
org.cristalise.kernel.lifecycle.WfVertexDef
- Direct Known Subclasses:
ActivityDef,ActivitySlotDef,AndSplitDef,JoinDef
-
Field Summary
FieldsFields inherited from class org.cristalise.kernel.graph.model.GraphableVertex
mIsComposite -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureInstance(WfVertex newVertex, TransactionKey transactionKey) Copies Properties from vertex definition to vertex instance, and also set the EdgesMethod getErrors.abstract WfVertexinstantiate(TransactionKey transactionKey) booleanloop()Method loop.toString()abstract booleanverify()Method verify.Methods inherited from class org.cristalise.kernel.graph.model.GraphableVertex
addChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getInGraphables, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOtherPairingID, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getPairingId, getParent, getPath, getProperties, isMyPair, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionMethods inherited from class org.cristalise.kernel.graph.model.Vertex
addInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTag
-
Field Details
-
mErrors
-
loopTested
protected boolean loopTested
-
-
Constructor Details
-
WfVertexDef
public WfVertexDef()
-
-
Method Details
-
instantiate
public abstract WfVertex instantiate(TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException -
configureInstance
public void configureInstance(WfVertex newVertex, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException Copies Properties from vertex definition to vertex instance, and also set the Edges- Parameters:
newVertex- the vertex instance to be configured- Throws:
InvalidDataException- inconsistent dataObjectNotFoundException- data was not found
-
verify
public abstract boolean verify()Method verify.- Returns:
- boolean
-
getErrors
Method getErrors.- Returns:
- String
-
loop
public boolean loop()Method loop.- Returns:
- boolean
-
toString
-