You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/09/03 21:26:00 UTC

svn commit: r572403 - /directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java

Author: elecharny
Date: Mon Sep  3 12:25:59 2007
New Revision: 572403

URL: http://svn.apache.org/viewvc?rev=572403&view=rev
Log:
Declared some more schema constants in apachedsConstants
Changed the code accordingly to use those constants instead of Strings
Remove one OC from the apache.schema (accessControlSubentry), because it was already declared with another OID in another schema

Modified:
    directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java

Modified: directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java?rev=572403&r1=572402&r2=572403&view=diff
==============================================================================
--- directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java (original)
+++ directory/apacheds/trunk/constants/src/main/java/org/apache/directory/server/constants/ApacheSchemaConstants.java Mon Sep  3 12:25:59 2007
@@ -28,10 +28,74 @@
  */
 public interface ApacheSchemaConstants
 {
-    String SCHEMA_MODIFIERS_NAME_AT = "schemaModifiersName";
+    String SCHEMA_NAME = "apache";
+
+    // ---- ObjectClasses -----------------------------------------------------
+    // ApacheCatalogEntry
+    String APACHE_CATALOG_ENTRY_OC                  = "apacheCatalogEntry";
+    String APACHE_CATALOG_ENTRY_OC_OID              = "1.3.6.1.4.1.18060.0.4.1.3.5";
+
+    // apacheFactoryConfiguration
+    String APACHE_FACTORY_CONFIGURATION_OC          = "apacheFactoryConfiguration";
+    String APACHE_FACTORY_CONFIGURATION_OC_OID      = "1.3.6.1.4.1.18060.0.4.1.3.4";
+
+    // ApacheServiceConfiguration
+    String APACHE_SERVICE_CONFIGURATION_OC          = "apacheServiceConfiguration";
+    String APACHE_SERVICE_CONFIGURATION_OC_OID      = "1.3.6.1.4.1.18060.0.4.1.3.3";
+
+    // ApacheSubschema
+    String APACHE_SUBSCHEMA_OC                      = "apacheSubschema";
+    String APACHE_SUBSCHEMA_OC_OID                  = "1.3.6.1.4.1.18060.0.4.1.3.9";
+
+    // JavaClass
+    String JAVA_CLASS_OC                            = "javaClass";
+    String JAVA_CLASS_OC_OID                        = "1.3.6.1.4.1.18060.0.4.1.3.8";
+
+    // JavaStoredProcUnit
+    String JAVA_STORED_PROC_UNIT_OC                 = "javaStoredProcUnit";
+    String JAVA_STORED_PROC_UNIT_OC_OID             = "1.3.6.1.4.1.18060.0.4.1.5.5";
+
+    // JavaxScriptStoredProcUnit
+    String JAVAX_SCRIPT_STORED_PROC_UNIT_OC         = "javaxScriptStoredProcUnit";
+    String JAVAX_SCRIPT_STORED_PROC_UNIT_OC_OID     = "1.3.6.1.4.1.18060.0.4.1.5.8";
+
+    // PrefNode
+    String PREF_NODE_OC                             = "prefNode";
+    String PREF_NODE_OC_OID                         = "1.3.6.1.4.1.18060.0.4.1.3.1";
+
+    // SchemaModificationAttributes
+    String SCHEMA_MODIFICATION_ATTRIBUTES_OC        = "schemaModificationAttributes";
+    String SCHEMA_MODIFICATION_ATTRIBUTES_OC_OID    = "1.3.6.1.4.1.18060.0.4.1.3.10";
+
+    // StoredProcUnit
+    String STORED_PROC_UNIT_OC                      = "storedProcUnit";
+    String STORED_PROC_UNIT_OC_OID                  = "1.3.6.1.4.1.18060.0.4.1.5.3";
+
+    // TriggerExecutionSubentry
+    String TRIGGER_EXECUTION_SUBENTRY_OC            = "triggerExecutionSubentry";
+    String TRIGGER_EXECUTION_SUBENTRY_OC_OID        = "1.3.6.1.4.1.18060.0.4.1.2.28";
+
+    // UnixFile
+    String UNIX_FILE_OC                             = "unixFile";
+    String UNIX_FILE_OC_OID                         = "1.3.6.1.4.1.18060.0.4.1.3.7";
+
+    // WindowsFile
+    String WINDOWS_FILE_OC                          = "windowsFile";
+    String WINDOWS_FILE_OC_OID                      = "1.3.6.1.4.1.18060.0.4.1.3.6";
+
+
+    
+    
+    
+    // SchemaModifiersName
+    String SCHEMA_MODIFIERS_NAME_AT         = "schemaModifiersName";
+    String SCHEMA_MODIFIERS_NAME_AT_OID     = "";
+    
+    // SchemaModifyTimestamp
     String SCHEMA_MODIFY_TIMESTAMP_AT = "schemaModifyTimestamp";
+    String SCHEMA_MODIFY_TIMESTAMP_AT_OID = "";
+    
+    // SubschemaSubentryName
     String SUBSCHEMA_SUBENTRY_NAME_AT = "subschemaSubentryName";
-
-    String SCHEMA_MODIFICATION_ATTRIBUTES_OC = "schemaModificationAttributes";
-    String SCHEMA_NAME = "apache";
+    String SUBSCHEMA_SUBENTRY_NAME_AT_OID = "";
 }