KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > rift > coad > daemon > servicebroker > db > ServicePK


1 /*
2  * Timer: The timer class
3  * Copyright (C) 2006-2007 Rift IT Contracting
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * ServicePK.java
20  */

21
22 package com.rift.coad.daemon.servicebroker.db;
23
24 /**
25  * ServicePK generated by hbm2java
26  */

27 public class ServicePK implements java.io.Serializable JavaDoc {
28
29     // Fields
30

31      private String JavaDoc jndi;
32      private String JavaDoc service;
33
34      // Constructors
35

36     /** default constructor */
37     public ServicePK() {
38     }
39
40     /** full constructor */
41     public ServicePK(String JavaDoc jndi, String JavaDoc service) {
42        this.jndi = jndi;
43        this.service = service;
44     }
45     
46    
47     // Property accessors
48
public String JavaDoc getJndi() {
49         return this.jndi;
50     }
51     
52     public void setJndi(String JavaDoc jndi) {
53         this.jndi = jndi;
54     }
55     public String JavaDoc getService() {
56         return this.service;
57     }
58     
59     public void setService(String JavaDoc service) {
60         this.service = service;
61     }
62
63
64
65
66 }
67
68
69
Popular Tags