1
2
3
4 package org.andromda.cartridges.xmlschema.metafacades;
5
6 /***
7 * <p>
8 * Can be either an XSD attribute or element.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface XSDAssociationEnd
14 extends org.andromda.metafacades.uml.AssociationEndFacade
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isXSDAssociationEndMetaType();
23
24 /***
25 * <p>
26 * Gets the maximum amount this element can occur within an XML
27 * Schema complex type (if the object represents an attribute this
28 * value will be null).
29 * </p>
30 */
31 public java.lang.String getMaxOccurs();
32
33 /***
34 * <p>
35 * Returns the minimum amount that this object can occur with an
36 * XML Schema complex type (if the object represents an attribute
37 * this value will be null).
38 * </p>
39 */
40 public java.lang.String getMinOccurs();
41
42 /***
43 * <p>
44 * Indicates whether or not the owner is a schema type.
45 * </p>
46 */
47 public boolean isOwnerSchemaType();
48
49 }