01: /**
02: * $Id: SettingsBean.java,v 1.4 2005/11/10 08:37:25 pa157442 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.console.monitoring.settings;
14:
15: public class SettingsBean {
16:
17: public String instanceName = null;
18: public String status = null;
19: public Boolean disableSelection = null;
20:
21: /** Creates a new instance of Settings */
22: public SettingsBean(String instanceName, String status,
23: Boolean disableSelection) {
24: this .instanceName = instanceName;
25: this .status = status;
26: this .disableSelection = disableSelection;
27:
28: }
29:
30: public String getInstanceName() {
31: return instanceName;
32: }
33:
34: public String getStatus() {
35: return status;
36: }
37:
38: public boolean isDisableSelection() {
39: if (disableSelection == null) {
40: disableSelection = new Boolean(false);
41: }
42: return disableSelection.booleanValue();
43: }
44:
45: }
|