1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import java.util.Collection ; 23 24 28 public interface Choice extends ComplexExtensionDefinition, 29 ComplexTypeDefinition, SequenceDefinition, LocalGroupDefinition, SchemaComponent { 30 public static final String MAX_OCCURS_PROPERTY = "maxOccurs"; public static final String MIN_OCCURS_PROPERTY = "minOccurs"; public static final String CHOICE_PROPERTY = "choice"; public static final String GROUP_REF_PROPERTY = "groupReference"; public static final String SEQUENCE_PROPERTY = "sequence"; public static final String ANY_PROPERTY = "any"; public static final String LOCAL_ELEMENT_PROPERTY = "localElememnt"; public static final String ELEMENT_REFERENCE_PROPERTY = "elementReference"; 39 Collection <Choice> getChoices(); 40 void addChoice(Choice choice); 41 void removeChoice(Choice choice); 42 43 Collection <GroupReference> getGroupReferences(); 44 void addGroupReference(GroupReference ref); 45 void removeGroupReference(GroupReference ref); 46 47 Collection <Sequence> getSequences(); 48 void addSequence(Sequence seq); 49 void removeSequence(Sequence seq); 50 51 Collection <AnyElement> getAnys(); 52 void addAny(AnyElement any); 53 void removeAny(AnyElement any); 54 55 Collection <LocalElement> getLocalElements(); 56 void addLocalElement(LocalElement element); 57 void removeLocalElement(LocalElement element); 58 59 Collection <ElementReference> getElementReferences(); 60 void addElementReference(ElementReference element); 61 void removeElementReference(ElementReference element); 62 63 68 public Cardinality getCardinality(); 69 70 } 71 | Popular Tags |