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