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 Cloud implements Cloneable ,Serializable { 30 private ObjectBean _objBean; 31 private String _domain; 32 private int _port; 33 private String _path; 34 private String _registerProcedure; 35 private String _protocol; 36 37 42 public Cloud() { 43 _objBean = new ObjectBean(this.getClass(),this); 44 } 45 46 53 public Object clone() throws CloneNotSupportedException { 54 return _objBean.clone(); 55 } 56 57 64 public boolean equals(Object other) { 65 return _objBean.equals(other); 66 } 67 68 76 public int hashCode() { 77 return _objBean.hashCode(); 78 } 79 80 86 public String toString() { 87 return _objBean.toString(); 88 } 89 90 96 public String getDomain() { 97 return _domain; 98 } 99 100 106 public void setDomain(String domain) { 107 _domain = domain; 108 } 109 110 116 public int getPort() { 117 return _port; 118 } 119 120 126 public void setPort(int port) { 127 _port = port; 128 } 129 130 136 public String getPath() { 137 return _path; 138 } 139 140 146 public void setPath(String path) { 147 _path = path; 148 } 149 150 156 public String getRegisterProcedure() { 157 return _registerProcedure; 158 } 159 160 166 public void setRegisterProcedure(String registerProcedure) { 167 _registerProcedure = registerProcedure; 168 } 169 170 176 public String getProtocol() { 177 return _protocol; 178 } 179 180 186 public void setProtocol(String protocol) { 187 _protocol = protocol; 188 } 189 190 } 191 | Popular Tags |