KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ldap > server > ContextPartitionConfig


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 JavaDoc;
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 JavaDoc suffix;
32     private String JavaDoc id;
33     private String JavaDoc[] indices;
34     private Attributes JavaDoc attributes;
35     private String JavaDoc partitionClass;
36     private String JavaDoc properties;
37
38
39     public String JavaDoc getSuffix()
40     {
41         return suffix;
42     }
43
44
45     public void setSuffix( String JavaDoc suffix )
46     {
47         this.suffix = suffix;
48     }
49
50
51     public String JavaDoc getId()
52     {
53         return id;
54     }
55
56
57     public void setId( String JavaDoc id )
58     {
59         this.id = id;
60     }
61
62
63     public String JavaDoc[] getIndices()
64     {
65         return indices;
66     }
67
68
69     public void setIndices( String JavaDoc[] indices )
70     {
71         this.indices = indices;
72     }
73
74
75     public Attributes JavaDoc getAttributes()
76     {
77         return attributes;
78     }
79
80
81     public void setAttributes( Attributes JavaDoc attributes )
82     {
83         this.attributes = attributes;
84     }
85
86     public String JavaDoc getPartitionClass()
87     {
88         return partitionClass;
89     }
90
91     public void setPartitionClass( String JavaDoc partitionClass )
92     {
93         this.partitionClass = partitionClass;
94     }
95
96     public String JavaDoc getProperties()
97     {
98         return properties;
99     }
100
101     public void setProperties( String JavaDoc properties )
102     {
103         this.properties = properties;
104     }
105 }
106
Popular Tags