directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r504265 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
Date Tue, 06 Feb 2007 19:56:50 GMT
Author: akarasulu
Date: Tue Feb  6 11:56:49 2007
New Revision: 504265

URL: http://svn.apache.org/viewvc?view=rev&rev=504265
Log:
more javadocs

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java?view=diff&rev=504265&r1=504264&r2=504265
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/DescriptionParsers.java
Tue Feb  6 11:56:49 2007
@@ -495,6 +495,13 @@
     }
     
     
+    /**
+     * Called to populate the common schema object properties using an abstract 
+     * description object.
+     *   
+     * @param desc the source description object to copy properties from
+     * @param obj the mutable schema object to copy properites to
+     */
     private void setSchemaObjectProperties( AbstractSchemaDescription desc, MutableSchemaObject
obj )
     {
         obj.setDescription( desc.getDescription() );
@@ -504,6 +511,13 @@
     }
     
     
+    /**
+     * Checks to see if the syntax description is human readable by checking 
+     * for the presence of the X-IS-HUMAN_READABLE schema extension.
+     * 
+     * @param desc the ldapSyntaxDescription 
+     * @return true if the syntax is human readable, false otherwise
+     */
     private boolean isHumanReadable( LdapSyntaxDescription desc )
     {
         List<String> values = desc.getExtensions().get( X_IS_HUMAN_READABLE );
@@ -527,6 +541,13 @@
     }
     
     
+    /**
+     * Gets the schema name for the schema description by looking up the value 
+     * of the X-SCHEMA schema extension of the description. 
+     * 
+     * @param desc the schema description 
+     * @return the schema name for the schema entity
+     */
     private String getSchema( AbstractSchemaDescription desc ) 
     {
         List<String> values = desc.getExtensions().get( X_SCHEMA );



Mime
View raw message