01: /**
02: * Copyright 2005 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */package com.sun.portal.admin.console.search;
13:
14: public class DatabaseBean {
15:
16: public String name = "";
17: public boolean federated = false;
18:
19: public void initialize(String name, boolean federated) {
20: this .name = name;
21: this .federated = federated;
22: }
23:
24: public String getName() {
25: return name;
26: }
27:
28: public void setName(String name) {
29: this .name = name;
30: }
31:
32: public String getFederatedTextValue() {
33: return (federated) ? "true" : "false";
34: }
35:
36: public void setFederatedTextValue(String federatedTextValue) {
37: }
38:
39: }
|