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 71 public class JMSOperation implements ExtensibilityElement, Serializable { 72 73 private static final long serialVersionUID = 1L; 74 75 protected QName fieldElementType = JMSConstants.Q_ELEM_JMS_OPERATION; 76 78 protected Boolean fieldRequired = null; 79 80 83 public QName getElementType() { 84 return fieldElementType; 85 } 86 87 90 public Boolean getRequired() { 91 return fieldRequired; 92 } 93 94 97 public void setElementType(QName elementType) { 98 fieldElementType = elementType; 99 } 100 101 104 public void setRequired(Boolean required) { 105 fieldRequired = required; 106 } 107 108 111 public String toString() { 112 StringBuffer strBuf = new StringBuffer (super.toString()); 113 114 strBuf.append("\nJmsOperation (" + fieldElementType + "):"); 115 strBuf.append("\nrequired=" + fieldRequired); 116 117 return strBuf.toString(); 118 } 119 } | Popular Tags |