1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.ldap.server.schema.bootstrap;
18
19
20 import javax.naming.NamingException;
21
22
23
24 /***
25 * A producer of MatchingRule objects for the inetorgperson schema. This code has been
26 * automatically generated using schema files in the OpenLDAP format along with
27 * the eve schema plugin for maven. This has been done to facilitate
28 * Eve<->OpenLDAP schema interoperability.
29 *
30 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
31 * @version $Rev: 157708 $
32 */
33 public class InetorgpersonMatchingRuleProducer extends AbstractBootstrapProducer
34 {
35 public InetorgpersonMatchingRuleProducer()
36 {
37 super( ProducerTypeEnum.MATCHING_RULE_PRODUCER );
38 }
39
40
41
42
43
44
45
46 /***
47 * @see org.apache.ldap.server.schema.bootstrap.BootstrapProducer#produce(org.apache.ldap.server.schema.bootstrap.BootstrapRegistries, org.apache.ldap.server.schema.bootstrap.ProducerCallback)
48 */
49 public void produce( BootstrapRegistries registries, ProducerCallback cb )
50 throws NamingException
51 {
52 BootstrapMatchingRule mrule = null;
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68 mrule = new BootstrapMatchingRule( "2.5.13.5", registries );
69 mrule.setNames( new String[] { "caseExactMatch" } );
70 mrule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.15" );
71 cb.schemaObjectProduced( this, mrule.getOid(), mrule );
72
73 mrule = new BootstrapMatchingRule( "2.5.13.7", registries );
74 mrule.setNames( new String[] { "caseExactSubstringsMatch" } );
75 mrule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.58" );
76 cb.schemaObjectProduced( this, mrule.getOid(), mrule );
77
78 mrule = new BootstrapMatchingRule( "2.5.13.12", registries );
79 mrule.setNames( new String[] { "caseIgnoreListSubstringsMatch" } );
80 mrule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.58" );
81 cb.schemaObjectProduced( this, mrule.getOid(), mrule );
82
83
84
85
86
87
88
89
90
91 mrule = new BootstrapMatchingRule( "1.3.6.1.4.1.1466.109.114.3", registries );
92 mrule.setNames( new String[] { "caseIgnoreIA5SubstringsMatch" } );
93 mrule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.58" );
94 cb.schemaObjectProduced( this, mrule.getOid(), mrule );
95
96 }
97 }