1 57 58 package org.apache.wsif.wsdl.extensions.java; 59 60 import javax.wsdl.extensions.ExtensibilityElement; 61 import javax.xml.namespace.QName ; 62 63 68 public class JavaAddress 69 implements ExtensibilityElement, java.io.Serializable { 70 71 private static final long serialVersionUID = 1L; 72 73 protected QName fieldElementType = JavaBindingConstants.Q_ELEM_JAVA_ADDRESS; 74 76 protected Boolean fieldRequired = null; 77 protected java.lang.String fieldClassName; 78 protected java.lang.String fieldClassPath; 79 protected java.lang.String fieldClassLoader; 80 81 public java.lang.String getClassLoader() { 82 return fieldClassLoader; 83 } 84 85 public java.lang.String getClassName() { 86 return fieldClassName; 87 } 88 89 public java.lang.String getClassPath() { 90 return fieldClassPath; 91 } 92 93 98 public QName getElementType() { 99 return fieldElementType; 100 } 101 102 106 public Boolean getRequired() { 107 return fieldRequired; 108 } 109 110 public void setClassLoader(java.lang.String newClassLoader) { 111 fieldClassLoader = newClassLoader; 112 } 113 114 public void setClassName(java.lang.String newClassName) { 115 fieldClassName = newClassName; 116 } 117 118 public void setClassPath(java.lang.String newClassPath) { 119 fieldClassPath = newClassPath; 120 } 121 122 127 public void setElementType(QName elementType) { 128 fieldElementType = elementType; 129 } 130 131 135 public void setRequired(Boolean required) { 136 fieldRequired = required; 137 } 138 139 public String toString() { 140 StringBuffer strBuf = new StringBuffer (super.toString()); 141 142 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 143 strBuf.append("\nrequired=" + fieldRequired); 144 145 strBuf.append("\nclassName=" + fieldClassName); 146 strBuf.append("\nclassPath=" + fieldClassPath); 147 strBuf.append("\nclassLoader=" + fieldClassLoader); 148 149 return strBuf.toString(); 150 } 151 } | Popular Tags |