001    /*
002     *  Licensed to the Apache Software Foundation (ASF) under one
003     *  or more contributor license agreements.  See the NOTICE file
004     *  distributed with this work for additional information
005     *  regarding copyright ownership.  The ASF licenses this file
006     *  to you under the Apache License, Version 2.0 (the
007     *  "License"); you may not use this file except in compliance
008     *  with the License.  You may obtain a copy of the License at
009     *  
010     *    http://www.apache.org/licenses/LICENSE-2.0
011     *  
012     *  Unless required by applicable law or agreed to in writing,
013     *  software distributed under the License is distributed on an
014     *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015     *  KIND, either express or implied.  See the License for the
016     *  specific language governing permissions and limitations
017     *  under the License. 
018     *  
019     */
020    package org.apache.directory.server.constants;
021    
022    
023    /**
024     * Constants from the Apache schema.
025     *
026     * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
027     * @version $Rev$
028     */
029    public interface ApacheSchemaConstants
030    {
031        String SCHEMA_NAME = "apache";
032    
033        // ---- ObjectClasses -----------------------------------------------------
034        // ApacheCatalogEntry
035        String APACHE_CATALOG_ENTRY_OC                  = "apacheCatalogEntry";
036        String APACHE_CATALOG_ENTRY_OC_OID              = "1.3.6.1.4.1.18060.0.4.1.3.5";
037    
038        // apacheFactoryConfiguration
039        String APACHE_FACTORY_CONFIGURATION_OC          = "apacheFactoryConfiguration";
040        String APACHE_FACTORY_CONFIGURATION_OC_OID      = "1.3.6.1.4.1.18060.0.4.1.3.4";
041    
042        // ApacheServiceConfiguration
043        String APACHE_SERVICE_CONFIGURATION_OC          = "apacheServiceConfiguration";
044        String APACHE_SERVICE_CONFIGURATION_OC_OID      = "1.3.6.1.4.1.18060.0.4.1.3.3";
045    
046        // ApacheSubschema
047        String APACHE_SUBSCHEMA_OC                      = "apacheSubschema";
048        String APACHE_SUBSCHEMA_OC_OID                  = "1.3.6.1.4.1.18060.0.4.1.3.9";
049    
050        // JavaClass
051        String JAVA_CLASS_OC                            = "javaClass";
052        String JAVA_CLASS_OC_OID                        = "1.3.6.1.4.1.18060.0.4.1.3.8";
053    
054        // JavaStoredProcUnit
055        String JAVA_STORED_PROC_UNIT_OC                 = "javaStoredProcUnit";
056        String JAVA_STORED_PROC_UNIT_OC_OID             = "1.3.6.1.4.1.18060.0.4.1.5.5";
057    
058        // JavaxScriptStoredProcUnit
059        String JAVAX_SCRIPT_STORED_PROC_UNIT_OC         = "javaxScriptStoredProcUnit";
060        String JAVAX_SCRIPT_STORED_PROC_UNIT_OC_OID     = "1.3.6.1.4.1.18060.0.4.1.5.8";
061    
062        // PrefNode
063        String PREF_NODE_OC                             = "prefNode";
064        String PREF_NODE_OC_OID                         = "1.3.6.1.4.1.18060.0.4.1.3.1";
065    
066        // SchemaModificationAttributes
067        String SCHEMA_MODIFICATION_ATTRIBUTES_OC        = "schemaModificationAttributes";
068        String SCHEMA_MODIFICATION_ATTRIBUTES_OC_OID    = "1.3.6.1.4.1.18060.0.4.1.3.10";
069    
070        // StoredProcUnit
071        String STORED_PROC_UNIT_OC                      = "storedProcUnit";
072        String STORED_PROC_UNIT_OC_OID                  = "1.3.6.1.4.1.18060.0.4.1.5.3";
073    
074        // TriggerExecutionSubentry
075        String TRIGGER_EXECUTION_SUBENTRY_OC            = "triggerExecutionSubentry";
076        String TRIGGER_EXECUTION_SUBENTRY_OC_OID        = "1.3.6.1.4.1.18060.0.4.1.2.28";
077    
078        // UnixFile
079        String UNIX_FILE_OC                             = "unixFile";
080        String UNIX_FILE_OC_OID                         = "1.3.6.1.4.1.18060.0.4.1.3.7";
081    
082        // WindowsFile
083        String WINDOWS_FILE_OC                          = "windowsFile";
084        String WINDOWS_FILE_OC_OID                      = "1.3.6.1.4.1.18060.0.4.1.3.6";
085    
086        // ---- AttributeType ----------------------------------------------------------
087        // ApacheNdn
088        String APACHE_N_DN_AT                           = "apacheNdn";
089        String APACHE_N_DN_AT_OID                       = "1.3.6.1.4.1.18060.0.4.1.2.1";
090        
091        // ApacheUpdn
092        String APACHE_UP_DN_AT                          = "apacheUpdn";
093        String APACHE_UP_DN_AT_OID                      = "1.3.6.1.4.1.18060.0.4.1.2.2";
094        
095        // ApacheExistence
096        String APACHE_EXISTENCE_AT                      = "apacheExistence";
097        String APACHE_EXISTENCE_AT_OID                  = "1.3.6.1.4.1.18060.0.4.1.2.3";
098        
099        // ApacheOneLevel
100        String APACHE_ONE_LEVEL_AT                      = "apacheOneLevel";
101        String APACHE_ONE_LEVEL_AT_OID                  = "1.3.6.1.4.1.18060.0.4.1.2.4";
102        
103        // ApacheOneAlias
104        String APACHE_ONE_ALIAS_AT                      = "apacheOneAlias";
105        String APACHE_ONE_ALIAS_AT_OID                  = "1.3.6.1.4.1.18060.0.4.1.2.5";
106        
107        // ApacheSubAlias
108        String APACHE_SUB_ALIAS_AT                      = "apacheSubAlias";
109        String APACHE_SUB_ALIAS_AT_OID                  = "1.3.6.1.4.1.18060.0.4.1.2.6";
110    
111        // ApacheAlias
112        String APACHE_ALIAS_AT                          = "apacheAlias";
113        String APACHE_ALIAS_AT_OID                      = "1.3.6.1.4.1.18060.0.4.1.2.7";
114    
115        // PrefNodeName
116        String PREF_NODE_NAME_AT                        = "prefNodeName";
117        String PREF_NODE_NAME_AT_OID                    = "1.3.6.1.4.1.18060.0.4.1.2.8";
118        
119        // CatalogEntryName
120        String APACHE_CATALOGUE_ENTRY_NAME_AT           = "apacheCatalogEntryName";
121        String APACHE_CATALOGUE_ENTRY_NAME_AT_OID       = "1.3.6.1.4.1.18060.0.4.1.2.17";
122        
123        String APACHE_CATALOGUE_ENTRY_BASE_DN_AT        = "apacheCatalogEntryBaseDn";
124        String APACHE_CATALOGUE_ENTRY_BASE_DN_AT_OID    = "1.3.6.1.4.1.18060.0.4.1.2.18";
125    
126        // WindowsFilePath
127        String WINDOWS_FILE_AT                          = "windowsFilePath";
128        String WINDOWS_FILE_AT_OID                      = "1.3.6.1.4.1.18060.0.4.1.2.19";
129    
130        // WindowsFilePath
131        String UNIX_FILE_AT                             = "unixFilePath";
132        String UNIX_FILE_AT_OID                         = "1.3.6.1.4.1.18060.0.4.1.2.20";
133    
134        // entryDeleted
135        String ENTRY_DELETED_AT                         = "entryDeleted";
136        String ENTRY_DELETED_AT_OID                     = "1.3.6.1.4.1.18060.0.4.1.2.31";
137        
138        // SchemaModifyTimestamp
139        String SCHEMA_MODIFY_TIMESTAMP_AT               = "schemaModifyTimestamp";
140        String SCHEMA_MODIFY_TIMESTAMP_AT_OID           = "1.3.6.1.4.1.18060.0.4.1.2.35";
141    
142        // SchemaModifiersName
143        String SCHEMA_MODIFIERS_NAME_AT                 = "schemaModifiersName";
144        String SCHEMA_MODIFIERS_NAME_AT_OID             = "1.3.6.1.4.1.18060.0.4.1.2.36";
145        
146        // SubschemaSubentryName
147        String SUBSCHEMA_SUBENTRY_NAME_AT               = "subschemaSubentryName";
148        String SUBSCHEMA_SUBENTRY_NAME_AT_OID           = "1.3.6.1.4.1.18060.0.4.1.2.37";
149        
150        // apacheSubLevel
151        String APACHE_SUB_LEVEL_AT                      = "apacheSubLevel";
152        String APACHE_SUB_LEVEL_AT_OID                  = "1.3.6.1.4.1.18060.0.4.1.2.43";
153    }