1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import java.util.Collection ; 23 24 29 public interface All extends ComplexExtensionDefinition, ComplexTypeDefinition, 30 LocalGroupDefinition,SchemaComponent { 31 32 public static final String ELEMENT_PROPERTY = "element"; public static final String ELEMENT_REFERENCE_PROPERTY = "elementReference"; public static final String MIN_OCCURS_PROPERTY = "minOccurs"; 36 37 41 boolean allowsFullMultiplicity(); 42 43 46 Occur.ZeroOne getMinOccurs(); 47 48 52 void setMinOccurs(Occur.ZeroOne occurs); 53 54 57 Occur.ZeroOne getMinOccursDefault(); 58 59 62 Occur.ZeroOne getMinOccursEffective(); 63 64 Collection <LocalElement> getElements(); 65 void addElement(LocalElement element); 66 void removeElement(LocalElement element); 67 68 Collection <ElementReference> getElementReferences(); 69 void addElementReference(ElementReference element); 70 void removeElementReference(ElementReference element); 71 } 72 | Popular Tags |