01: /**
02: * $Id: PortalBean.java,v 1.2 2005/07/25 18:17:00 pd109850 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.fabric;
14:
15: public class PortalBean {
16:
17: private String name = null;
18: private String uri = null;
19: private int nInstances = 0;
20:
21: public PortalBean(String name, String uri, int nInstances) {
22: this .name = name;
23: this .uri = uri;
24: this .nInstances = nInstances;
25: }
26:
27: public String getName() {
28: return name;
29: }
30:
31: public void setName(String name) {
32: this .name = name;
33: }
34:
35: public String getUri() {
36: return uri;
37: }
38:
39: public String getNumInstances() {
40: return "" + nInstances;
41: }
42: }
|