01: /*
02: * Copyright ? 2006 Sun Microsystems, Inc. All rights reserved.
03: *
04: * Sun Microsystems, Inc. has intellectual property rights relating to
05: * technology embodied in the product that is described in this document.
06: * In particular, and without limitation, these intellectual property
07: * rights may include one or more of the U.S. patents listed at
08: * http://www.sun.com/patents and one or more additional patents or
09: * pending patent applications in the U.S. and in other countries.
10: *
11: * U.S. Government Rights - Commercial software. Government users are subject
12: * to the Sun Microsystems, Inc. standard license agreement and applicable
13: * provisions of the FAR and its supplements. Use is subject to license terms.
14: * This distribution may include materials developed by third parties.
15: * Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered
16: * trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
17: */
18: package com.sun.portal.app.blog.model;
19:
20: public class EditWeblogBean {
21: private String selected = "";
22: private String name;
23: private String description;
24: private String handle;
25: private String email;
26: private String appUrl;
27:
28: public void clear() {
29: name = null;
30: description = null;
31: handle = null;
32: email = null;
33: appUrl = null;
34: }
35:
36: public boolean isExistingSelected() {
37: return selected.equals("existing");
38: }
39:
40: public boolean isNewSelected() {
41: return selected.equals("new");
42: }
43:
44: public String getName() {
45: return name;
46: }
47:
48: public void setName(String name) {
49: this .name = name;
50: }
51:
52: public String getDescription() {
53: return description;
54: }
55:
56: public void setDescription(String description) {
57: this .description = description;
58: }
59:
60: public String getHandle() {
61: return handle;
62: }
63:
64: public void setHandle(String handle) {
65: this .handle = handle;
66: }
67:
68: public String getEmail() {
69: return email;
70: }
71:
72: public void setEmail(String email) {
73: this .email = email;
74: }
75:
76: public String getAppUrl() {
77: return appUrl;
78: }
79:
80: public void setAppUrl(String appUrl) {
81: this .appUrl = appUrl;
82: }
83:
84: public String getSelected() {
85: return selected;
86: }
87:
88: public void setSelected(String selected) {
89: this.selected = selected;
90: }
91: }
|