1 7 package org.jboss.webservice.metadata.jaxrpcmapping; 8 9 11 import javax.xml.namespace.QName ; 12 import java.util.ArrayList ; 13 14 20 public class ExceptionMapping 21 { 22 private JavaWsdlMapping javaWsdlMapping; 24 25 private String exceptionType; 27 private QName wsdlMessage; 29 private ArrayList constructorParameterOrder = new ArrayList (); 31 32 public ExceptionMapping(JavaWsdlMapping javaWsdlMapping) 33 { 34 this.javaWsdlMapping = javaWsdlMapping; 35 } 36 37 public JavaWsdlMapping getJavaWsdlMapping() 38 { 39 return javaWsdlMapping; 40 } 41 42 public String getExceptionType() 43 { 44 return exceptionType; 45 } 46 47 public void setExceptionType(String exceptionType) 48 { 49 this.exceptionType = exceptionType; 50 } 51 52 public QName getWsdlMessage() 53 { 54 return wsdlMessage; 55 } 56 57 public void setWsdlMessage(QName wsdlMessage) 58 { 59 this.wsdlMessage = wsdlMessage; 60 } 61 62 public String [] getConstructorParameterOrder() 63 { 64 String [] arr = new String [constructorParameterOrder.size()]; 65 constructorParameterOrder.toArray(arr); 66 return arr; 67 } 68 69 public void addConstructorParameter(String elementName) 70 { 71 constructorParameterOrder.add(elementName); 72 } 73 } 74 | Popular Tags |