1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 *
19 */
20 package org.apache.directory.server.core.partition.impl.btree.jdbm;
21
22
23 import org.apache.directory.shared.ldap.schema.AttributeType;
24 import org.apache.directory.shared.ldap.schema.UsageEnum;
25 import org.apache.directory.shared.ldap.schema.Syntax;
26 import org.apache.directory.shared.ldap.schema.MatchingRule;
27
28 import javax.naming.NamingException;
29
30
31 /**
32 * TODO doc me!
33 *
34 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
35 * @version $$Rev$$
36 */
37 public class NoEqMatchAttribute implements AttributeType
38 {
39 public boolean isSingleValue()
40 {
41 return false; //To change body of implemented methods use File | Settings | File Templates.
42 }
43
44
45 public boolean isCanUserModify()
46 {
47 return false; //To change body of implemented methods use File | Settings | File Templates.
48 }
49
50
51 public boolean isCollective()
52 {
53 return false; //To change body of implemented methods use File | Settings | File Templates.
54 }
55
56
57 public UsageEnum getUsage()
58 {
59 return null; //To change body of implemented methods use File | Settings | File Templates.
60 }
61
62
63 public AttributeType getSuperior() throws NamingException
64 {
65 return null; //To change body of implemented methods use File | Settings | File Templates.
66 }
67
68
69 public Syntax getSyntax() throws NamingException
70 {
71 return null; //To change body of implemented methods use File | Settings | File Templates.
72 }
73
74
75 public int getLength()
76 {
77 return 0; //To change body of implemented methods use File | Settings | File Templates.
78 }
79
80
81 public MatchingRule getEquality() throws NamingException
82 {
83 throw new NamingException( "Just for testing." );
84 }
85
86
87 public MatchingRule getOrdering() throws NamingException
88 {
89 return null; //To change body of implemented methods use File | Settings | File Templates.
90 }
91
92
93 public MatchingRule getSubstr() throws NamingException
94 {
95 return null; //To change body of implemented methods use File | Settings | File Templates.
96 }
97
98
99 public boolean isAncestorOf( AttributeType descendant ) throws NamingException
100 {
101 return false; //To change body of implemented methods use File | Settings | File Templates.
102 }
103
104
105 public boolean isDescentantOf( AttributeType ancestor ) throws NamingException
106 {
107 return false; //To change body of implemented methods use File | Settings | File Templates.
108 }
109
110
111 public boolean isObsolete()
112 {
113 return false; //To change body of implemented methods use File | Settings | File Templates.
114 }
115
116
117 public String getOid()
118 {
119 return null; //To change body of implemented methods use File | Settings | File Templates.
120 }
121
122
123 public String[] getNames()
124 {
125 return new String[0]; //To change body of implemented methods use File | Settings | File Templates.
126 }
127
128
129 public String getName()
130 {
131 return null; //To change body of implemented methods use File | Settings | File Templates.
132 }
133
134
135 public String getDescription()
136 {
137 return null; //To change body of implemented methods use File | Settings | File Templates.
138 }
139
140
141 public String getSchema()
142 {
143 return null; //To change body of implemented methods use File | Settings | File Templates.
144 }
145
146
147 public void setSchema( String schemaName )
148 {
149 //To change body of implemented methods use File | Settings | File Templates.
150 }
151
152
153 public String[] getNamesRef()
154 {
155 return null;
156 }
157 }