1 22 package org.jboss.metamodel.descriptor; 23 24 import java.io.Serializable ; 25 26 28 35 public class ServiceRef extends Ref 36 { 37 private String encName; 38 private String wsdlLocation; 39 private String configName; 40 private String configFile; 41 42 public ServiceRef() 43 { 44 } 45 46 public ServiceRef(String name) 47 { 48 this.encName = name; 49 } 50 51 public String getEncName() 52 { 53 return encName; 54 } 55 56 public void setEncName(String name) 57 { 58 this.encName = name; 59 } 60 61 public String getWsdlLocation() 62 { 63 return wsdlLocation; 64 } 65 66 public void setWsdlLocation(String wsdlLocation) 67 { 68 this.wsdlLocation = wsdlLocation; 69 } 70 71 public String getConfigFile() 72 { 73 return configFile; 74 } 75 76 public void setConfigFile(String configFile) 77 { 78 this.configFile = configFile; 79 } 80 81 public String getConfigName() 82 { 83 return configName; 84 } 85 86 public void setConfigName(String configName) 87 { 88 this.configName = configName; 89 } 90 91 public String toString() 92 { 93 StringBuffer sb = new StringBuffer (100); 94 sb.append("["); 95 sb.append("name=").append(encName); 96 sb.append(",config-name=").append(configName); 97 sb.append(",config-file=").append(configFile); 98 sb.append(",wsdl=").append(wsdlLocation); 99 sb.append("]"); 100 return sb.toString(); 101 } 102 } 103 | Popular Tags |