1 57 58 package org.apache.wsif.wsdl.extensions.ejb; 59 60 import java.util.List ; 61 62 import javax.wsdl.extensions.ExtensibilityElement; 63 import javax.xml.namespace.QName ; 64 65 import com.ibm.wsdl.util.StringUtils; 66 67 73 public class EJBOperation 74 implements ExtensibilityElement, java.io.Serializable { 75 76 private static final long serialVersionUID = 1L; 77 78 protected QName fieldElementType = EJBBindingConstants.Q_ELEM_EJB_OPERATION; 79 protected Boolean fieldRequired = null; 81 protected java.lang.String fieldMethodName; 82 protected java.lang.String fieldEjbInterface; 83 protected List fieldParameterOrder; 84 protected String fieldReturnPart; 85 86 public java.lang.String getEjbInterface() { 87 return fieldEjbInterface; 88 } 89 90 95 public QName getElementType() { 96 return fieldElementType; 97 } 98 99 public java.lang.String getMethodName() { 100 return fieldMethodName; 101 } 102 103 107 public Boolean getRequired() { 108 return fieldRequired; 109 } 110 111 public void setEjbInterface(java.lang.String ejbInterface) { 112 fieldEjbInterface = ejbInterface; 113 } 114 115 120 public void setElementType(QName elementType) { 121 fieldElementType = elementType; 122 } 123 124 public void setMethodName(java.lang.String newMethodName) { 125 fieldMethodName = newMethodName; 126 } 127 128 132 public void setRequired(Boolean required) { 133 fieldRequired = required; 134 } 135 136 public String toString() { 137 StringBuffer strBuf = new StringBuffer (super.toString()); 138 139 strBuf.append("\nEJBOperation (" + fieldElementType + "):"); 140 strBuf.append("\nrequired=" + fieldRequired); 141 strBuf.append("\nmethodName=" + fieldMethodName); 142 strBuf.append("\nejbInterface=" + fieldEjbInterface); 143 strBuf.append("\nparameterOrder=" + fieldParameterOrder); 144 strBuf.append("\nreturnPart=" + fieldReturnPart); 145 146 return strBuf.toString(); 147 } 148 149 153 public String getReturnPart() { 154 return fieldReturnPart; 155 } 156 157 161 public void setReturnPart(String fieldReturnPart) { 162 this.fieldReturnPart = fieldReturnPart; 163 } 164 165 169 public List getParameterOrder() { 170 return fieldParameterOrder; 171 } 172 173 public void setParameterOrder(String newParameterOrderStr) { 174 if (newParameterOrderStr != null) { 175 fieldParameterOrder = StringUtils.parseNMTokens(newParameterOrderStr); 176 } 177 } 178 } | Popular Tags |