directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r431690 - in /directory/sandbox/akarasulu/apacheds-2.0/schema: descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/
Date Tue, 15 Aug 2006 19:57:53 GMT
Author: akarasulu
Date: Tue Aug 15 12:57:53 2006
New Revision: 431690

URL: http://svn.apache.org/viewvc?rev=431690&view=rev
Log:
adding code based schema object interface

Added:
    directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/CodeBasedSchemaObject.java
Modified:
    directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ComparatorDescription.java
    directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/NormalizerDescription.java
    directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/SyntaxCheckerDescription.java
    directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java

Added: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/CodeBasedSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/CodeBasedSchemaObject.java?rev=431690&view=auto
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/CodeBasedSchemaObject.java
(added)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/CodeBasedSchemaObject.java
Tue Aug 15 12:57:53 2006
@@ -0,0 +1,6 @@
+package org.apache.directory.server2.schema.descriptions;
+
+public interface CodeBasedSchemaObject extends SchemaObject
+{
+    String getCodeUnit();
+}

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ComparatorDescription.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ComparatorDescription.java?rev=431690&r1=431689&r2=431690&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ComparatorDescription.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/ComparatorDescription.java
Tue Aug 15 12:57:53 2006
@@ -27,7 +27,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public interface ComparatorDescription extends SchemaObject, Comparator
+public interface ComparatorDescription extends CodeBasedSchemaObject, Comparator
 {
     /**
      * Get's the numeric OID for the matchingRuleDescription associated with 

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/NormalizerDescription.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/NormalizerDescription.java?rev=431690&r1=431689&r2=431690&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/NormalizerDescription.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/NormalizerDescription.java
Tue Aug 15 12:57:53 2006
@@ -26,7 +26,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public interface NormalizerDescription extends SchemaObject
+public interface NormalizerDescription extends CodeBasedSchemaObject
 {
     String getMatchingRuleDescriptionOid();
     

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/SyntaxCheckerDescription.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/SyntaxCheckerDescription.java?rev=431690&r1=431689&r2=431690&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/SyntaxCheckerDescription.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/SyntaxCheckerDescription.java
Tue Aug 15 12:57:53 2006
@@ -28,7 +28,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public interface SyntaxCheckerDescription extends SchemaObject
+public interface SyntaxCheckerDescription extends CodeBasedSchemaObject
 {
     /**
      * Gets the OID of the syntax this checker verifies.

Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java?rev=431690&r1=431689&r2=431690&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
(original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/normalizers/src/main/java/org/apache/directory/server2/schema/normalizers/NoOpNormalizer.java
Tue Aug 15 12:57:53 2006
@@ -31,7 +31,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev: 379008 $
  */
-public class NoOpNormalizer implements NormalizerDescription, Serializable
+public final class NoOpNormalizer implements NormalizerDescription, Serializable
 {
     static final long serialVersionUID = -7817763636668562489L;
 
@@ -47,7 +47,7 @@
     /**
      * Returns the value argument as-is without alterations all the time.
      */
-    public Object normalize( Object value )
+    public final Object normalize( Object value )
     {
         return value;
     }
@@ -59,14 +59,14 @@
     }
 
 
-    public String getDescription()
+    public final String getDescription()
     {
         return "Do nothing no operation normalizer";
     }
 
 
     @SuppressWarnings("unchecked")
-    public Map<String, List<String>> getExtensions()
+    public final Map<String, List<String>> getExtensions()
     {
         return Collections.EMPTY_MAP;
     }



Mime
View raw message