1 57 58 package org.apache.wsif.wsdl.extensions.ejb; 59 60 import java.io.Serializable ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 71 public class EJBBinding implements ExtensibilityElement, Serializable { 72 73 private static final long serialVersionUID = 1L; 74 75 protected QName fieldElementType = EJBBindingConstants.Q_ELEM_EJB_BINDING; 76 78 protected Boolean fieldRequired = null; 79 80 85 public QName getElementType() { 86 return fieldElementType; 87 } 88 89 93 public Boolean getRequired() { 94 return fieldRequired; 95 } 96 97 102 public void setElementType(QName elementType) { 103 fieldElementType = elementType; 104 } 105 106 110 public void setRequired(Boolean required) { 111 fieldRequired = required; 112 } 113 114 public String toString() { 115 StringBuffer strBuf = new StringBuffer (super.toString()); 116 117 strBuf.append("\nEJBOperation (" + fieldElementType + "):"); 118 strBuf.append("\nrequired=" + fieldRequired); 119 120 return strBuf.toString(); 121 } 122 } | Popular Tags |