1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import java.util.Collection ; 23 import org.netbeans.modules.xml.xam.dom.NamedComponentReference; 24 25 29 public interface SimpleRestriction extends SchemaComponent { 30 public static final String ENUMERATION_PROPERTY = "enumerations"; 31 public static final String PATTERN_PROPERTY = "patterns"; 32 public static final String MIN_EXCLUSIVE_PROPERTY = "minExclusives"; 33 public static final String MIN_LENGTH_PROPERTY = "minLengths"; 34 public static final String MAX_LENGTH_PROPERTY = "maxLengths"; 35 public static final String FRACTION_DIGITS_PROPERTY = "fractionDigits"; 36 public static final String WHITESPACE_PROPERTY = "whitespaces"; 37 public static final String MAX_INCLUSIVE_PROPERTY = "maxInclusives"; 38 public static final String TOTAL_DIGITS_PROPERTY = "totalDigits"; 39 public static final String LENGTH_PROPERTY = "lengths"; 40 public static final String MIN_INCLUSIVE_PROPERTY = "minInclusives"; 41 public static final String MAX_EXCLUSIVE_PROPERTY = "maxExclusives"; 42 public static final String BASE_PROPERTY = "base"; 43 public static final String INLINETYPE_PROPERTY = "inlinetype"; 44 45 Collection <TotalDigits> getTotalDigits(); 46 void addTotalDigit(TotalDigits td); 47 void removeTotalDigit(TotalDigits td); 48 49 Collection <MinExclusive> getMinExclusives(); 50 void addMinExclusive(MinExclusive me); 51 void removeMinExclusive(MinExclusive me); 52 53 Collection <MinInclusive> getMinInclusives(); 54 void addMinInclusive(MinInclusive me); 55 void removeMinInclusive(MinInclusive me); 56 57 Collection <MinLength> getMinLengths(); 58 void addMinLength(MinLength ml); 59 void removeMinLength(MinLength ml); 60 61 Collection <MaxLength> getMaxLengths(); 62 void addMaxLength(MaxLength ml); 63 void removeMaxLength(MaxLength ml); 64 65 Collection <Pattern> getPatterns(); 66 void addPattern(Pattern p); 67 void removePattern(Pattern p); 68 69 Collection <MaxExclusive> getMaxExclusives(); 70 void addMaxExclusive(MaxExclusive me); 71 void removeMaxExclusive(MaxExclusive me); 72 73 Collection <MaxInclusive> getMaxInclusives(); 74 void addMaxInclusive(MaxInclusive me); 75 void removeMaxInclusive(MaxInclusive me); 76 77 Collection <Length> getLengths(); 78 void addLength(Length me); 79 void removeLength(Length me); 80 81 Collection <Whitespace> getWhitespaces(); 82 void addWhitespace(Whitespace me); 83 void removeWhitespace(Whitespace me); 84 85 Collection <FractionDigits> getFractionDigits(); 86 void addFractionDigits(FractionDigits fd); 87 void removeFractionDigits(FractionDigits fd); 88 89 Collection <Enumeration> getEnumerations(); 90 void addEnumeration(Enumeration fd); 91 void removeEnumeration(Enumeration fd); 92 93 LocalSimpleType getInlineType(); 94 void setInlineType(LocalSimpleType aSimpleType); 95 96 } 97 | Popular Tags |