1 16 package org.apache.juddi.datatype.binding; 17 18 import org.apache.juddi.datatype.RegistryObject; 19 20 37 public class AccessPoint implements RegistryObject 38 { 39 43 public static final String MAILTO = "mailto"; 44 45 49 public static final String HTTP = "http"; 50 51 55 public static final String HTTPS = "https"; 56 57 61 public static final String FTP = "ftp"; 62 63 67 public static final String FAX = "fax"; 68 69 74 public static final String PHONE = "phone"; 75 76 82 public static final String OTHER = "other"; 83 84 String urlType; 85 String urlValue; 86 87 90 public AccessPoint() 91 { 92 } 93 94 100 public AccessPoint(String urlType,String urlValue) 101 { 102 this.urlType = urlType; 103 this.urlValue = urlValue; 104 } 105 106 112 public void setURLType(String urlType) 113 { 114 this.urlType = urlType; 115 } 116 117 123 public void setURL(String url) 124 { 125 this.urlValue = url; 126 } 127 128 133 public String getURL() 134 { 135 return this.urlValue; 136 } 137 138 143 public String getURLType() 144 { 145 return this.urlType; 146 } 147 } | Popular Tags |