1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import java.util.Set ; 23 import org.netbeans.modules.xml.xam.dom.NamedComponentReference; 24 import org.netbeans.modules.xml.xam.Nameable; 25 26 30 public interface ElementReference extends Element, SequenceDefinition, 31 SchemaComponent { 32 public static final String MIN_OCCURS_PROPERTY = "minOccurs"; 33 public static final String MAX_OCCURS_PROPERTY = "maxOccurs"; 34 public static final String FORM_PROPERTY = "form"; 36 Form getForm(); 37 void setForm(Form form); 38 Form getFormDefault(); 39 Form getFormEffective(); 40 41 46 boolean allowsFullMultiplicity(); 47 48 String getMaxOccurs(); 49 void setMaxOccurs(String max); 50 String getMaxOccursDefault(); 51 String getMaxOccursEffective(); 52 53 Integer getMinOccurs(); 54 void setMinOccurs(Integer min); 55 int getMinOccursDefault(); 56 int getMinOccursEffective(); 57 58 NamedComponentReference<GlobalElement> getRef(); 59 void setRef(NamedComponentReference<GlobalElement> ref); 60 } 61 | Popular Tags |