KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > wsdl > TExtensibilityElementImpl


1 package org.objectweb.celtix.wsdl;
2
3
4 import javax.wsdl.extensions.ExtensibilityElement;
5 import javax.xml.bind.annotation.XmlTransient;
6 import javax.xml.namespace.QName JavaDoc;
7
8 /**
9  * Implements the <code>ExtensibilityElement</code> interface.
10  */

11 public class TExtensibilityElementImpl
12     extends TExtensibilityElement
13     implements ExtensibilityElement {
14
15     @XmlTransient()
16     QName JavaDoc elementType;
17
18     /**
19      * Returns the type of this extensibility element.
20      * @return QName the type of this element.
21      */

22     public QName JavaDoc getElementType() {
23         return elementType;
24     }
25     
26     /**
27      * Sets the type of this extensibility element.
28      * @param type QName the type of this element.
29      */

30     public void setElementType(QName JavaDoc type) {
31         elementType = type;
32     }
33
34     /**
35      * Get whether or not the semantics of this extension are required.
36      * Relates to the wsdl:required attribute.
37      * @return Boolean
38      */

39     public Boolean JavaDoc getRequired() {
40         return isRequired();
41     }
42     public void setRequired(Boolean JavaDoc value) {
43         this.required = value;
44     }
45
46 }
47
Popular Tags