1
2
3
4 package org.andromda.cartridges.webservice.metafacades;
5
6 /***
7 * <p>
8 * Represents an web service WSDL enumeration type.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface WSDLEnumerationType
14 extends org.andromda.metafacades.uml.EnumerationFacade
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isWSDLEnumerationTypeMetaType();
23
24 /***
25 * <p>
26 * The name of the namespace to which this type belongs.
27 * </p>
28 */
29 public java.lang.String getNamespace();
30
31 /***
32 * <p>
33 * The namespace prefix used for this type, this will match the
34 * namespace prefix on the WebService.
35 * </p>
36 */
37 public java.lang.String getNamespacePrefix();
38
39 /***
40 * <p>
41 * The QName for this type, normally this name will just be the
42 * same name of the model element, however we can also add a prefix
43 * to the name through a namepace property.
44 * </p>
45 */
46 public java.lang.String getQName();
47
48 /***
49 * <p>
50 * The schema type for tihs WSDL type.
51 * </p>
52 */
53 public java.lang.String getSchemaType();
54
55 /***
56 * <p>
57 * Gets the schema type for this WSDL type. If 'withPrefix' is
58 * true then the schema type with
59 * </p>
60 * <p>
61 * the namespace prefix will be returned.
62 * </p>
63 */
64 public java.lang.String getSchemaType(boolean withPrefix, boolean preserveArray);
65
66 /***
67 * <p>
68 * The type name as a wrapped array type.
69 * </p>
70 */
71 public java.lang.String getWsdlArrayName();
72
73 /***
74 * <p>
75 * The configurable prefix to use for wrapped array types.
76 * </p>
77 */
78 public java.lang.String getWsdlArrayNamePrefix();
79
80 }