KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > tools > common > model > JavaPort


1 package org.objectweb.celtix.tools.common.model;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.List JavaDoc;
5 import javax.jws.soap.SOAPBinding;
6
7 public class JavaPort {
8     
9     private String JavaDoc name;
10     private String JavaDoc portType;
11     private String JavaDoc bindingName;
12     private final List JavaDoc<JavaMethod> operations = new ArrayList JavaDoc<JavaMethod>();
13     private String JavaDoc address;
14     private String JavaDoc soapVersion;
15     private SOAPBinding.Style style;
16     private String JavaDoc transURI;
17     private String JavaDoc interfaceClass;
18     private String JavaDoc packageName;
19     private String JavaDoc namespace;
20     
21     public JavaPort(String JavaDoc pname) {
22         this.name = pname;
23     }
24
25     public void setTransURI(String JavaDoc uri) {
26         this.transURI = uri;
27     }
28
29     public String JavaDoc getTransURI() {
30         return this.transURI;
31     }
32
33     public void setStyle(SOAPBinding.Style sty) {
34         this.style = sty;
35     }
36
37     public SOAPBinding.Style getStyle() {
38         return this.style;
39     }
40
41     public void setPortName(String JavaDoc portname) {
42         name = portname;
43     }
44
45     public String JavaDoc getPortName() {
46         return name;
47     }
48
49     public void setPortType(String JavaDoc type) {
50         this.portType = type;
51     }
52
53     public String JavaDoc getPortType() {
54         return portType;
55     }
56
57     public void setBindingName(String JavaDoc bName) {
58         this.bindingName = bName;
59     }
60
61     public String JavaDoc getBindingName() {
62         return bindingName;
63     }
64
65     public void addOperation(JavaMethod method) {
66         operations.add(method);
67     }
68
69     public List JavaDoc getOperations() {
70         return operations;
71     }
72
73     public void setBindingAdress(String JavaDoc add) {
74         this.address = add;
75     }
76
77     public String JavaDoc getBindingAdress() {
78         return address;
79     }
80
81     public void setSoapVersion(String JavaDoc version) {
82         this.soapVersion = version;
83     }
84
85     public String JavaDoc getSoapVersion() {
86         return soapVersion;
87     }
88     
89     public void setPackageName(String JavaDoc pkgName) {
90         this.packageName = pkgName;
91     }
92     
93     public String JavaDoc getPackageName() {
94         return this.packageName;
95     }
96     
97
98     public String JavaDoc getInterfaceClass() {
99         return this.interfaceClass;
100     }
101     
102     
103     public void setInterfaceClass(String JavaDoc clzname) {
104         this.interfaceClass = clzname;
105     }
106     
107     
108     public void setNameSpace(String JavaDoc ns) {
109         this.namespace = ns;
110     }
111
112     public String JavaDoc getNameSpace() {
113         return this.namespace;
114     }
115 }
116
Popular Tags