From 8bf57178be13de90174a200ca75e9df959d0ef25 Mon Sep 17 00:00:00 2001
From: jdemendi <jdemendi@localhost>
Date: Wed, 08 Aug 2007 09:57:42 +0000
Subject: [PATCH] This set of changes add ID to identify network groups, workflows and workflow elements. These identifiers pave the way for the network group and workflow configuration.

---
 opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElement.java |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElement.java b/opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElement.java
index df604c3..fb1a6cc 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElement.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/workflowelement/WorkflowElement.java
@@ -41,6 +41,10 @@
 public abstract class WorkflowElement
 {
 
+  // The workflow element identifier.
+  private String workflowElementID = null;
+
+
   /**
    * Indicates whether the workflow element encapsulates a private
    * local backend.
@@ -50,10 +54,13 @@
 
   /**
    * Creates a new instance of the workflow element.
+   *
+   * @param workflowElementID  the workflow element identifier as defined
+   *                           in the configuration.
    */
-  public WorkflowElement()
+  public WorkflowElement(String workflowElementID)
   {
-    // No implementation is required.
+    this.workflowElementID = workflowElementID;
   }
 
 
@@ -78,4 +85,15 @@
   {
     return isPrivate;
   }
+
+
+  /**
+   * Provides the workflow element identifier.
+   *
+   * @return the worflow element identifier
+   */
+  public String getWorkflowElementID()
+  {
+    return workflowElementID;
+  }
 }

--
Gitblit v1.10.0