1 17 package com.sun.syndication.fetcher.impl; 18 19 import java.io.Serializable ; 20 import java.net.URL ; 21 22 import com.sun.syndication.feed.impl.ObjectBean; 23 import com.sun.syndication.feed.synd.SyndFeed; 24 25 31 public class SyndFeedInfo implements Cloneable , Serializable { 32 private ObjectBean _objBean; 33 private String id; 34 private URL url; 35 private Object lastModified; 36 private String eTag; 37 private SyndFeed syndFeed; 38 39 public SyndFeedInfo() { 40 _objBean = new ObjectBean(this.getClass(),this); 41 } 42 43 50 public Object clone() throws CloneNotSupportedException { 51 return _objBean.clone(); 52 } 53 54 61 public boolean equals(Object other) { 62 return _objBean.equals(other); 63 } 64 65 73 public int hashCode() { 74 return _objBean.hashCode(); 75 } 76 77 83 public String toString() { 84 return _objBean.toString(); 85 } 86 87 88 91 public String getETag() { 92 return eTag; 93 } 94 95 98 public Object getLastModified() { 99 return lastModified; 100 } 101 102 105 public URL getUrl() { 106 return url; 107 } 108 109 public void setETag(String string) { 110 eTag = string; 111 } 112 113 public void setLastModified(Object o) { 114 lastModified = o; 115 } 116 117 public void setUrl(URL url) { 118 this.url = url; 119 } 120 121 public SyndFeed getSyndFeed() { 122 return syndFeed; 123 } 124 125 public void setSyndFeed(SyndFeed feed) { 126 syndFeed = feed; 127 } 128 129 132 public String getId() { 133 return id; 134 } 135 136 140 public void setId(String string) { 141 id = string; 142 } 143 144 } 145 | Popular Tags |