directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1052231 - /directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java
Date Thu, 23 Dec 2010 11:36:59 GMT
Author: elecharny
Date: Thu Dec 23 11:36:59 2010
New Revision: 1052231

URL: http://svn.apache.org/viewvc?rev=1052231&view=rev
Log:
Injected the subentryUUID into the subentry data structure

Modified:
    directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java

Modified: directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java?rev=1052231&r1=1052230&r2=1052231&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java
(original)
+++ directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java
Thu Dec 23 11:36:59 2010
@@ -42,6 +42,9 @@ public class Subentry
     /** The administratives roles */
     private Set<AdministrativeRole> administrativeRoles;
     
+    /** The subentry UUID */
+    private String uuid;
+    
     /**
      * Stores the subtreeSpecification
      *
@@ -122,12 +125,30 @@ public class Subentry
 
 
     /**
+     * @return the uuid
+     */
+    public String getUuid()
+    {
+        return uuid;
+    }
+
+
+    /**
+     * @param uuid the uuid to set
+     */
+    public void setUuid( String uuid )
+    {
+        this.uuid = uuid;
+    }
+
+
+    /**
      * @see Object#toString()
      */
     public String toString()
     {
         StringBuilder sb = new StringBuilder();
-        sb.append( "Subentry[" );
+        sb.append( "Subentry-" ).append( uuid ).append( "[" );
         
         boolean isFirst = true;
         



Mime
View raw message