1
2
3
4
5
6
7
8
9 package bexee.wsdl.extensions.partnerlinktype.impl;
10
11 import javax.wsdl.extensions.ExtensibilityElement;
12 import javax.xml.namespace.QName;
13
14 /***
15 * A superclass to be used by all WSDL extensibility elements.
16 *
17 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:18 $
18 * @author Patric Fornasier
19 * @author Pawel Kowalski
20 */
21 public class AbstractExtensibilityElement implements ExtensibilityElement {
22
23 private QName elementType;
24
25 private Boolean required;
26
27 /***
28 * Create an AbstractExtensibilityElement.
29 */
30 public AbstractExtensibilityElement(QName elementQType, Boolean required) {
31 this.elementType = elementQType;
32 this.required = required;
33 }
34
35 /***
36 * @return Returns the COMPLEX_TYPE.
37 */
38 public QName getElementType() {
39 return elementType;
40 }
41
42 /***
43 * @param COMPLEX_TYPE
44 * The COMPLEX_TYPE to set.
45 */
46 public void setElementType(QName elementType) {
47 this.elementType = elementType;
48 }
49
50 /***
51 * @return Returns the required.
52 */
53 public Boolean getRequired() {
54 return required;
55 }
56
57 /***
58 * @param required
59 * The required to set.
60 */
61 public void setRequired(Boolean required) {
62 this.required = required;
63 }
64 }