directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r893556 - /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
Date Wed, 23 Dec 2009 15:55:13 GMT
Author: elecharny
Date: Wed Dec 23 15:55:12 2009
New Revision: 893556

URL: http://svn.apache.org/viewvc?rev=893556&view=rev
Log:
Reverted Alex's changes. Schemas is a valid plural for Schema

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java?rev=893556&r1=893555&r2=893556&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
Wed Dec 23 15:55:12 2009
@@ -46,8 +46,8 @@
 
 
 /**
- * A class used to manage access to Schema and Registries. It's associated
- * with a SchemaLoader, in charge of loading schema from the disk.
+ * A class used to manage access to the Schemas and Registries. It's associated 
+ * with a SchemaLoader, in charge of loading the schemas from the disk.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
@@ -58,168 +58,168 @@
     // Schema loading methods
     //---------------------------------------------------------------------------------
     /**
-     * Load some schema into the registries. The Registries is checked after the 
-     * schema have been loaded, and if there is an error, the method returns false
+     * Load some Schemas into the registries. The Registries is checked after the 
+     * schemas have been loaded, and if there is an error, the method returns false
      * and the registries is kept intact.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema to load
-     * @return true if the schema have been loaded and the registries is consistent
+     * @param schemas the Schemas to load
+     * @return true if the schemas have been loaded and the registries is consistent
      * @throws Exception @TODO 
      */
-    boolean load( Schema... schema ) throws Exception;
+    boolean load( Schema... schemas ) throws Exception;
 
 
     /**
-     * Load some schema into the registries. The Registries is checked after the 
-     * schema have been loaded, and if there is an error, the method returns false
+     * Load some Schemas into the registries. The Registries is checked after the 
+     * schemas have been loaded, and if there is an error, the method returns false
      * and the registries is kept intact.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema' name to load
-     * @return true if the schema have been loaded and the registries is consistent
+     * @param schemas the Schemas' name to load
+     * @return true if the schemas have been loaded and the registries is consistent
      * @throws Exception @TODO 
      */
-    boolean load( String... schema ) throws Exception;
+    boolean load( String... schemas ) throws Exception;
 
 
     /**
-     * Load some schema into the registries, and loads all of the schema they depend
-     * on. The Registries is checked after the schema have been loaded, and if there 
+     * Load some Schemas into the registries, and loads all of the schemas they depend
+     * on. The Registries is checked after the schemas have been loaded, and if there 
      * is an error, the method returns false and the registries is kept intact.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema to load
-     * @return true if the schema have been loaded and the registries is consistent
+     * @param schemas the Schemas to load
+     * @return true if the schemas have been loaded and the registries is consistent
      * @throws Exception @TODO 
      */
-    boolean loadWithDeps( Schema... schema ) throws Exception;
+    boolean loadWithDeps( Schema... schemas ) throws Exception;
 
 
     /**
-     * Load some schema into the registries, and loads all of the schema they depend
-     * on. The Registries is checked after the schema have been loaded, and if there 
+     * Load some Schemas into the registries, and loads all of the schemas they depend
+     * on. The Registries is checked after the schemas have been loaded, and if there 
      * is an error, the method returns false and the registries is kept intact.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema' name to load
-     * @return true if the schema have been loaded and the registries is consistent
+     * @param schemas the Schemas' name to load
+     * @return true if the schemas have been loaded and the registries is consistent
      * @throws Exception @TODO 
      */
-    boolean loadWithDeps( String... schema ) throws Exception;
+    boolean loadWithDeps( String... schemas ) throws Exception;
 
 
     /**
-     * Load schema into the registries, even if there are some errors in the schema. 
-     * The Registries is checked after the schema have been loaded. Even if we have 
+     * Load Schemas into the registries, even if there are some errors in the schemas. 
+     * The Registries is checked after the schemas have been loaded. Even if we have 
      * errors, the registries will be updated.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema to load, if enabled
-     * @return true if the schema have been loaded
+     * @param schemas the Schemas to load, if enabled
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO 
      */
-    boolean loadRelaxed( Schema... schema ) throws Exception;
+    boolean loadRelaxed( Schema... schemas ) throws Exception;
 
 
     /**
-     * Load schema into the registries, even if there are some errors in the schema. 
-     * The Registries is checked after the schema have been loaded. Even if we have 
+     * Load Schemas into the registries, even if there are some errors in the schemas. 
+     * The Registries is checked after the schemas have been loaded. Even if we have 
      * errors, the registries will be updated.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema' name to load, if enabled
-     * @return true if the schema have been loaded and the registries is consistent
+     * @param schemas the Schemas' name to load, if enabled
+     * @return true if the schemas have been loaded and the registries is consistent
      * @throws Exception @TODO 
      */
-    boolean loadRelaxed( String... schema ) throws Exception;
+    boolean loadRelaxed( String... schemas ) throws Exception;
 
 
     /**
-     * Load some schema into the registries, and loads all of the schema they depend
-     * on. The Registries is checked after the schema have been loaded. Even if we have 
+     * Load some Schemas into the registries, and loads all of the schemas they depend
+     * on. The Registries is checked after the schemas have been loaded. Even if we have

      * errors, the registries will be updated.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema to load
-     * @return true if the schema have been loaded
+     * @param schemas the Schemas to load
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO 
      */
-    boolean loadWithDepsRelaxed( Schema... schema ) throws Exception;
+    boolean loadWithDepsRelaxed( Schema... schemas ) throws Exception;
 
 
     /**
-     * Load some schema into the registries, and loads all of the schema they depend
-     * on. The Registries is checked after the schema have been loaded. Even if we have 
+     * Load some Schemas into the registries, and loads all of the schemas they depend
+     * on. The Registries is checked after the schemas have been loaded. Even if we have

      * errors, the registries will be updated.
      * <br>
-     * The schema must be enabled, and only enabled SchemaObject will be loaded.
+     * The Schemas must be enabled, and only enabled SchemaObject will be loaded.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      * 
-     * @param schema the schema' name to load
-     * @return true if the schema have been loaded
+     * @param schemas the Schemas' name to load
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO 
      */
-    boolean loadWithDepsRelaxed( String... schema ) throws Exception;
+    boolean loadWithDepsRelaxed( String... schemas ) throws Exception;
 
 
     /**
-     * Load schema into the Registries, even if they are disabled. The disabled
+     * Load Schemas into the Registries, even if they are disabled. The disabled
      * SchemaObject from an enabled schema will also be loaded. The Registries will
-     * be checked after the schema have been loaded. Even if we have errors, the
+     * be checked after the schemas have been loaded. Even if we have errors, the
      * Registries will be updated.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      *
-     * @param schema The schema to load
-     * @return true if the schema have been loaded
+     * @param schemas The Schemas to load
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO 
      */
-    boolean loadDisabled( Schema... schema ) throws Exception;
+    boolean loadDisabled( Schema... schemas ) throws Exception;
 
 
     /**
-     * Load schema into the Registries, even if they are disabled. The disabled
+     * Load Schemas into the Registries, even if they are disabled. The disabled
      * SchemaObject from an enabled schema will also be loaded. The Registries will
-     * be checked after the schema have been loaded. Even if we have errors, the
+     * be checked after the schemas have been loaded. Even if we have errors, the
      * Registries will be updated.
      * <br>
      * If any error was met, the {@link #getErrors} method will contain them
      *
-     * @param schema The schema' name to load
-     * @return true if the schema have been loaded
+     * @param schemas The Schemas' name to load
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO 
      */
-    boolean loadDisabled( String... schema ) throws Exception;
+    boolean loadDisabled( String... schemas ) throws Exception;
 
 
     /**
      * Load all the enabled schema into the Registries. The Registries is strict,
      * any inconsistent schema will be rejected. 
      *
-     * @return true if the schema have been loaded
+     * @return true if the schemas have been loaded
      * @throws Exception @TODO
      */
     boolean loadAllEnabled() throws Exception;
@@ -229,83 +229,81 @@
      * Load all the enabled schema into the Registries. The Registries is relaxed,
      * even inconsistent schema will be loaded. 
      *
-     * @return true if the schema have been loaded
-     * @throws Exception if something went wrong
+     * @return true if the schemas have been loaded
+     * @throws Exception @TODO
      */
     boolean loadAllEnabledRelaxed() throws Exception;
 
 
     /**
-     * Unload the given set of schema
+     * Unload the given set of Schemas
      *
-     * @param schema The list of Schema to unload
-     * @return true if all the schema have been unloaded
-     * @throws Exception if something went wrong
+     * @param schemas The list of Schema to unload
+     * @return True if all the schemas have been unloaded
      */
-    boolean unload( Schema... schema ) throws Exception;
+    boolean unload( Schema... schemas ) throws Exception;
 
 
     /**
-     * Unload the given set of schema
+     * Unload the given set of Schemas
      *
-     * @param schema The list of Schema to unload
-     * @return true if all the schema have been unloaded
-     * @throws Exception if something went wrong
+     * @param schemas The list of Schema to unload
+     * @return True if all the schemas have been unloaded
      */
-    boolean unload( String... schema ) throws Exception;
+    boolean unload( String... schemas ) throws Exception;
 
 
     //---------------------------------------------------------------------------------
     // Other Schema methods
     //---------------------------------------------------------------------------------
     /**
-     * Enables a set of schema, and returns true if all the schema have been
-     * enabled, with all the dependent schema, and if the registries is 
+     * Enables a set of Schemas, and returns true if all the schema have been
+     * enabled, with all the dependent schemas, and if the registries is 
      * still consistent.
      * 
      * If the modification is ok, the Registries will be updated. 
      * 
-     *  @param schema The list of schema to enable
+     *  @param schemas The list of schemas to enable
      *  @return true if the Registries is still consistent, false otherwise.
-     *  @throws Exception if something went wrong
+     *  @throws If something went wrong
      */
-    boolean enable( Schema... schema ) throws Exception;
+    boolean enable( Schema... schemas ) throws Exception;
 
 
     /**
-     * Enables a set of schema, and returns true if all the schema have been
-     * enabled, with all the dependent schema, and if the registries is 
+     * Enables a set of Schemas, and returns true if all the schema have been
+     * enabled, with all the dependent schemas, and if the registries is 
      * still consistent.
      * 
      * If the modification is ok, the Registries will be updated.
      *  
-     *  @param schema The list of schema name to enable
+     *  @param schemas The list of schema name to enable
      *  @return true if the Registries is still consistent, false otherwise.
-     *  @throws Exception if something went wrong
+     *  @throws If something went wrong
      */
-    boolean enable( String... schema ) throws Exception;
+    boolean enable( String... schemas ) throws Exception;
 
 
     /**
-     * Enables a set of schema, and returns true if all the schema have been
-     * enabled, with all the dependent schema. No check is done, the Registries
+     * Enables a set of Schemas, and returns true if all the schema have been
+     * enabled, with all the dependent schemas. No check is done, the Registries
      * might become inconsistent after this operation.
      * 
-     *  @param schema The list of schema to enable
-     *  @return true if all the schema have been enabled
+     *  @param schemas The list of schemas to enable
+     *  @return true if all the schemas have been enabled
      */
-    boolean enableRelaxed( Schema... schema );
+    boolean enableRelaxed( Schema... schemas );
 
 
     /**
-     * Enables a set of schema, and returns true if all the schema have been
-     * enabled, with all the dependent schema. No check is done, the Registries
+     * Enables a set of Schemas, and returns true if all the schema have been
+     * enabled, with all the dependent schemas. No check is done, the Registries
      * might become inconsistent after this operation.
      * 
-     *  @param schema The list of schema names to enable
-     *  @return true if all the schema have been enabled
+     *  @param schemas The list of schema names to enable
+     *  @return true if all the schemas have been enabled
      */
-    boolean enableRelaxed( String... schema );
+    boolean enableRelaxed( String... schemas );
 
 
     /**
@@ -333,57 +331,57 @@
 
 
     /**
-     * Disables a set of schema, and returns true if all the schema have been
-     * disabled, with all the dependent schema, and if the registries is 
+     * Disables a set of Schemas, and returns true if all the schema have been
+     * disabled, with all the dependent schemas, and if the registries is 
      * still consistent.
      * 
      * If the modification is ok, the Registries will be updated. 
      * 
-     *  @param schema The list of schema to disable
+     *  @param schemas The list of schemas to disable
      *  @return true if the Registries is still consistent, false otherwise.
-     *  @throws Exception if something went wrong
+     *  @throws If something went wrong
      */
-    boolean disable( Schema... schema ) throws Exception;
+    boolean disable( Schema... schemas ) throws Exception;
 
 
     /**
-     * Disables a set of schema, and returns true if all the schema have been
-     * disabled, with all the dependent schema, and if the registries is 
+     * Disables a set of Schemas, and returns true if all the schema have been
+     * disabled, with all the dependent schemas, and if the registries is 
      * still consistent.
      * 
      * If the modification is ok, the Registries will be updated. 
      * 
-     *  @param schema The list of schema names to disable
+     *  @param schemas The list of schema names to disable
      *  @return true if the Registries is still consistent, false otherwise.
-     *  @throws Exception if something went wrong
+     *  @throws If something went wrong
      */
-    boolean disable( String... schema ) throws Exception;
+    boolean disable( String... schemas ) throws Exception;
 
 
     /**
-     * Disables a set of schema, and returns true if all the schema have been
-     * disabled, with all the dependent schema. The Registries is not checked
+     * Disables a set of Schemas, and returns true if all the schema have been
+     * disabled, with all the dependent schemas. The Registries is not checked
      * and can be inconsistent after this operation
      * 
      * If the modification is ok, the Registries will be updated. 
      * 
-     *  @param schema The list of schema to disable
-     *  @return true if all the schema have been disabled
+     *  @param schemas The list of schemas to disable
+     *  @return true if all the schemas have been disabled
      */
-    boolean disabledRelaxed( Schema... schema );
+    boolean disabledRelaxed( Schema... schemas );
 
 
     /**
-     * Disables a set of schema, and returns true if all the schema have been
-     * disabled, with all the dependent schema. The Registries is not checked
+     * Disables a set of Schemas, and returns true if all the schema have been
+     * disabled, with all the dependent schemas. The Registries is not checked
      * and can be inconsistent after this operation
      * 
      * If the modification is ok, the Registries will be updated. 
      * 
-     *  @param schema The list of schema names to disable
-     *  @return true if all the schema have been disabled
+     *  @param schemas The list of schema names to disable
+     *  @return true if all the schemas have been disabled
      */
-    boolean disabledRelaxed( String... schema );
+    boolean disabledRelaxed( String... schemas );
 
 
     /**
@@ -411,23 +409,23 @@
 
 
     /**
-     * Check that the schema are consistent regarding the current Registries.
+     * Check that the Schemas are consistent regarding the current Registries.
      * 
-     * @param schema The schema to check
-     * @return true if the schema can be loaded in the registries
+     * @param schemas The schemas to check
+     * @return true if the schemas can be loaded in the registries
      * @throws Exception if something went wrong
      */
-    boolean verify( Schema... schema ) throws Exception;
+    boolean verify( Schema... schemas ) throws Exception;
 
 
     /**
-     * Check that the schema are consistent regarding the current Registries.
+     * Check that the Schemas are consistent regarding the current Registries.
      * 
-     * @param schema The schema names to check
-     * @return true if the schema can be loaded in the registries
+     * @param schemas The schema names to check
+     * @return true if the schemas can be loaded in the registries
      * @throws Exception if something went wrong
      */
-    boolean verify( String... schema ) throws Exception;
+    boolean verify( String... schemas ) throws Exception;
 
 
     /**
@@ -439,7 +437,7 @@
     /**
      * Lookup for an AttributeType in the AttributeType registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found AttributeType 
      * @throws NamingException if the OID is not found in the AttributeType registry
      */
@@ -449,7 +447,7 @@
     /**
      * Lookup for a Comparator in the Comparator registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found Comparator 
      * @throws NamingException if the OID is not found in the Comparator registry
      */
@@ -459,7 +457,7 @@
     /**
      * Lookup for a MatchingRule in the MatchingRule registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found MatchingRule 
      * @throws NamingException if the OID is not found in the MatchingRule registry
      */
@@ -469,7 +467,7 @@
     /**
      * Lookup for a Normalizer in the Normalizer registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found Normalizer 
      * @throws NamingException if the OID is not found in the Normalizer registry
      */
@@ -479,7 +477,7 @@
     /**
      * Lookup for a ObjectClass in the ObjectClass registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found ObjectClass 
      * @throws NamingException if the OID is not found in the ObjectClass registry
      */
@@ -489,7 +487,7 @@
     /**
      * Lookup for an LdapSyntax in the LdapSyntax registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found LdapSyntax 
      * @throws NamingException if the OID is not found in the LdapSyntax registry
      */
@@ -499,7 +497,7 @@
     /**
      * Lookup for a SyntaxChecker in the SyntaxChecker registry
      * 
-     * @param oid the OID we are looking for
+     * @param String oid the OID we are looking for
      * @return The found SyntaxChecker 
      * @throws NamingException if the OID is not found in the SyntaxChecker registry
      */
@@ -631,7 +629,7 @@
 
 
     /**
-     * Initializes the schemaervice
+     * Initializes the SchemaService
      *
      * @throws Exception If the initialization fails
      */
@@ -675,8 +673,7 @@
     /**
      * Removes the registered attributeType from the attributeTypeRegistry 
      * 
-     * @param attributeTypeOid the attributeType OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the attributeType OID to unregister
      * @throws NamingException if the attributeType is invalid
      */
     SchemaObject unregisterAttributeType( String attributeTypeOid ) throws NamingException;
@@ -685,8 +682,7 @@
     /**
      * Removes the registered Comparator from the ComparatorRegistry 
      * 
-     * @param comparatorOid the Comparator OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the Comparator OID to unregister
      * @throws NamingException if the Comparator is invalid
      */
     SchemaObject unregisterComparator( String comparatorOid ) throws NamingException;
@@ -695,8 +691,7 @@
     /**
      * Removes the registered DitControlRule from the DitControlRuleRegistry 
      * 
-     * @param ditControlRuleOid the DitControlRule OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the DitControlRule OID to unregister
      * @throws NamingException if the DitControlRule is invalid
      */
     SchemaObject unregisterDitControlRule( String ditControlRuleOid ) throws NamingException;
@@ -705,8 +700,7 @@
     /**
      * Removes the registered DitStructureRule from the DitStructureRuleRegistry 
      * 
-     * @param ditStructureRuleOid the DitStructureRule OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the DitStructureRule OID to unregister
      * @throws NamingException if the DitStructureRule is invalid
      */
     SchemaObject unregisterDitStructureRule( String ditStructureRuleOid ) throws NamingException;
@@ -715,8 +709,7 @@
     /**
      * Removes the registered MatchingRule from the MatchingRuleRegistry 
      * 
-     * @param matchingRuleOid the MatchingRuleRule OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the MatchingRuleRule OID to unregister
      * @throws NamingException if the MatchingRule is invalid
      */
     SchemaObject unregisterMatchingRule( String matchingRuleOid ) throws NamingException;
@@ -725,8 +718,7 @@
     /**
      * Removes the registered MatchingRuleUse from the MatchingRuleUseRegistry 
      * 
-     * @param matchingRuleUseOid the MatchingRuleUse OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the MatchingRuleUse OID to unregister
      * @throws NamingException if the MatchingRuleUse is invalid
      */
     SchemaObject unregisterMatchingRuleUse( String matchingRuleUseOid ) throws NamingException;
@@ -735,8 +727,7 @@
     /**
      * Removes the registered NameForm from the NameFormRegistry 
      * 
-     * @param nameFormOid the NameForm OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the NameForm OID to unregister
      * @throws NamingException if the NameForm is invalid
      */
     SchemaObject unregisterNameForm( String nameFormOid ) throws NamingException;
@@ -745,8 +736,7 @@
     /**
      * Removes the registered Normalizer from the NormalizerRegistry 
      * 
-     * @param normalizerOid the Normalizer OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the Normalizer OID to unregister
      * @throws NamingException if the Normalizer is invalid
      */
     SchemaObject unregisterNormalizer( String normalizerOid ) throws NamingException;
@@ -755,8 +745,7 @@
     /**
      * Removes the registered ObjectClass from the ObjectClassRegistry 
      * 
-     * @param objectClassOid the ObjectClass OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the ObjectClass OID to unregister
      * @throws NamingException if the ObjectClass is invalid
      */
     SchemaObject unregisterObjectClass( String objectClassOid ) throws NamingException;
@@ -765,8 +754,7 @@
     /**
      * Removes the registered LdapSyntax from the LdapSyntaxRegistry 
      * 
-     * @param ldapSyntaxOid the LdapSyntax OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the LdapSyntax OID to unregister
      * @throws NamingException if the LdapSyntax is invalid
      */
     SchemaObject unregisterLdapSyntax( String ldapSyntaxOid ) throws NamingException;
@@ -775,8 +763,7 @@
     /**
      * Removes the registered SyntaxChecker from the SyntaxCheckerRegistry 
      * 
-     * @param syntaxCheckerOid the SyntaxChecker OID to unregister
-     * @return SchemaObject the unregistered schema entity
+     * @param String the SyntaxChecker OID to unregister
      * @throws NamingException if the SyntaxChecker is invalid
      */
     SchemaObject unregisterSyntaxChecker( String syntaxCheckerOid ) throws NamingException;
@@ -811,8 +798,8 @@
     /**
      * Get the list of Schema names which has the given schema name as a dependence
      *
-     * @param schemaName The Schema name for which we want to get the list of dependent schema
-     * @return The list of dependent schema
+     * @param schemaName The Schema name for which we want to get the list of dependent schemas
+     * @return The list of dependent schemas
      */
     Set<String> listDependentSchemaNames( String schemaName );
 }



Mime
View raw message