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 Category implements Cloneable ,Serializable { 30 private ObjectBean _objBean; 31 private String _domain; 32 private String _value; 33 34 39 public Category() { 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 93 public String getDomain() { 94 return _domain; 95 } 96 97 103 public void setDomain(String domain) { 104 _domain = domain; 105 } 106 107 113 public String getValue() { 114 return _value; 115 } 116 117 123 public void setValue(String value) { 124 _value = value; 125 } 126 127 } 128 | Popular Tags |