directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r613614 - /directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java
Date Sun, 20 Jan 2008 17:03:59 GMT
Author: akarasulu
Date: Sun Jan 20 09:03:58 2008
New Revision: 613614

URL: http://svn.apache.org/viewvc?rev=613614&view=rev
Log:
forgot to commit this from merge

Modified:
    directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java

Modified: directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java?rev=613614&r1=613613&r2=613614&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java
(original)
+++ directory/sandbox/akarasulu/bigbang/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/Modification.java
Sun Jan 20 09:03:58 2008
@@ -19,7 +19,6 @@
  */
 package org.apache.directory.shared.ldap.entry;
 
-
 /**
  * An internal interface for a ModificationItem. The name has been
  * chosen so that it does not conflict with @see ModificationItem
@@ -27,14 +26,14 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public interface Modification
+public interface Modification<T extends EntryAttribute<?>>
 {
     /**
      *  @return the operation
      */
     ModificationOperation getOperation();
-    
-    
+
+
     /**
      * Store the modification operation
      *
@@ -42,7 +41,7 @@
      */
     void setOperation( int operation );
 
-    
+
     /**
      * Store the modification operation
      *
@@ -50,17 +49,17 @@
      */
     void setOperation( ModificationOperation operation );
 
-    
+
     /**
      * @return the attribute containing the modifications
      */
-    EntryAttribute<? extends Value<?>> getAttribute();
-    
-    
+    T getAttribute();
+
+
     /**
      * Set the attribute's modification
      *
-     * @param attribute The modified attribute 
+     * @param attribute The modified attribute
      */
-    void setAttribute( EntryAttribute<? extends Value<?>> attribute );
-}
+    void setAttribute( T attribute );
+}
\ No newline at end of file



Mime
View raw message