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 nis 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 NisAttributeTypeProducer extends AbstractBootstrapProducer
040    {
041    
042        public NisAttributeTypeProducer()
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.1.1.1.0 
065            // --------------------------------------------------------------------
066    
067            attributeType = newAttributeType( "1.3.6.1.1.1.1.0", registries );
068            attributeType.setDescription( "An integer uniquely identifying a user in an administrative domain" );
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( "integerMatch" );
076            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
077    
078            names.clear();
079            names.add( "uidNumber" );
080            attributeType.setNames( names.toArray( EMPTY ) );
081            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.0", attributeType );
082    
083            // --------------------------------------------------------------------
084            // AttributeType 1.3.6.1.1.1.1.1 
085            // --------------------------------------------------------------------
086    
087            attributeType = newAttributeType( "1.3.6.1.1.1.1.1", registries );
088            attributeType.setDescription( "An integer uniquely identifying a group in an administrative domain" );
089            attributeType.setCanUserModify( ! false );
090            attributeType.setSingleValue( true );
091            attributeType.setCollective( false );
092            attributeType.setObsolete( false );
093            attributeType.setLength( 0 );
094            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
095            attributeType.setEqualityId( "integerMatch" );
096            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
097    
098            names.clear();
099            names.add( "gidNumber" );
100            attributeType.setNames( names.toArray( EMPTY ) );
101            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.1", attributeType );
102    
103            // --------------------------------------------------------------------
104            // AttributeType 1.3.6.1.1.1.1.2 
105            // --------------------------------------------------------------------
106    
107            attributeType = newAttributeType( "1.3.6.1.1.1.1.2", registries );
108            attributeType.setDescription( "The GECOS field; the common name" );
109            attributeType.setCanUserModify( ! false );
110            attributeType.setSingleValue( true );
111            attributeType.setCollective( false );
112            attributeType.setObsolete( false );
113            attributeType.setLength( 0 );
114            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
115            attributeType.setEqualityId( "caseIgnoreIA5Match" );
116            attributeType.setSubstrId( "caseIgnoreIA5SubstringsMatch" );
117            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
118    
119            names.clear();
120            names.add( "gecos" );
121            attributeType.setNames( names.toArray( EMPTY ) );
122            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.2", attributeType );
123    
124            // --------------------------------------------------------------------
125            // AttributeType 1.3.6.1.1.1.1.3 
126            // --------------------------------------------------------------------
127    
128            attributeType = newAttributeType( "1.3.6.1.1.1.1.3", registries );
129            attributeType.setDescription( "The absolute path to the home directory" );
130            attributeType.setCanUserModify( ! false );
131            attributeType.setSingleValue( true );
132            attributeType.setCollective( false );
133            attributeType.setObsolete( false );
134            attributeType.setLength( 0 );
135            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
136            attributeType.setEqualityId( "caseExactIA5Match" );
137            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
138    
139            names.clear();
140            names.add( "homeDirectory" );
141            attributeType.setNames( names.toArray( EMPTY ) );
142            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.3", attributeType );
143    
144            // --------------------------------------------------------------------
145            // AttributeType 1.3.6.1.1.1.1.4 
146            // --------------------------------------------------------------------
147    
148            attributeType = newAttributeType( "1.3.6.1.1.1.1.4", registries );
149            attributeType.setDescription( "The path to the login shell" );
150            attributeType.setCanUserModify( ! false );
151            attributeType.setSingleValue( true );
152            attributeType.setCollective( false );
153            attributeType.setObsolete( false );
154            attributeType.setLength( 0 );
155            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
156            attributeType.setEqualityId( "caseExactIA5Match" );
157            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
158    
159            names.clear();
160            names.add( "loginShell" );
161            attributeType.setNames( names.toArray( EMPTY ) );
162            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.4", attributeType );
163    
164            // --------------------------------------------------------------------
165            // AttributeType 1.3.6.1.1.1.1.5 
166            // --------------------------------------------------------------------
167    
168            attributeType = newAttributeType( "1.3.6.1.1.1.1.5", registries );
169            attributeType.setCanUserModify( ! false );
170            attributeType.setSingleValue( true );
171            attributeType.setCollective( false );
172            attributeType.setObsolete( false );
173            attributeType.setLength( 0 );
174            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
175            attributeType.setEqualityId( "integerMatch" );
176            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
177    
178            names.clear();
179            names.add( "shadowLastChange" );
180            attributeType.setNames( names.toArray( EMPTY ) );
181            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.5", attributeType );
182    
183            // --------------------------------------------------------------------
184            // AttributeType 1.3.6.1.1.1.1.6 
185            // --------------------------------------------------------------------
186    
187            attributeType = newAttributeType( "1.3.6.1.1.1.1.6", registries );
188            attributeType.setCanUserModify( ! false );
189            attributeType.setSingleValue( true );
190            attributeType.setCollective( false );
191            attributeType.setObsolete( false );
192            attributeType.setLength( 0 );
193            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
194            attributeType.setEqualityId( "integerMatch" );
195            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
196    
197            names.clear();
198            names.add( "shadowMin" );
199            attributeType.setNames( names.toArray( EMPTY ) );
200            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.6", attributeType );
201    
202            // --------------------------------------------------------------------
203            // AttributeType 1.3.6.1.1.1.1.7 
204            // --------------------------------------------------------------------
205    
206            attributeType = newAttributeType( "1.3.6.1.1.1.1.7", registries );
207            attributeType.setCanUserModify( ! false );
208            attributeType.setSingleValue( true );
209            attributeType.setCollective( false );
210            attributeType.setObsolete( false );
211            attributeType.setLength( 0 );
212            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
213            attributeType.setEqualityId( "integerMatch" );
214            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
215    
216            names.clear();
217            names.add( "shadowMax" );
218            attributeType.setNames( names.toArray( EMPTY ) );
219            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.7", attributeType );
220    
221            // --------------------------------------------------------------------
222            // AttributeType 1.3.6.1.1.1.1.8 
223            // --------------------------------------------------------------------
224    
225            attributeType = newAttributeType( "1.3.6.1.1.1.1.8", registries );
226            attributeType.setCanUserModify( ! false );
227            attributeType.setSingleValue( true );
228            attributeType.setCollective( false );
229            attributeType.setObsolete( false );
230            attributeType.setLength( 0 );
231            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
232            attributeType.setEqualityId( "integerMatch" );
233            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
234    
235            names.clear();
236            names.add( "shadowWarning" );
237            attributeType.setNames( names.toArray( EMPTY ) );
238            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.8", attributeType );
239    
240            // --------------------------------------------------------------------
241            // AttributeType 1.3.6.1.1.1.1.9 
242            // --------------------------------------------------------------------
243    
244            attributeType = newAttributeType( "1.3.6.1.1.1.1.9", registries );
245            attributeType.setCanUserModify( ! false );
246            attributeType.setSingleValue( true );
247            attributeType.setCollective( false );
248            attributeType.setObsolete( false );
249            attributeType.setLength( 0 );
250            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
251            attributeType.setEqualityId( "integerMatch" );
252            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
253    
254            names.clear();
255            names.add( "shadowInactive" );
256            attributeType.setNames( names.toArray( EMPTY ) );
257            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.9", attributeType );
258    
259            // --------------------------------------------------------------------
260            // AttributeType 1.3.6.1.1.1.1.10 
261            // --------------------------------------------------------------------
262    
263            attributeType = newAttributeType( "1.3.6.1.1.1.1.10", registries );
264            attributeType.setCanUserModify( ! false );
265            attributeType.setSingleValue( true );
266            attributeType.setCollective( false );
267            attributeType.setObsolete( false );
268            attributeType.setLength( 0 );
269            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
270            attributeType.setEqualityId( "integerMatch" );
271            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
272    
273            names.clear();
274            names.add( "shadowExpire" );
275            attributeType.setNames( names.toArray( EMPTY ) );
276            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.10", attributeType );
277    
278            // --------------------------------------------------------------------
279            // AttributeType 1.3.6.1.1.1.1.11 
280            // --------------------------------------------------------------------
281    
282            attributeType = newAttributeType( "1.3.6.1.1.1.1.11", registries );
283            attributeType.setCanUserModify( ! false );
284            attributeType.setSingleValue( true );
285            attributeType.setCollective( false );
286            attributeType.setObsolete( false );
287            attributeType.setLength( 0 );
288            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
289            attributeType.setEqualityId( "integerMatch" );
290            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
291    
292            names.clear();
293            names.add( "shadowFlag" );
294            attributeType.setNames( names.toArray( EMPTY ) );
295            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.11", attributeType );
296    
297            // --------------------------------------------------------------------
298            // AttributeType 1.3.6.1.1.1.1.12 
299            // --------------------------------------------------------------------
300    
301            attributeType = newAttributeType( "1.3.6.1.1.1.1.12", registries );
302            attributeType.setCanUserModify( ! false );
303            attributeType.setSingleValue( false );
304            attributeType.setCollective( false );
305            attributeType.setObsolete( false );
306            attributeType.setLength( 0 );
307            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
308            attributeType.setEqualityId( "caseExactIA5Match" );
309            attributeType.setSubstrId( "caseExactIA5SubstringsMatch" );
310            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
311    
312            names.clear();
313            names.add( "memberUid" );
314            attributeType.setNames( names.toArray( EMPTY ) );
315            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.12", attributeType );
316    
317            // --------------------------------------------------------------------
318            // AttributeType 1.3.6.1.1.1.1.13 
319            // --------------------------------------------------------------------
320    
321            attributeType = newAttributeType( "1.3.6.1.1.1.1.13", registries );
322            attributeType.setCanUserModify( ! false );
323            attributeType.setSingleValue( false );
324            attributeType.setCollective( false );
325            attributeType.setObsolete( false );
326            attributeType.setLength( 0 );
327            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
328            attributeType.setEqualityId( "caseExactIA5Match" );
329            attributeType.setSubstrId( "caseExactIA5SubstringsMatch" );
330            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
331    
332            names.clear();
333            names.add( "memberNisNetgroup" );
334            attributeType.setNames( names.toArray( EMPTY ) );
335            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.13", attributeType );
336    
337            // --------------------------------------------------------------------
338            // AttributeType 1.3.6.1.1.1.1.14 
339            // --------------------------------------------------------------------
340    
341            attributeType = newAttributeType( "1.3.6.1.1.1.1.14", registries );
342            attributeType.setDescription( "Netgroup triple" );
343            attributeType.setCanUserModify( ! false );
344            attributeType.setSingleValue( false );
345            attributeType.setCollective( false );
346            attributeType.setObsolete( false );
347            attributeType.setLength( 0 );
348            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
349            attributeType.setSyntaxId( "1.3.6.1.1.1.0.0" );
350    
351            names.clear();
352            names.add( "nisNetgroupTriple" );
353            attributeType.setNames( names.toArray( EMPTY ) );
354            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.14", attributeType );
355    
356            // --------------------------------------------------------------------
357            // AttributeType 1.3.6.1.1.1.1.15 
358            // --------------------------------------------------------------------
359    
360            attributeType = newAttributeType( "1.3.6.1.1.1.1.15", registries );
361            attributeType.setCanUserModify( ! false );
362            attributeType.setSingleValue( true );
363            attributeType.setCollective( false );
364            attributeType.setObsolete( false );
365            attributeType.setLength( 0 );
366            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
367            attributeType.setEqualityId( "integerMatch" );
368            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
369    
370            names.clear();
371            names.add( "ipServicePort" );
372            attributeType.setNames( names.toArray( EMPTY ) );
373            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.15", attributeType );
374    
375            // --------------------------------------------------------------------
376            // AttributeType 1.3.6.1.1.1.1.16 
377            // --------------------------------------------------------------------
378    
379            attributeType = newAttributeType( "1.3.6.1.1.1.1.16", registries );
380            attributeType.setCanUserModify( ! false );
381            attributeType.setSingleValue( false );
382            attributeType.setCollective( false );
383            attributeType.setObsolete( false );
384            attributeType.setLength( 0 );
385            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
386            attributeType.setSuperiorId( "name" );
387    
388            names.clear();
389            names.add( "ipServiceProtocol" );
390            attributeType.setNames( names.toArray( EMPTY ) );
391            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.16", attributeType );
392    
393            // --------------------------------------------------------------------
394            // AttributeType 1.3.6.1.1.1.1.17 
395            // --------------------------------------------------------------------
396    
397            attributeType = newAttributeType( "1.3.6.1.1.1.1.17", registries );
398            attributeType.setCanUserModify( ! false );
399            attributeType.setSingleValue( true );
400            attributeType.setCollective( false );
401            attributeType.setObsolete( false );
402            attributeType.setLength( 0 );
403            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
404            attributeType.setEqualityId( "integerMatch" );
405            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
406    
407            names.clear();
408            names.add( "ipProtocolNumber" );
409            attributeType.setNames( names.toArray( EMPTY ) );
410            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.17", attributeType );
411    
412            // --------------------------------------------------------------------
413            // AttributeType 1.3.6.1.1.1.1.18 
414            // --------------------------------------------------------------------
415    
416            attributeType = newAttributeType( "1.3.6.1.1.1.1.18", registries );
417            attributeType.setCanUserModify( ! false );
418            attributeType.setSingleValue( true );
419            attributeType.setCollective( false );
420            attributeType.setObsolete( false );
421            attributeType.setLength( 0 );
422            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
423            attributeType.setEqualityId( "integerMatch" );
424            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.27" );
425    
426            names.clear();
427            names.add( "oncRpcNumber" );
428            attributeType.setNames( names.toArray( EMPTY ) );
429            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.18", attributeType );
430    
431            // --------------------------------------------------------------------
432            // AttributeType 1.3.6.1.1.1.1.19 
433            // --------------------------------------------------------------------
434    
435            attributeType = newAttributeType( "1.3.6.1.1.1.1.19", registries );
436            attributeType.setDescription( "IP address" );
437            attributeType.setCanUserModify( ! false );
438            attributeType.setSingleValue( false );
439            attributeType.setCollective( false );
440            attributeType.setObsolete( false );
441            attributeType.setLength( 128 );
442            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
443            attributeType.setEqualityId( "caseIgnoreIA5Match" );
444            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
445    
446            names.clear();
447            names.add( "ipHostNumber" );
448            attributeType.setNames( names.toArray( EMPTY ) );
449            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.19", attributeType );
450    
451            // --------------------------------------------------------------------
452            // AttributeType 1.3.6.1.1.1.1.20 
453            // --------------------------------------------------------------------
454    
455            attributeType = newAttributeType( "1.3.6.1.1.1.1.20", registries );
456            attributeType.setDescription( "IP network" );
457            attributeType.setCanUserModify( ! false );
458            attributeType.setSingleValue( true );
459            attributeType.setCollective( false );
460            attributeType.setObsolete( false );
461            attributeType.setLength( 128 );
462            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
463            attributeType.setEqualityId( "caseIgnoreIA5Match" );
464            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
465    
466            names.clear();
467            names.add( "ipNetworkNumber" );
468            attributeType.setNames( names.toArray( EMPTY ) );
469            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.20", attributeType );
470    
471            // --------------------------------------------------------------------
472            // AttributeType 1.3.6.1.1.1.1.21 
473            // --------------------------------------------------------------------
474    
475            attributeType = newAttributeType( "1.3.6.1.1.1.1.21", registries );
476            attributeType.setDescription( "IP netmask" );
477            attributeType.setCanUserModify( ! false );
478            attributeType.setSingleValue( true );
479            attributeType.setCollective( false );
480            attributeType.setObsolete( false );
481            attributeType.setLength( 128 );
482            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
483            attributeType.setEqualityId( "caseIgnoreIA5Match" );
484            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
485    
486            names.clear();
487            names.add( "ipNetmaskNumber" );
488            attributeType.setNames( names.toArray( EMPTY ) );
489            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.21", attributeType );
490    
491            // --------------------------------------------------------------------
492            // AttributeType 1.3.6.1.1.1.1.22 
493            // --------------------------------------------------------------------
494    
495            attributeType = newAttributeType( "1.3.6.1.1.1.1.22", registries );
496            attributeType.setDescription( "MAC address" );
497            attributeType.setCanUserModify( ! false );
498            attributeType.setSingleValue( false );
499            attributeType.setCollective( false );
500            attributeType.setObsolete( false );
501            attributeType.setLength( 128 );
502            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
503            attributeType.setEqualityId( "caseIgnoreIA5Match" );
504            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
505    
506            names.clear();
507            names.add( "macAddress" );
508            attributeType.setNames( names.toArray( EMPTY ) );
509            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.22", attributeType );
510    
511            // --------------------------------------------------------------------
512            // AttributeType 1.3.6.1.1.1.1.23 
513            // --------------------------------------------------------------------
514    
515            attributeType = newAttributeType( "1.3.6.1.1.1.1.23", registries );
516            attributeType.setDescription( "rpc.bootparamd parameter" );
517            attributeType.setCanUserModify( ! false );
518            attributeType.setSingleValue( false );
519            attributeType.setCollective( false );
520            attributeType.setObsolete( false );
521            attributeType.setLength( 0 );
522            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
523            attributeType.setSyntaxId( "1.3.6.1.1.1.0.1" );
524    
525            names.clear();
526            names.add( "bootParameter" );
527            attributeType.setNames( names.toArray( EMPTY ) );
528            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.23", attributeType );
529    
530            // --------------------------------------------------------------------
531            // AttributeType 1.3.6.1.1.1.1.24 
532            // --------------------------------------------------------------------
533    
534            attributeType = newAttributeType( "1.3.6.1.1.1.1.24", registries );
535            attributeType.setDescription( "Boot image name" );
536            attributeType.setCanUserModify( ! false );
537            attributeType.setSingleValue( false );
538            attributeType.setCollective( false );
539            attributeType.setObsolete( false );
540            attributeType.setLength( 0 );
541            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
542            attributeType.setEqualityId( "caseExactIA5Match" );
543            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
544    
545            names.clear();
546            names.add( "bootFile" );
547            attributeType.setNames( names.toArray( EMPTY ) );
548            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.24", attributeType );
549    
550            // --------------------------------------------------------------------
551            // AttributeType 1.3.6.1.1.1.1.26 
552            // --------------------------------------------------------------------
553    
554            attributeType = newAttributeType( "1.3.6.1.1.1.1.26", registries );
555            attributeType.setCanUserModify( ! false );
556            attributeType.setSingleValue( false );
557            attributeType.setCollective( false );
558            attributeType.setObsolete( false );
559            attributeType.setLength( 0 );
560            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
561            attributeType.setSuperiorId( "name" );
562    
563            names.clear();
564            names.add( "nisMapName" );
565            attributeType.setNames( names.toArray( EMPTY ) );
566            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.26", attributeType );
567    
568            // --------------------------------------------------------------------
569            // AttributeType 1.3.6.1.1.1.1.27 
570            // --------------------------------------------------------------------
571    
572            attributeType = newAttributeType( "1.3.6.1.1.1.1.27", registries );
573            attributeType.setCanUserModify( ! false );
574            attributeType.setSingleValue( true );
575            attributeType.setCollective( false );
576            attributeType.setObsolete( false );
577            attributeType.setLength( 1024 );
578            attributeType.setUsage( UsageEnum.getUsage( "USER_APPLICATIONS" ) );
579            attributeType.setEqualityId( "caseExactIA5Match" );
580            attributeType.setSubstrId( "caseExactIA5SubstringsMatch" );
581            attributeType.setSyntaxId( "1.3.6.1.4.1.1466.115.121.1.26" );
582    
583            names.clear();
584            names.add( "nisMapEntry" );
585            attributeType.setNames( names.toArray( EMPTY ) );
586            cb.schemaObjectProduced( this, "1.3.6.1.1.1.1.27", attributeType );
587        }
588    }