View Javadoc

1   /*
2    *   Copyright 2004 The Apache Software Foundation
3    *
4    *   Licensed under the Apache License, Version 2.0 (the "License");
5    *   you may not use this file except in compliance with the License.
6    *   You may obtain a copy of the License at
7    *
8    *       http://www.apache.org/licenses/LICENSE-2.0
9    *
10   *   Unless required by applicable law or agreed to in writing, software
11   *   distributed under the License is distributed on an "AS IS" BASIS,
12   *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *   See the License for the specific language governing permissions and
14   *   limitations under the License.
15   *
16   */
17  package org.apache.ldap.server;
18  
19  
20  import javax.naming.directory.Attributes;
21  
22  
23  /***
24   * A configuration bean for ContextPartitions.
25   *
26   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
27   * @version $Rev$
28   */
29  public class ContextPartitionConfig
30  {
31      private String suffix;
32      private String id;
33      private String[] indices;
34      private Attributes attributes;
35      private String partitionClass;
36      private String properties;
37  
38  
39      public String getSuffix()
40      {
41          return suffix;
42      }
43  
44  
45      public void setSuffix( String suffix )
46      {
47          this.suffix = suffix;
48      }
49  
50  
51      public String getId()
52      {
53          return id;
54      }
55  
56  
57      public void setId( String id )
58      {
59          this.id = id;
60      }
61  
62  
63      public String[] getIndices()
64      {
65          return indices;
66      }
67  
68  
69      public void setIndices( String[] indices )
70      {
71          this.indices = indices;
72      }
73  
74  
75      public Attributes getAttributes()
76      {
77          return attributes;
78      }
79  
80  
81      public void setAttributes( Attributes attributes )
82      {
83          this.attributes = attributes;
84      }
85  
86      public String getPartitionClass()
87      {
88          return partitionClass;
89      }
90  
91      public void setPartitionClass( String partitionClass )
92      {
93          this.partitionClass = partitionClass;
94      }
95  
96      public String getProperties()
97      {
98          return properties;
99      }
100 
101     public void setProperties( String properties )
102     {
103         this.properties = properties;
104     }
105 }