1
2
3
4
5
6
7
8
9 package bexee.wsdl.extensions.partnerlinktype.impl;
10
11 import javax.xml.namespace.QName;
12
13 import bexee.wsdl.extensions.partnerlinktype.PartnerLinkType;
14 import bexee.wsdl.extensions.partnerlinktype.PartnerLinkTypeConstants;
15 import bexee.wsdl.extensions.partnerlinktype.Role;
16
17 /***
18 * A default implementation of the <code>PartnerLinkType</code> BPEL extension
19 * to WSDL.
20 *
21 * @author Patric Fornasier
22 * @author Pawel Kowalski
23 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:18 $
24 */
25 public class PartnerLinkTypeImpl extends AbstractExtensibilityElement implements
26 PartnerLinkType {
27
28 private static final Boolean required = Boolean.TRUE;
29
30 private String name;
31
32 private Role myRole;
33
34 private Role partnerRole;
35
36 /***
37 * Create a new PartnerLinkTypeImpl instance.
38 */
39 public PartnerLinkTypeImpl() {
40 super(PartnerLinkTypeConstants.PLINK_TYPE_QNAME, required);
41 }
42
43 /***
44 * @return Returns the myRole.
45 */
46 public Role getMyRole() {
47 return myRole;
48 }
49
50 /***
51 * @param myRole
52 * The myRole to set.
53 */
54 public void setMyRole(Role myRole) {
55 this.myRole = myRole;
56 }
57
58 /***
59 * @return Returns the name.
60 */
61 public String getName() {
62 return name;
63 }
64
65 /***
66 * @param name
67 * The name to set.
68 */
69 public void setName(String name) {
70 this.name = name;
71 }
72
73 /***
74 * @return Returns the partnerRole.
75 */
76 public Role getPartnerRole() {
77 return partnerRole;
78 }
79
80 /***
81 * @param partnerRole
82 * The partnerRole to set.
83 */
84 public void setPartnerRole(Role partnerRole) {
85 this.partnerRole = partnerRole;
86 }
87
88 public void setElementType(QName elementType) {
89
90
91
92 }
93
94 public void setRequired(Boolean required) {
95
96
97
98 }
99 }