1 17 package com.sun.syndication.feed.rss; 18 19 import com.sun.syndication.feed.impl.ObjectBean; 20 21 import java.io.Serializable ; 22 23 29 public class TextInput implements Cloneable ,Serializable { 30 private ObjectBean _objBean; 31 private String _title; 32 private String _description; 33 private String _name; 34 private String _link; 35 36 41 public TextInput() { 42 _objBean = new ObjectBean(this.getClass(),this); 43 } 44 45 52 public Object clone() throws CloneNotSupportedException { 53 return _objBean.clone(); 54 } 55 56 63 public boolean equals(Object other) { 64 return _objBean.equals(other); 65 } 66 67 75 public int hashCode() { 76 return _objBean.hashCode(); 77 } 78 79 85 public String toString() { 86 return _objBean.toString(); 87 } 88 89 95 public String getTitle() { 96 return _title; 97 } 98 99 105 public void setTitle(String title) { 106 _title = title; 107 } 108 109 115 public String getDescription() { 116 return _description; 117 } 118 119 125 public void setDescription(String description) { 126 _description = description; 127 } 128 129 135 public String getName() { 136 return _name; 137 } 138 139 145 public void setName(String name) { 146 _name = name; 147 } 148 149 155 public String getLink() { 156 return _link; 157 } 158 159 165 public void setLink(String link) { 166 _link = link; 167 } 168 169 } 170 | Popular Tags |