View Javadoc

1   //
2   // Attention: generated code (by Metafacade.vsl) - do not modify!
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 XSDAttribute
14      extends org.andromda.metafacades.uml.AttributeFacade
15  {
16  
17      /***
18       * Indicates the metafacade type (used for metafacade mappings).
19       *
20       * @return always <code>true</code>
21       */
22      public boolean isXSDAttributeMetaType();
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 of this attribute is an XML
45      * schema type.
46      * </p>
47      */
48      public boolean isOwnerSchemaType();
49  
50     /***
51      * <p>
52      * Returns true if this object represents an XSD attribute, false
53      * otherwise.
54      * </p>
55      */
56      public boolean isXsdAttribute();
57  
58     /***
59      * <p>
60      * Returns true if this object represents an XSD element, false
61      * otherwise.
62      * </p>
63      */
64      public boolean isXsdElement();
65  
66  }