1 19 package org.enhydra.zeus.binding; 20 21 import java.util.BitSet ; 22 import java.util.Vector ; 23 24 import org.enhydra.zeus.Binding; 26 27 39 public interface Property extends Binding { 40 41 42 public static final int ACCESS_PRIVATE = 1; 43 44 45 public static final int ACCESS_PROTECTED = 2; 46 47 48 public static final int ACCESS_PUBLIC = 3; 49 50 51 public static final int STORAGE_STATIC = 4; 52 53 54 public static final int MUTABILITY_VOLATILE = 5; 55 56 57 public static final int MUTABILITY_FINAL = 6; 58 59 60 public static final int MUTABILITY_SYNCHRONIZED = 7; 61 62 63 public static final int MUTABILITY_TRANSIENT = 8; 64 65 66 public static final int SOURCE_ATTLIST = 9; 67 68 69 public static final int SOURCE_ELEMENT = 10; 70 71 96 public void setModifier(BitSet modifier); 97 98 123 public BitSet getModifier(); 124 125 142 public String getModifierString(); 143 144 155 public void setIsCollection(boolean isCollection); 156 157 168 public boolean isCollection(); 169 170 178 public boolean hasDefaultValue(); 179 180 212 public void setDefaultValue(Object defaultValue); 213 214 224 public Object getDefaultValue(); 225 226 234 public boolean hasEnumeration(); 235 236 244 public void setEnumeration(Vector enumeration); 245 246 254 public Vector getEnumeration(); 255 256 } 257 | Popular Tags |