1 // license-header java merge-point
2 //
3 // Attention: generated code (by Metafacade.vsl) - do not modify!
4 //
5 package org.andromda.cartridges.webservice.metafacades;
6
7 import java.util.Collection;
8 import org.andromda.metafacades.uml.PackageFacade;
9
10 /**
11 * TODO: Model Documentation for WebServicePackage
12 *
13 * Metafacade interface to be used by AndroMDA cartridges.
14 */
15 public interface WebServicePackage
16 extends PackageFacade
17 {
18 /**
19 * Indicates the metafacade type (used for metafacade mappings).
20 *
21 * @return boolean always <code>true</code>
22 */
23 public boolean isWebServicePackageMetaType();
24
25 /**
26 * Represents an operation on a web service.
27 * @return Collection<WebServiceOperation>
28 */
29 public Collection<WebServiceOperation> getAllowedOperations();
30
31 /**
32 * TODO: Model Documentation for
33 * WebServicePackage.attributeFormDefault
34 * @return String
35 */
36 public String getAttributeFormDefault();
37
38 /**
39 * TODO: Model Documentation for
40 * WebServicePackage.elementFormDefault
41 * @return String
42 */
43 public String getElementFormDefault();
44
45 /**
46 * TODO: Model Documentation for
47 * WebServicePackage.namespace
48 * @return String
49 */
50 public String getNamespace();
51
52 /**
53 * Package Abbreviation
54 * @return String
55 */
56 public String getPackageAbbr();
57
58 /**
59 * Packages referenced by this package, optionally following the inheritance hierarchy.
60 * @return Collection<WebServicePackage>
61 */
62 public Collection<WebServicePackage> getPackageReferences();
63
64 /**
65 * TODO: Model Documentation for
66 * WebServicePackage.getPackageReferences
67 * @param follow boolean
68 * @return Collection
69 */
70 public Collection getPackageReferences(boolean follow);
71
72 /**
73 * Creates a list of referenced packages, following the inheritance hierarchy.
74 * @return Collection<WebServicePackage>
75 */
76 public Collection<WebServicePackage> getPackages();
77
78 /**
79 * Get the schema location for the generated schema file. By default this is the service package
80 * name, without the leading http://, with all namespace customizations replaced by '.', in the
81 * xsd/ directory beneath the wsdl directory:
82 * xsd/${service.package.namespace.substring(7).replaceAll('/','.')}xsd
83 * @return String
84 */
85 public String getSchemaLocation();
86
87 /**
88 * If this package contains XML elements referenced by other packages that are used by any
89 * webservices, if using CXF/JAX-WS and schemas are imported.
90 * @return boolean
91 */
92 public boolean isMissingXmlSchema();
93 }