0
|
1 /*
|
|
2 * (c) Copyright IBM Corp 2001, 2005
|
|
3 */
|
|
4
|
|
5 package javax.wadls.extensions;
|
|
6
|
|
7 import javax.xml.namespace.*;
|
|
8
|
|
9 /**
|
|
10 * This interface should be implemented by classes intending to represent
|
|
11 * extensions.
|
|
12 *
|
|
13 * @author Matthew J. Duftler (duftler@us.ibm.com)
|
|
14 */
|
|
15 public interface ExtensibilityElement
|
|
16 {
|
|
17 /**
|
|
18 * Set the type of this extensibility element.
|
|
19 *
|
|
20 * @param elementType the type
|
|
21 */
|
|
22 public void setElementType(QName elementType);
|
|
23
|
|
24 /**
|
|
25 * Get the type of this extensibility element.
|
|
26 *
|
|
27 * @return the extensibility element's type
|
|
28 */
|
|
29 public QName getElementType();
|
|
30
|
|
31 /**
|
|
32 * Set whether or not the semantics of this extension
|
|
33 * are required. Relates to the wsdl:required attribute.
|
|
34 */
|
|
35 public void setRequired(Boolean required);
|
|
36
|
|
37 /**
|
|
38 * Get whether or not the semantics of this extension
|
|
39 * are required. Relates to the wsdl:required attribute.
|
|
40 */
|
|
41 public Boolean getRequired();
|
|
42 } |