001: package org.objectweb.celtix.tools.common.model;
002:
003: import java.util.ArrayList;
004: import java.util.List;
005: import javax.jws.soap.SOAPBinding;
006:
007: public class JavaPort {
008:
009: private String name;
010: private String portType;
011: private String bindingName;
012: private final List<JavaMethod> operations = new ArrayList<JavaMethod>();
013: private String address;
014: private String soapVersion;
015: private SOAPBinding.Style style;
016: private String transURI;
017: private String interfaceClass;
018: private String packageName;
019: private String namespace;
020:
021: public JavaPort(String pname) {
022: this .name = pname;
023: }
024:
025: public void setTransURI(String uri) {
026: this .transURI = uri;
027: }
028:
029: public String getTransURI() {
030: return this .transURI;
031: }
032:
033: public void setStyle(SOAPBinding.Style sty) {
034: this .style = sty;
035: }
036:
037: public SOAPBinding.Style getStyle() {
038: return this .style;
039: }
040:
041: public void setPortName(String portname) {
042: name = portname;
043: }
044:
045: public String getPortName() {
046: return name;
047: }
048:
049: public void setPortType(String type) {
050: this .portType = type;
051: }
052:
053: public String getPortType() {
054: return portType;
055: }
056:
057: public void setBindingName(String bName) {
058: this .bindingName = bName;
059: }
060:
061: public String getBindingName() {
062: return bindingName;
063: }
064:
065: public void addOperation(JavaMethod method) {
066: operations.add(method);
067: }
068:
069: public List getOperations() {
070: return operations;
071: }
072:
073: public void setBindingAdress(String add) {
074: this .address = add;
075: }
076:
077: public String getBindingAdress() {
078: return address;
079: }
080:
081: public void setSoapVersion(String version) {
082: this .soapVersion = version;
083: }
084:
085: public String getSoapVersion() {
086: return soapVersion;
087: }
088:
089: public void setPackageName(String pkgName) {
090: this .packageName = pkgName;
091: }
092:
093: public String getPackageName() {
094: return this .packageName;
095: }
096:
097: public String getInterfaceClass() {
098: return this .interfaceClass;
099: }
100:
101: public void setInterfaceClass(String clzname) {
102: this .interfaceClass = clzname;
103: }
104:
105: public void setNameSpace(String ns) {
106: this .namespace = ns;
107: }
108:
109: public String getNameSpace() {
110: return this.namespace;
111: }
112: }
|