KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Service.java
20  */

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

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

31      private ServicePK comp_id;
32      private Integer JavaDoc counter;
33
34      // Constructors
35

36     /** default constructor */
37     public Service() {
38     }
39
40     /** full constructor */
41     public Service(ServicePK comp_id, Integer JavaDoc counter) {
42        this.comp_id = comp_id;
43        this.counter = counter;
44     }
45     
46    
47     // Property accessors
48
public ServicePK getComp_id() {
49         return this.comp_id;
50     }
51     
52     public void setComp_id(ServicePK comp_id) {
53         this.comp_id = comp_id;
54     }
55     public Integer JavaDoc getCounter() {
56         return this.counter;
57     }
58     
59     public void setCounter(Integer JavaDoc counter) {
60         this.counter = counter;
61     }
62
63
64
65 }
66
67
68
Popular Tags