01: /**
02: * $Id: TemplateNameBean.java,v 1.2 2005/07/22 20:50:58 sorensen 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.ssoa;
14:
15: public class TemplateNameBean {
16:
17: public String name = null;
18: public String configs = null;
19:
20: public TemplateNameBean(String name) {
21: this .name = name;
22: }
23:
24: public TemplateNameBean(String name, String configs) {
25: this .name = name;
26: this .configs = configs;
27: }
28:
29: public String getName() {
30: return name;
31: }
32:
33: public void setName(String name) {
34: this .name = name;
35: }
36:
37: public String getConfigs() {
38: return configs;
39: }
40:
41: public void setConfigs(String configs) {
42: this .configs = configs;
43: }
44:
45: /*public boolean equals( Object o){
46: try {
47: TemplateNameBean tnb = (TemplateNameBean) o;
48: return this.name.equals(tnb.getName());
49: } catch (ClassCastException cce) {
50: return false;
51: }
52:
53: }*/
54: }
|