01: package org.objectweb.celtix.wsdl;
02:
03: import javax.wsdl.extensions.ExtensibilityElement;
04: import javax.xml.bind.annotation.XmlTransient;
05: import javax.xml.namespace.QName;
06:
07: /**
08: * Implements the <code>ExtensibilityElement</code> interface.
09: */
10: public class TExtensibilityElementImpl extends TExtensibilityElement
11: implements ExtensibilityElement {
12:
13: @XmlTransient()
14: QName elementType;
15:
16: /**
17: * Returns the type of this extensibility element.
18: * @return QName the type of this element.
19: */
20: public QName getElementType() {
21: return elementType;
22: }
23:
24: /**
25: * Sets the type of this extensibility element.
26: * @param type QName the type of this element.
27: */
28: public void setElementType(QName type) {
29: elementType = type;
30: }
31:
32: /**
33: * Get whether or not the semantics of this extension are required.
34: * Relates to the wsdl:required attribute.
35: * @return Boolean
36: */
37: public Boolean getRequired() {
38: return isRequired();
39: }
40:
41: public void setRequired(Boolean value) {
42: this.required = value;
43: }
44:
45: }
|