You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2010/12/23 12:36:59 UTC
svn commit: r1052231 -
/directory/apacheds/branches/apacheds-AP/core-api/src/main/java/org/apache/directory/server/core/administrative/Subentry.java
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;