01: /*
02: * Timer: The timer class
03: * Copyright (C) 2006-2007 Rift IT Contracting
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
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 {
28:
29: // Fields
30:
31: private ServicePK comp_id;
32: private Integer counter;
33:
34: // Constructors
35:
36: /** default constructor */
37: public Service() {
38: }
39:
40: /** full constructor */
41: public Service(ServicePK comp_id, Integer counter) {
42: this .comp_id = comp_id;
43: this .counter = counter;
44: }
45:
46: // Property accessors
47: public ServicePK getComp_id() {
48: return this .comp_id;
49: }
50:
51: public void setComp_id(ServicePK comp_id) {
52: this .comp_id = comp_id;
53: }
54:
55: public Integer getCounter() {
56: return this .counter;
57: }
58:
59: public void setCounter(Integer counter) {
60: this.counter = counter;
61: }
62:
63: }
|