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 72 public class JMSInput implements ExtensibilityElement, Serializable { 73 74 private static final long serialVersionUID = 1L; 75 76 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_INPUT; 77 79 protected Boolean fieldRequired = null; 80 protected String fieldSchema; 81 protected List fieldParts; 82 83 86 public void setElementType(QName elementType) { 87 fieldElementType = elementType; 88 } 89 90 93 public QName getElementType() { 94 return fieldElementType; 95 } 96 97 100 public void setRequired(Boolean required) { 101 fieldRequired = required; 102 } 103 104 107 public Boolean getRequired() { 108 return fieldRequired; 109 } 110 111 public String toString() { 112 StringBuffer strBuf = new StringBuffer (super.toString()); 113 114 strBuf.append("\nJavaAddress (" + fieldElementType + "):"); 115 strBuf.append("\nrequired=" + fieldRequired); 116 117 strBuf.append("\nschema=" + fieldSchema); 118 strBuf.append("\nparts=" + fieldParts); 119 return strBuf.toString(); 120 } 121 122 126 public String getSchema() { 127 return fieldSchema; 128 } 129 130 134 public void setSchema(String schema) { 135 this.fieldSchema = schema; 136 } 137 138 142 public List getParts() { 143 return fieldParts; 144 } 145 146 150 public void setParts(List parts) { 151 this.fieldParts = parts; 152 } 153 } | Popular Tags |