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 JavaBinding 69 implements ExtensibilityElement, java.io.Serializable { 70 71 private static final long serialVersionUID = 1L; 72 73 protected QName fieldElementType = JavaBindingConstants.Q_ELEM_JAVA_BINDING; 74 76 protected Boolean fieldRequired = null; 77 78 83 public QName getElementType() { 84 return fieldElementType; 85 } 86 87 91 public Boolean getRequired() { 92 return fieldRequired; 93 } 94 95 100 public void setElementType(QName elementType) { 101 fieldElementType = elementType; 102 } 103 104 108 public void setRequired(Boolean required) { 109 fieldRequired = required; 110 } 111 112 public String toString() { 113 StringBuffer strBuf = new StringBuffer (super.toString()); 114 115 strBuf.append("\nJavaOperation (" + fieldElementType + "):"); 116 strBuf.append("\nrequired=" + fieldRequired); 117 118 return strBuf.toString(); 119 } 120 } | Popular Tags |