View Javadoc

1   /*
2    * $Header: /cvsroot/jdbforms/dbforms/src/org/dbforms/event/KeyInfo.java,v 1.4 2004/08/18 12:25:58 hkollmann Exp $
3    * $Revision: 1.4 $
4    * $Date: 2004/08/18 12:25:58 $
5    *
6    * DbForms - a Rapid Application Development Framework
7    * Copyright (C) 2001 Joachim Peer <joepeer@excite.com>
8    *
9    * This library is free software; you can redistribute it and/or
10   * modify it under the terms of the GNU Lesser General Public
11   * License as published by the Free Software Foundation; either
12   * version 2.1 of the License, or (at your option) any later version.
13   *
14   * This library is distributed in the hope that it will be useful,
15   * but WITHOUT ANY WARRANTY; without even the implied warranty of
16   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   * Lesser General Public License for more details.
18   *
19   * You should have received a copy of the GNU Lesser General Public
20   * License along with this library; if not, write to the Free Software
21   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   */
23  
24  package org.dbforms.event;
25  
26  
27  /***
28   * KeyInfo class.
29   *
30   * @author Luca Fossato
31   *
32   */
33  public class KeyInfo {
34     private String keyId;
35     private int    tableId;
36  
37     /***
38      * Constructor for the KeyInfo object
39      */
40     public KeyInfo() {
41     }
42  
43     /***
44      * Sets the keyId attribute of the KeyInfo object
45      *
46      * @param keyId The new keyId value
47      */
48     public void setKeyId(String keyId) {
49        this.keyId = keyId;
50     }
51  
52  
53     /***
54      * Gets the keyId attribute of the KeyInfo object
55      *
56      * @return The keyId value
57      */
58     public String getKeyId() {
59        return keyId;
60     }
61  
62  
63     /***
64      * Sets the tableId attribute of the KeyInfo object
65      *
66      * @param tableId The new tableId value
67      */
68     public void setTableId(int tableId) {
69        this.tableId = tableId;
70     }
71  
72  
73     /***
74      * Gets the tableId attribute of the KeyInfo object
75      *
76      * @return The tableId value
77      */
78     public int getTableId() {
79        return tableId;
80     }
81  }