1 57 58 package org.apache.wsif.wsdl.extensions.jms; 59 60 import java.io.Serializable ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 72 public class JMSAddress implements ExtensibilityElement, Serializable { 73 74 private static final long serialVersionUID = 1L; 75 76 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_ADDRESS; 77 79 protected Boolean fieldRequired = null; 80 81 protected String jmsVendorURI; 82 protected String initCxtFact; 83 protected String jndiProvURL; 84 protected String destStyle; 85 protected String jndiConnFactName; 86 protected String jndiDestName; 87 protected String jmsProvDestName; 88 protected String jmsImplSpecURI; 89 protected java.util.List propertyValues; 90 91 94 public String getJmsVendorURI() { 95 return jmsVendorURI; 96 } 97 98 public String getInitCxtFact() { 99 return initCxtFact; 100 } 101 102 public String getJndiProvURL() { 103 return jndiProvURL; 104 } 105 106 public String getDestStyle() { 107 return destStyle; 108 } 109 110 public String getJndiConnFactName() { 111 return jndiConnFactName; 112 } 113 114 public String getJndiDestName() { 115 return jndiDestName; 116 } 117 118 public String getJmsProvDestName() { 119 return jmsProvDestName; 120 } 121 122 public String getJmsImplSpecURI() { 123 return jmsImplSpecURI; 124 } 125 126 129 public void setJmsVendorURI(String rhs) { 130 jmsVendorURI = rhs; 131 } 132 133 public void setInitCxtFact(String rhs) { 134 initCxtFact = rhs; 135 } 136 137 public void setJndiProvURL(String rhs) { 138 jndiProvURL = rhs; 139 } 140 141 public void setDestStyle(String rhs) { 142 destStyle = rhs; 143 } 144 145 public void setJndiConnFactName(String rhs) { 146 jndiConnFactName = rhs; 147 } 148 149 public void setJndiDestName(String rhs) { 150 jndiDestName = rhs; 151 } 152 153 public void setJmsProvDestName(String rhs) { 154 jmsProvDestName = rhs; 155 } 156 157 public void setJmsImplSpecURI(String rhs) { 158 jmsImplSpecURI = rhs; 159 } 160 161 164 public void setElementType(QName elementType) { 165 fieldElementType = elementType; 166 } 167 168 171 public QName getElementType() { 172 return fieldElementType; 173 } 174 175 178 public void setRequired(Boolean required) { 179 fieldRequired = required; 180 } 181 182 185 public Boolean getRequired() { 186 return fieldRequired; 187 } 188 189 public String toString() { 190 StringBuffer strBuf = new StringBuffer (super.toString()); 191 192 strBuf.append("\nJmsAddress (" + fieldElementType + "):"); 193 strBuf.append("\nrequired=" + fieldRequired); 194 195 strBuf.append("\njmsVendorURI=" + jmsVendorURI == null ? "null" : jmsVendorURI); 196 strBuf.append("\ninitCxtFact=" + initCxtFact == null ? "null" : initCxtFact); 197 strBuf.append("\njndiProvURL=" + jndiProvURL == null ? "null" : jndiProvURL); 198 strBuf.append("\ndestStyle=" + destStyle == null ? "null" : destStyle); 199 strBuf.append( 200 "\njndiConnFactName=" + jndiConnFactName == null ? "null" : jndiConnFactName); 201 strBuf.append("\njndiDestName=" + jndiDestName == null ? "null" : jndiDestName); 202 strBuf.append( 203 "\njmsProvDestName=" + jmsProvDestName == null ? "null" : jmsProvDestName); 204 strBuf.append( 205 "\njmsImplSpecURI=" + jmsImplSpecURI == null ? "null" : jmsImplSpecURI); 206 207 return strBuf.toString(); 208 } 209 210 public void addJMSPropertyValue(JMSPropertyValue jmsPropertyValue) { 211 getJMSPropertyValues().add(jmsPropertyValue); 212 } 213 214 public java.util.List getJMSPropertyValues() { 215 if (propertyValues == null) 216 propertyValues = new java.util.ArrayList (); 217 return propertyValues; 218 } 219 } | Popular Tags |