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 JMSFault implements ExtensibilityElement, Serializable { 72 73 private static final long serialVersionUID = 1L; 74 75 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_FAULT; 76 78 protected Boolean fieldRequired = null; 79 protected List fieldParts; 80 81 84 public void setElementType(QName elementType) { 85 fieldElementType = elementType; 86 } 87 88 91 public QName getElementType() { 92 return fieldElementType; 93 } 94 95 98 public void setRequired(Boolean required) { 99 fieldRequired = required; 100 } 101 102 105 public Boolean getRequired() { 106 return fieldRequired; 107 } 108 109 113 public List getParts() { 114 return fieldParts; 115 } 116 117 121 public void setParts(List parts) { 122 this.fieldParts = parts; 123 } 124 125 public String toString() { 126 StringBuffer strBuf = new StringBuffer (super.toString()); 127 128 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 129 strBuf.append("\nrequired=" + fieldRequired); 130 131 strBuf.append("\nparts=" + fieldParts); 132 return strBuf.toString(); 133 } 134 } | Popular Tags |