KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > JoinConfig


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: JoinConfig.java,v 1.6 2006/11/20 15:46:58 cwl Exp $
7  */

8
9 package com.sleepycat.je;
10
11 /**
12  * Javadoc for this public class is generated
13  * via the doc templates in the doc_src directory.
14  */

15 public class JoinConfig implements Cloneable JavaDoc {
16
17     /*
18      * For internal use, to allow null as a valid value for
19      * the config parameter.
20      */

21     public static final JoinConfig DEFAULT = new JoinConfig();
22
23     private boolean noSort;
24
25     /**
26      * Javadoc for this public method is generated via
27      * the doc templates in the doc_src directory.
28      */

29     public JoinConfig() {
30     }
31
32     /**
33      * Javadoc for this public method is generated via
34      * the doc templates in the doc_src directory.
35      */

36     public void setNoSort(boolean noSort) {
37         this.noSort = noSort;
38     }
39
40     /**
41      * Javadoc for this public method is generated via
42      * the doc templates in the doc_src directory.
43      */

44     public boolean getNoSort() {
45         return noSort;
46     }
47
48     /**
49      * Used by SecondaryDatabase to create a copy of the application
50      * supplied configuration. Done this way to provide non-public cloning.
51      */

52     JoinConfig cloneConfig() {
53         try {
54             return (JoinConfig) super.clone();
55         } catch (CloneNotSupportedException JavaDoc willNeverOccur) {
56             return null;
57         }
58     }
59 }
60
Popular Tags