1 16 package org.apache.axis2.addressing; 17 18 import javax.xml.namespace.QName ; 19 20 23 public class ServiceName { 24 27 private QName name; 28 29 32 private String endpointName; 33 34 37 public ServiceName(QName name) { 38 this.name = name; 39 } 40 41 45 public ServiceName(QName name, String portName) { 46 this.name = name; 47 this.endpointName = portName; 48 } 49 50 55 public QName getName() { 56 return name; 57 } 58 59 64 public void setName(QName name) { 65 this.name = name; 66 } 67 68 73 public String getEndpointName() { 74 return endpointName; 75 } 76 77 82 public void setEndpointName(String endpointName) { 83 this.endpointName = endpointName; 84 } 85 } 86 | Popular Tags |