KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > nqadmin > swingSet > SSDataValue


1 /* $Id: SSDataValue.java,v 1.7 2005/02/04 22:48:54 yoda2 Exp $
2  *
3  * Tab Spacing = 4
4  *
5  * Copyright (c) 2003-2005, The Pangburn Company and Prasanth R. Pasala
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions are met:
10  *
11  * Redistributions of source code must retain the above copyright notice, this
12  * list of conditions and the following disclaimer. Redistributions in binary
13  * form must reproduce the above copyright notice, this list of conditions and
14  * the following disclaimer in the documentation and/or other materials
15  * provided with the distribution. The names of its contributors may not be
16  * used to endorse or promote products derived from this software without
17  * specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  *
31  */

32
33 package com.nqadmin.swingSet;
34
35 /**
36  * SSDataValue.java
37  *<p>
38  * SwingSet - Open Toolkit For Making Swing Controls Database-Aware
39  *<p><pre>
40  * The SSDataValue interface specifies methods for SSTableModel
41  * to retrieve the value for primary column in JTable.
42  *</pre><p>
43  * @author $Author: yoda2 $
44  * @version $Revision: 1.7 $
45  */

46 public interface SSDataValue {
47
48     /**
49      * Returns the value for the primary column in the JTable (SSRowSet
50      * used for building the JTable). When a addtion of row is taking
51      * place in the JTable, SSTableModel tries to insert a primary
52      * key value in to that row returned by this function.
53      *
54      * @return the value for the primary key column.
55      */

56     public Object JavaDoc getPrimaryColumnValue();
57
58 } // end public interface SSDataValue {
59

60
61
62 /*
63  * $Log: SSDataValue.java,v $
64  * Revision 1.7 2005/02/04 22:48:54 yoda2
65  * API cleanup & updated Copyright info.
66  *
67  * Revision 1.6 2004/11/11 14:45:48 yoda2
68  * Using TextPad, converted all tabs to "soft" tabs comprised of four actual spaces.
69  *
70  * Revision 1.5 2004/10/25 22:03:17 yoda2
71  * Updated JavaDoc for new datasource abstraction layer in 0.9.0 release.
72  *
73  * Revision 1.4 2004/08/10 22:06:59 yoda2
74  * Added/edited JavaDoc, made code layout more uniform across classes, made various small coding improvements suggested by PMD.
75  *
76  * Revision 1.3 2004/03/08 16:43:37 prasanth
77  * Updated copy right year.
78  *
79  * Revision 1.2 2003/12/16 18:01:40 prasanth
80  * Documented versions for release 0.6.0
81  *
82  */

83
Popular Tags