001    
002    /*
003     *  Licensed to the Apache Software Foundation (ASF) under one
004     *  or more contributor license agreements.  See the NOTICE file
005     *  distributed with this work for additional information
006     *  regarding copyright ownership.  The ASF licenses this file
007     *  to you under the Apache License, Version 2.0 (the
008     *  "License"); you may not use this file except in compliance
009     *  with the License.  You may obtain a copy of the License at
010     *  
011     *    http://www.apache.org/licenses/LICENSE-2.0
012     *  
013     *  Unless required by applicable law or agreed to in writing,
014     *  software distributed under the License is distributed on an
015     *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
016     *  KIND, either express or implied.  See the License for the
017     *  specific language governing permissions and limitations
018     *  under the License. 
019     *  
020     */
021    package org.apache.directory.server.schema.bootstrap;
022    
023    
024    import java.util.ArrayList;
025    import javax.naming.NamingException;
026    
027    import org.apache.directory.server.schema.registries.Registries;
028    import org.apache.directory.shared.ldap.schema.UsageEnum;
029    
030    
031    /**
032     * A producer of schema attributeType definations for the apachemeta schema.  This
033     * code has been automatically generated using schema files in the OpenLDAP
034     * format along with the directory plugin for maven.  This has been done
035     * to facilitate Eve<->OpenLDAP schema interoperability.
036     *
037     * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
038     */
039    public class ApachemetaAttributeTypeProducer extends AbstractBootstrapProducer
040    {
041    
042        public ApachemetaAttributeTypeProducer()
043        {
044            super( ProducerTypeEnum.ATTRIBUTE_TYPE_PRODUCER );
045        }
046    
047    
048        // ------------------------------------------------------------------------
049        // BootstrapProducer Methods
050        // ------------------------------------------------------------------------
051    
052    
053        /**
054         * @see BootstrapProducer#produce( Registries, ProducerCallback )
055         */
056        public void produce( Registries registries, ProducerCallback cb )
057            throws NamingException
058        {
059            ArrayList<String> names = new ArrayList<String>();
060            BootstrapAttributeType attributeType;
061    
062    
063            // --------------------------------------------------------------------
064            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.1 
065            // --------------------------------------------------------------------
066    
067            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.1", registries );
068            attributeType.setDescription( "The Object Identifier" );
069            attributeType.setCanUserModify( ! false );
070            attributeType.setSingleValue( true );
071            attributeType.setCollective( false );
072            attributeType.setObsolete( false );
073            attributeType.setLength( 0 );
074            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
075            attributeType.setEqualityId( "objectIdentifierMatch" );
076            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.2" );
077    
078            names.clear();
079            names.add( "m-oid" );
080            attributeType.setNames( names.toArray( EMPTY ) );
081            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.1", attributeType );
082    
083            // --------------------------------------------------------------------
084            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.2 
085            // --------------------------------------------------------------------
086    
087            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.2", registries );
088            attributeType.setDescription( "The Object name" );
089            attributeType.setCanUserModify( ! false );
090            attributeType.setSingleValue( false );
091            attributeType.setCollective( false );
092            attributeType.setObsolete( false );
093            attributeType.setLength( 1024 );
094            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
095            attributeType.setEqualityId( "caseIgnoreMatch" );
096            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.6" );
097    
098            names.clear();
099            names.add( "m-name" );
100            attributeType.setNames( names.toArray( EMPTY ) );
101            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.2", attributeType );
102    
103            // --------------------------------------------------------------------
104            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.3 
105            // --------------------------------------------------------------------
106    
107            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.3", registries );
108            attributeType.setDescription( "meta descriptive information" );
109            attributeType.setCanUserModify( ! false );
110            attributeType.setSingleValue( true );
111            attributeType.setCollective( false );
112            attributeType.setObsolete( false );
113            attributeType.setLength( 1024 );
114            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
115            attributeType.setEqualityId( "caseIgnoreMatch" );
116            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
117    
118            names.clear();
119            names.add( "m-description" );
120            attributeType.setNames( names.toArray( EMPTY ) );
121            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.3", attributeType );
122    
123            // --------------------------------------------------------------------
124            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.4 
125            // --------------------------------------------------------------------
126    
127            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.4", registries );
128            attributeType.setDescription( "The type is obsolete" );
129            attributeType.setCanUserModify( ! false );
130            attributeType.setSingleValue( true );
131            attributeType.setCollective( false );
132            attributeType.setObsolete( false );
133            attributeType.setLength( 0 );
134            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
135            attributeType.setEqualityId( "booleanMatch" );
136            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
137    
138            names.clear();
139            names.add( "m-obsolete" );
140            attributeType.setNames( names.toArray( EMPTY ) );
141            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.4", attributeType );
142    
143            // --------------------------------------------------------------------
144            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.5 
145            // --------------------------------------------------------------------
146    
147            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.5", registries );
148            attributeType.setDescription( "The list of superiors" );
149            attributeType.setCanUserModify( ! false );
150            attributeType.setSingleValue( false );
151            attributeType.setCollective( false );
152            attributeType.setObsolete( false );
153            attributeType.setLength( 0 );
154            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
155            attributeType.setEqualityId( "nameOrNumericIdMatch" );
156            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
157    
158            names.clear();
159            names.add( "m-supObjectClass" );
160            attributeType.setNames( names.toArray( EMPTY ) );
161            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.5", attributeType );
162    
163            // --------------------------------------------------------------------
164            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.6 
165            // --------------------------------------------------------------------
166    
167            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.6", registries );
168            attributeType.setDescription( "The list of mandatory ATs" );
169            attributeType.setCanUserModify( ! false );
170            attributeType.setSingleValue( false );
171            attributeType.setCollective( false );
172            attributeType.setObsolete( false );
173            attributeType.setLength( 0 );
174            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
175            attributeType.setEqualityId( "nameOrNumericIdMatch" );
176            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
177    
178            names.clear();
179            names.add( "m-must" );
180            attributeType.setNames( names.toArray( EMPTY ) );
181            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.6", attributeType );
182    
183            // --------------------------------------------------------------------
184            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.7 
185            // --------------------------------------------------------------------
186    
187            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.7", registries );
188            attributeType.setDescription( "The list of authorized ATs" );
189            attributeType.setCanUserModify( ! false );
190            attributeType.setSingleValue( false );
191            attributeType.setCollective( false );
192            attributeType.setObsolete( false );
193            attributeType.setLength( 0 );
194            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
195            attributeType.setEqualityId( "nameOrNumericIdMatch" );
196            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
197    
198            names.clear();
199            names.add( "m-may" );
200            attributeType.setNames( names.toArray( EMPTY ) );
201            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.7", attributeType );
202    
203            // --------------------------------------------------------------------
204            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.8 
205            // --------------------------------------------------------------------
206    
207            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.8", registries );
208            attributeType.setDescription( "The objectclass type" );
209            attributeType.setCanUserModify( ! false );
210            attributeType.setSingleValue( true );
211            attributeType.setCollective( false );
212            attributeType.setObsolete( false );
213            attributeType.setLength( 0 );
214            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
215            attributeType.setEqualityId( "objectClassTypeMatch" );
216            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.1" );
217    
218            names.clear();
219            names.add( "m-typeObjectClass" );
220            attributeType.setNames( names.toArray( EMPTY ) );
221            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.8", attributeType );
222    
223            // --------------------------------------------------------------------
224            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.10 
225            // --------------------------------------------------------------------
226    
227            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.10", registries );
228            attributeType.setDescription( "The list of superior" );
229            attributeType.setCanUserModify( ! false );
230            attributeType.setSingleValue( true );
231            attributeType.setCollective( false );
232            attributeType.setObsolete( false );
233            attributeType.setLength( 0 );
234            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
235            attributeType.setEqualityId( "nameOrNumericIdMatch" );
236            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
237    
238            names.clear();
239            names.add( "m-supAttributeType" );
240            attributeType.setNames( names.toArray( EMPTY ) );
241            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.10", attributeType );
242    
243            // --------------------------------------------------------------------
244            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.11 
245            // --------------------------------------------------------------------
246    
247            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.11", registries );
248            attributeType.setDescription( "Equality matching rule" );
249            attributeType.setCanUserModify( ! false );
250            attributeType.setSingleValue( true );
251            attributeType.setCollective( false );
252            attributeType.setObsolete( false );
253            attributeType.setLength( 0 );
254            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
255            attributeType.setEqualityId( "nameOrNumericIdMatch" );
256            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
257    
258            names.clear();
259            names.add( "m-equality" );
260            attributeType.setNames( names.toArray( EMPTY ) );
261            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.11", attributeType );
262    
263            // --------------------------------------------------------------------
264            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.12 
265            // --------------------------------------------------------------------
266    
267            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.12", registries );
268            attributeType.setDescription( "Ordering matching rule" );
269            attributeType.setCanUserModify( ! false );
270            attributeType.setSingleValue( true );
271            attributeType.setCollective( false );
272            attributeType.setObsolete( false );
273            attributeType.setLength( 0 );
274            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
275            attributeType.setEqualityId( "nameOrNumericIdMatch" );
276            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
277    
278            names.clear();
279            names.add( "m-ordering" );
280            attributeType.setNames( names.toArray( EMPTY ) );
281            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.12", attributeType );
282    
283            // --------------------------------------------------------------------
284            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.13 
285            // --------------------------------------------------------------------
286    
287            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.13", registries );
288            attributeType.setDescription( "Substring matching rule" );
289            attributeType.setCanUserModify( ! false );
290            attributeType.setSingleValue( true );
291            attributeType.setCollective( false );
292            attributeType.setObsolete( false );
293            attributeType.setLength( 0 );
294            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
295            attributeType.setEqualityId( "nameOrNumericIdMatch" );
296            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
297    
298            names.clear();
299            names.add( "m-substr" );
300            attributeType.setNames( names.toArray( EMPTY ) );
301            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.13", attributeType );
302    
303            // --------------------------------------------------------------------
304            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.14 
305            // --------------------------------------------------------------------
306    
307            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.14", registries );
308            attributeType.setDescription( "The syntax OID for attributeTypes and matchingRules" );
309            attributeType.setCanUserModify( ! false );
310            attributeType.setSingleValue( true );
311            attributeType.setCollective( false );
312            attributeType.setObsolete( false );
313            attributeType.setLength( 0 );
314            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
315            attributeType.setEqualityId( "nameOrNumericIdMatch" );
316            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.2" );
317    
318            names.clear();
319            names.add( "m-syntax" );
320            attributeType.setNames( names.toArray( EMPTY ) );
321            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.14", attributeType );
322    
323            // --------------------------------------------------------------------
324            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.15 
325            // --------------------------------------------------------------------
326    
327            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.15", registries );
328            attributeType.setDescription( "The attribute is single valued" );
329            attributeType.setCanUserModify( ! false );
330            attributeType.setSingleValue( true );
331            attributeType.setCollective( false );
332            attributeType.setObsolete( false );
333            attributeType.setLength( 0 );
334            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
335            attributeType.setEqualityId( "booleanMatch" );
336            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
337    
338            names.clear();
339            names.add( "m-singleValue" );
340            attributeType.setNames( names.toArray( EMPTY ) );
341            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.15", attributeType );
342    
343            // --------------------------------------------------------------------
344            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.16 
345            // --------------------------------------------------------------------
346    
347            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.16", registries );
348            attributeType.setDescription( "The attribute is collective" );
349            attributeType.setCanUserModify( ! false );
350            attributeType.setSingleValue( true );
351            attributeType.setCollective( false );
352            attributeType.setObsolete( false );
353            attributeType.setLength( 0 );
354            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
355            attributeType.setEqualityId( "booleanMatch" );
356            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
357    
358            names.clear();
359            names.add( "m-collective" );
360            attributeType.setNames( names.toArray( EMPTY ) );
361            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.16", attributeType );
362    
363            // --------------------------------------------------------------------
364            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.17 
365            // --------------------------------------------------------------------
366    
367            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.17", registries );
368            attributeType.setDescription( "The attribute is protected" );
369            attributeType.setCanUserModify( ! false );
370            attributeType.setSingleValue( true );
371            attributeType.setCollective( false );
372            attributeType.setObsolete( false );
373            attributeType.setLength( 0 );
374            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
375            attributeType.setEqualityId( "booleanMatch" );
376            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
377    
378            names.clear();
379            names.add( "m-noUserModification" );
380            attributeType.setNames( names.toArray( EMPTY ) );
381            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.17", attributeType );
382    
383            // --------------------------------------------------------------------
384            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.18 
385            // --------------------------------------------------------------------
386    
387            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.18", registries );
388            attributeType.setDescription( "Usage type of an attributeType" );
389            attributeType.setCanUserModify( ! false );
390            attributeType.setSingleValue( true );
391            attributeType.setCollective( false );
392            attributeType.setObsolete( false );
393            attributeType.setLength( 0 );
394            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
395            attributeType.setEqualityId( "caseIgnoreMatch" );
396            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
397    
398            names.clear();
399            names.add( "m-usage" );
400            attributeType.setNames( names.toArray( EMPTY ) );
401            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.18", attributeType );
402    
403            // --------------------------------------------------------------------
404            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.20 
405            // --------------------------------------------------------------------
406    
407            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.20", registries );
408            attributeType.setDescription( "The rule ID" );
409            attributeType.setCanUserModify( ! false );
410            attributeType.setSingleValue( false );
411            attributeType.setCollective( false );
412            attributeType.setObsolete( false );
413            attributeType.setLength( 0 );
414            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
415            attributeType.setEqualityId( "ruleIDMatch" );
416            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.4" );
417    
418            names.clear();
419            names.add( "m-ruleId" );
420            attributeType.setNames( names.toArray( EMPTY ) );
421            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.20", attributeType );
422    
423            // --------------------------------------------------------------------
424            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.21 
425            // --------------------------------------------------------------------
426    
427            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.21", registries );
428            attributeType.setDescription( "The name form associated with this DITStructure rule" );
429            attributeType.setCanUserModify( ! false );
430            attributeType.setSingleValue( false );
431            attributeType.setCollective( false );
432            attributeType.setObsolete( false );
433            attributeType.setLength( 0 );
434            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
435            attributeType.setEqualityId( "caseIgnoreMatch" );
436            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
437    
438            names.clear();
439            names.add( "m-form" );
440            attributeType.setNames( names.toArray( EMPTY ) );
441            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.21", attributeType );
442    
443            // --------------------------------------------------------------------
444            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.22 
445            // --------------------------------------------------------------------
446    
447            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.22", registries );
448            attributeType.setDescription( "The list of superiors" );
449            attributeType.setCanUserModify( ! false );
450            attributeType.setSingleValue( false );
451            attributeType.setCollective( false );
452            attributeType.setObsolete( false );
453            attributeType.setLength( 0 );
454            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
455            attributeType.setEqualityId( "supDITStructureRuleMatch" );
456            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.36" );
457    
458            names.clear();
459            names.add( "m-supDITStructureRule" );
460            attributeType.setNames( names.toArray( EMPTY ) );
461            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.22", attributeType );
462    
463            // --------------------------------------------------------------------
464            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.24 
465            // --------------------------------------------------------------------
466    
467            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.24", registries );
468            attributeType.setDescription( "The structural ObjectClass" );
469            attributeType.setCanUserModify( ! false );
470            attributeType.setSingleValue( false );
471            attributeType.setCollective( false );
472            attributeType.setObsolete( false );
473            attributeType.setLength( 0 );
474            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
475            attributeType.setEqualityId( "numericOidMatch" );
476            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
477    
478            names.clear();
479            names.add( "m-oc" );
480            attributeType.setNames( names.toArray( EMPTY ) );
481            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.24", attributeType );
482    
483            // --------------------------------------------------------------------
484            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.26 
485            // --------------------------------------------------------------------
486    
487            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.26", registries );
488            attributeType.setDescription( "List of auxiliary ObjectClasses" );
489            attributeType.setCanUserModify( ! false );
490            attributeType.setSingleValue( false );
491            attributeType.setCollective( false );
492            attributeType.setObsolete( false );
493            attributeType.setLength( 0 );
494            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
495            attributeType.setEqualityId( "numericOidMatch" );
496            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
497    
498            names.clear();
499            names.add( "m-aux" );
500            attributeType.setNames( names.toArray( EMPTY ) );
501            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.26", attributeType );
502    
503            // --------------------------------------------------------------------
504            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.27 
505            // --------------------------------------------------------------------
506    
507            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.27", registries );
508            attributeType.setDescription( "List of precluded attribute types" );
509            attributeType.setCanUserModify( ! false );
510            attributeType.setSingleValue( false );
511            attributeType.setCollective( false );
512            attributeType.setObsolete( false );
513            attributeType.setLength( 0 );
514            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
515            attributeType.setEqualityId( "numericOidMatch" );
516            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
517    
518            names.clear();
519            names.add( "m-not" );
520            attributeType.setNames( names.toArray( EMPTY ) );
521            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.27", attributeType );
522    
523            // --------------------------------------------------------------------
524            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.29 
525            // --------------------------------------------------------------------
526    
527            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.29", registries );
528            attributeType.setDescription( "List of attribute types the matching rule applies to" );
529            attributeType.setCanUserModify( ! false );
530            attributeType.setSingleValue( false );
531            attributeType.setCollective( false );
532            attributeType.setObsolete( false );
533            attributeType.setLength( 0 );
534            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
535            attributeType.setEqualityId( "numericOidMatch" );
536            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.38" );
537    
538            names.clear();
539            names.add( "m-applies" );
540            attributeType.setNames( names.toArray( EMPTY ) );
541            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.29", attributeType );
542    
543            // --------------------------------------------------------------------
544            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.31 
545            // --------------------------------------------------------------------
546    
547            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.31", registries );
548            attributeType.setDescription( "The matchingRule attribute syntax " );
549            attributeType.setCanUserModify( ! false );
550            attributeType.setSingleValue( true );
551            attributeType.setCollective( false );
552            attributeType.setObsolete( false );
553            attributeType.setLength( 0 );
554            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
555            attributeType.setEqualityId( "numericOidMatch" );
556            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.2" );
557    
558            names.clear();
559            names.add( "m-matchingRuleSyntax" );
560            attributeType.setNames( names.toArray( EMPTY ) );
561            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.31", attributeType );
562    
563            // --------------------------------------------------------------------
564            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.32 
565            // --------------------------------------------------------------------
566    
567            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.32", registries );
568            attributeType.setDescription( "The fully qualified class name of a code based schema entity" );
569            attributeType.setCanUserModify( ! false );
570            attributeType.setSingleValue( true );
571            attributeType.setCollective( false );
572            attributeType.setObsolete( false );
573            attributeType.setLength( 0 );
574            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
575            attributeType.setEqualityId( "caseExactMatch" );
576            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
577    
578            names.clear();
579            names.add( "m-fqcn" );
580            attributeType.setNames( names.toArray( EMPTY ) );
581            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.32", attributeType );
582    
583            // --------------------------------------------------------------------
584            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.33 
585            // --------------------------------------------------------------------
586    
587            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.33", registries );
588            attributeType.setDescription( "The Java bytecode for a code based schema entity" );
589            attributeType.setCanUserModify( ! false );
590            attributeType.setSingleValue( true );
591            attributeType.setCollective( false );
592            attributeType.setObsolete( false );
593            attributeType.setLength( 0 );
594            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
595            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.5" );
596    
597            names.clear();
598            names.add( "m-bytecode" );
599            attributeType.setNames( names.toArray( EMPTY ) );
600            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.33", attributeType );
601    
602            // --------------------------------------------------------------------
603            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.34 
604            // --------------------------------------------------------------------
605    
606            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.34", registries );
607            attributeType.setDescription( "whether or not a syntax is human readable" );
608            attributeType.setCanUserModify( ! false );
609            attributeType.setSingleValue( true );
610            attributeType.setCollective( false );
611            attributeType.setObsolete( false );
612            attributeType.setLength( 0 );
613            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
614            attributeType.setEqualityId( "booleanMatch" );
615            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
616    
617            names.clear();
618            names.add( "x-humanReadable" );
619            attributeType.setNames( names.toArray( EMPTY ) );
620            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.34", attributeType );
621    
622            // --------------------------------------------------------------------
623            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.37 
624            // --------------------------------------------------------------------
625    
626            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.37", registries );
627            attributeType.setDescription( "Used as a marker for schemas to enable or disable them." );
628            attributeType.setCanUserModify( ! false );
629            attributeType.setSingleValue( true );
630            attributeType.setCollective( false );
631            attributeType.setObsolete( false );
632            attributeType.setLength( 0 );
633            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
634            attributeType.setEqualityId( "booleanMatch" );
635            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.7" );
636    
637            names.clear();
638            names.add( "m-disabled" );
639            attributeType.setNames( names.toArray( EMPTY ) );
640            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.37", attributeType );
641    
642            // --------------------------------------------------------------------
643            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.38 
644            // --------------------------------------------------------------------
645    
646            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.38", registries );
647            attributeType.setDescription( "The dependencies of a schema: other schema names." );
648            attributeType.setCanUserModify( ! false );
649            attributeType.setSingleValue( false );
650            attributeType.setCollective( false );
651            attributeType.setObsolete( false );
652            attributeType.setLength( 0 );
653            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
654            attributeType.setEqualityId( "caseIgnoreMatch" );
655            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.15" );
656    
657            names.clear();
658            names.add( "m-dependencies" );
659            attributeType.setNames( names.toArray( EMPTY ) );
660            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.38", attributeType );
661    
662            // --------------------------------------------------------------------
663            // AttributeType 1.3.6.1.4.1.18060.0.4.0.2.39 
664            // --------------------------------------------------------------------
665    
666            attributeType = newAttributeType( "1.3.6.1.4.1.18060.0.4.0.2.39", registries );
667            attributeType.setDescription( "The maximum length for an attribute value." );
668            attributeType.setCanUserModify( ! false );
669            attributeType.setSingleValue( true );
670            attributeType.setCollective( false );
671            attributeType.setObsolete( false );
672            attributeType.setLength( 0 );
673            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
674            attributeType.setEqualityId( "caseIgnoreMatch" );
675            attributeType.setSyntaxId( "1.3.6.1.4.1.18060.0.4.0.0.4" );
676    
677            names.clear();
678            names.add( "m-length" );
679            attributeType.setNames( names.toArray( EMPTY ) );
680            cb.schemaObjectProduced( this, "1.3.6.1.4.1.18060.0.4.0.2.39", attributeType );
681        }
682    }