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 ServiceInterfaceMapping 21 { 22 private JavaWsdlMapping javaWsdlMapping; 24 25 private String serviceInterface; 27 private QName wsdlServiceName; 29 private ArrayList portMappings = new ArrayList (); 31 32 public ServiceInterfaceMapping(JavaWsdlMapping javaWsdlMapping) 33 { 34 this.javaWsdlMapping = javaWsdlMapping; 35 } 36 37 public JavaWsdlMapping getJavaWsdlMapping() 38 { 39 return javaWsdlMapping; 40 } 41 42 public String getServiceInterface() 43 { 44 return serviceInterface; 45 } 46 47 public void setServiceInterface(String serviceInterface) 48 { 49 this.serviceInterface = serviceInterface; 50 } 51 52 public QName getWsdlServiceName() 53 { 54 return wsdlServiceName; 55 } 56 57 public void setWsdlServiceName(QName wsdlServiceName) 58 { 59 this.wsdlServiceName = wsdlServiceName; 60 } 61 62 public PortMapping[] getPortMappings() 63 { 64 PortMapping[] arr = new PortMapping[portMappings.size()]; 65 portMappings.toArray(arr); 66 return arr; 67 } 68 69 public void addPortMapping(PortMapping portMapping) 70 { 71 portMappings.add(portMapping); 72 } 73 } 74 | Popular Tags |