01: /*
02: * ChainBuilder ESB
03: * Visual Enterprise Integration
04: *
05: * Copyright (C) 2007 Bostech Corporation
06: *
07: * This program is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU General Public License as published by the
09: * Free Software Foundation; either version 2 of the License, or (at your option)
10: * any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15: * for more details.
16: *
17: * You should have received a copy of the GNU General Public License along with
18: * this program; if not, write to the Free Software Foundation, Inc.,
19: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: *
21: *
22: * $Id: License.java 9973 2007-11-09 03:09:53Z lzheng $
23: */
24: package com.bostechcorp.cbesb.console.common;
25:
26: import com.google.gwt.user.client.rpc.IsSerializable;
27:
28: public class LicenseInfo implements IsSerializable {
29:
30: /**
31: *
32: */
33: private static final long serialVersionUID = 6708783295125671457L;
34:
35: private String licensee;
36: private String expirationDate;
37: private String featureCode;
38: private String[] hostIds;
39: private String licensedHostId;
40: private String agreement;
41: private boolean licensed;
42:
43: public String getAgreement() {
44: return agreement;
45: }
46:
47: public void setAgreement(String agreement) {
48: this .agreement = agreement;
49: }
50:
51: public String getExpirationDate() {
52: return expirationDate;
53: }
54:
55: public void setExpirationDate(String expirationDate) {
56: this .expirationDate = expirationDate;
57: }
58:
59: public String getFeatureCode() {
60: return featureCode;
61: }
62:
63: public void setFeatureCode(String featureCode) {
64: this .featureCode = featureCode;
65: }
66:
67: public String[] getHostIds() {
68: return hostIds;
69: }
70:
71: public void setHostIds(String[] hostIds) {
72: this .hostIds = hostIds;
73: }
74:
75: public String getLicensedHostId() {
76: return licensedHostId;
77: }
78:
79: public void setLicensedHostId(String licensedHostId) {
80: this .licensedHostId = licensedHostId;
81: }
82:
83: public boolean isLicensed() {
84: return licensed;
85: }
86:
87: public void setLicensed(boolean licensed) {
88: this .licensed = licensed;
89: }
90:
91: public String getLicensee() {
92: return licensee;
93: }
94:
95: public void setLicensee(String licensee) {
96: this.licensee = licensee;
97: }
98:
99: }
|