1 17 package com.sun.syndication.feed.atom; 18 19 import com.sun.syndication.feed.impl.ObjectBean; 20 import com.sun.syndication.feed.impl.ObjectBean; 21 22 import java.io.Serializable ; 23 24 30 public class Generator implements Cloneable ,Serializable { 31 private ObjectBean _objBean; 32 private String _url; 33 private String _version; 34 private String _value; 35 36 41 public Generator() { 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 getUrl() { 96 return _url; 97 } 98 99 105 public void setUrl(String url) { 106 _url = url; 107 } 108 109 115 public String getVersion() { 116 return _version; 117 } 118 119 125 public void setVersion(String version) { 126 _version = version; 127 } 128 129 135 public String getValue() { 136 return _value; 137 } 138 139 145 public void setValue(String value) { 146 _value = value; 147 } 148 149 } 150 | Popular Tags |