1 57 58 package org.apache.wsif.wsdl.extensions.jms; 59 60 import java.io.Serializable ; 61 import java.util.List ; 62 63 import javax.wsdl.extensions.ExtensibilityElement; 64 import javax.xml.namespace.QName ; 65 66 71 public class JMSFaultProperty implements ExtensibilityElement, Serializable { 72 73 private static final long serialVersionUID = 1L; 74 75 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_FAULT_PROPERTY; 76 78 protected Boolean fieldRequired = null; 79 protected String fieldName; 80 protected QName fieldType; 81 protected String fieldValue; 82 protected String fieldPart; 83 84 87 public void setElementType(QName elementType) { 88 fieldElementType = elementType; 89 } 90 91 94 public QName getElementType() { 95 return fieldElementType; 96 } 97 98 101 public void setRequired(Boolean required) { 102 fieldRequired = required; 103 } 104 105 108 public Boolean getRequired() { 109 return fieldRequired; 110 } 111 112 116 public String getName() { 117 return fieldName; 118 } 119 120 124 public void setName(String name) { 125 this.fieldName = name; 126 } 127 128 132 public QName getType() { 133 return fieldType; 134 } 135 136 140 public void setType(QName type) { 141 this.fieldType = type; 142 } 143 144 148 public String getValue() { 149 return fieldValue; 150 } 151 152 156 public void setValue(String value) { 157 this.fieldValue = value; 158 } 159 160 164 public String getPart() { 165 return fieldPart; 166 } 167 168 172 public void setPart(String part) { 173 this.fieldPart = part; 174 } 175 176 public String toString() { 177 StringBuffer strBuf = new StringBuffer (super.toString()); 178 179 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 180 strBuf.append("\nrequired=" + fieldRequired); 181 182 strBuf.append("\nname=" + fieldName); 183 strBuf.append("\ntype=" + fieldType); 184 strBuf.append("\nvalue=" + fieldValue); 185 strBuf.append("\npart=" + fieldPart); 186 return strBuf.toString(); 187 } 188 } | Popular Tags |