directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1064986 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java
Date Sat, 29 Jan 2011 09:14:25 GMT
Author: akarasulu
Date: Sat Jan 29 09:14:25 2011
New Revision: 1064986

URL: http://svn.apache.org/viewvc?rev=1064986&view=rev
Log:
fixing and migrating more controls (replication related)

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java?rev=1064986&r1=1064985&r2=1064986&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncmodifydn/SyncModifyDn.java
Sat Jan 29 09:14:25 2011
@@ -45,6 +45,7 @@ public class SyncModifyDn implements ISy
 
     private SyncModifyDnType modDnType;
     
+    private boolean isCritical;
     
 
     /**
@@ -52,7 +53,7 @@ public class SyncModifyDn implements ISy
      */
     public String getOid()
     {
-        return null;
+        return OID;
     }
 
 
@@ -61,7 +62,7 @@ public class SyncModifyDn implements ISy
      */
     public boolean isCritical()
     {
-        return false;
+        return isCritical;
     }
 
 
@@ -70,6 +71,7 @@ public class SyncModifyDn implements ISy
      */
     public void setCritical( boolean isCritical )
     {
+        this.isCritical = isCritical;
     }
 
 
@@ -78,7 +80,7 @@ public class SyncModifyDn implements ISy
      */
     public String getEntryDn()
     {
-        return null;
+        return entryDn;
     }
 
 
@@ -87,6 +89,7 @@ public class SyncModifyDn implements ISy
      */
     public void setEntryDn( String entryDn )
     {
+        this.entryDn = entryDn;
     }
 
 
@@ -95,7 +98,7 @@ public class SyncModifyDn implements ISy
      */
     public String getNewSuperiorDn()
     {
-        return null;
+        return newSuperiorDn;
     }
 
 
@@ -104,6 +107,7 @@ public class SyncModifyDn implements ISy
      */
     public void setNewSuperiorDn( String newSuperiorDn )
     {
+        this.newSuperiorDn = newSuperiorDn;
     }
 
 
@@ -112,7 +116,7 @@ public class SyncModifyDn implements ISy
      */
     public String getNewRdn()
     {
-        return null;
+        return newRdn;
     }
 
 
@@ -121,6 +125,7 @@ public class SyncModifyDn implements ISy
      */
     public void setNewRdn( String newRdn )
     {
+        this.newRdn = newRdn;
     }
 
 
@@ -129,7 +134,7 @@ public class SyncModifyDn implements ISy
      */
     public boolean isDeleteOldRdn()
     {
-        return false;
+        return deleteOldRdn;
     }
 
 
@@ -138,6 +143,7 @@ public class SyncModifyDn implements ISy
      */
     public void setDeleteOldRdn( boolean deleteOldRdn )
     {
+        this.deleteOldRdn = deleteOldRdn;
     }
 
 
@@ -146,7 +152,7 @@ public class SyncModifyDn implements ISy
      */
     public SyncModifyDnType getModDnType()
     {
-        return null;
+        return modDnType;
     }
 
 
@@ -155,6 +161,6 @@ public class SyncModifyDn implements ISy
      */
     public void setModDnType( SyncModifyDnType modDnType )
     {
+        this.modDnType = modDnType;
     }
-
 }



Mime
View raw message