psdi.workflow

Class WorkflowEntity

  • java.lang.Object
    • psdi.workflow.WorkflowEntity
  • Direct Known Subclasses:
    WorkflowNode, WorkflowRelationship


    public abstract class WorkflowEntity
    extends java.lang.Object

    This class holds a entity in the workflow

    • Constructor Detail

      • WorkflowEntity

        public WorkflowEntity()
    • Method Detail

      • copy

        public abstract WorkflowEntity copy()
        Copies the workflow entity
        Returns:
        The copy
      • restoreFrom

        public abstract void restoreFrom(WorkflowEntity entity)
        Restores the workflow entity
        Parameters:
        entity - The item to restore from
      • hasProperties

        public boolean hasProperties()
        Returns whether the entity has properties or not
        Returns:
        True if node has properties and false otherwise