1 23 24 26 27 29 package com.sun.jdo.api.persistence.enhancer.meta; 30 31 32 34 35 39 41 public interface ExtendedJDOMetaData 42 extends JDOMetaData 43 { 44 47 int CHECK_READ = 0x01; 48 int MEDIATE_READ = 0x02; 49 int CHECK_WRITE = 0x04; 50 int MEDIATE_WRITE = 0x08; 51 int SERIALIZABLE = 0x10; 52 53 58 59 public String [] getKnownClasses () 60 throws JDOMetaDataUserException, 61 JDOMetaDataFatalError; 62 63 64 71 72 public String [] getKnownFields (String classname) 73 throws JDOMetaDataUserException, 74 JDOMetaDataFatalError; 75 76 77 85 86 public String getFieldType (String classname, 87 String fieldname) 88 throws JDOMetaDataUserException, 89 JDOMetaDataFatalError; 90 91 92 102 103 public int getClassModifiers (String classname) 104 throws JDOMetaDataUserException, 105 JDOMetaDataFatalError; 106 107 108 119 120 public int getFieldModifiers (String classname, 121 String fieldname) 122 throws JDOMetaDataUserException, 123 JDOMetaDataFatalError; 124 125 126 137 138 public String getKeyClass(String classPath) 139 throws JDOMetaDataUserException, JDOMetaDataFatalError; 140 141 142 160 161 public boolean isKnownNonManagedField(String classPath, 162 String fieldName, 163 String fieldSig) 164 throws JDOMetaDataUserException, JDOMetaDataFatalError; 165 166 167 187 188 public boolean isManagedField(String classPath, String fieldName) 189 throws JDOMetaDataUserException, JDOMetaDataFatalError; 190 191 192 208 209 public boolean isKeyField(String classPath, String fieldName) 210 throws JDOMetaDataUserException, JDOMetaDataFatalError; 211 212 213 247 248 public int getFieldFlags(String classPath, String fieldName) 249 throws JDOMetaDataUserException, JDOMetaDataFatalError; 250 251 252 261 262 public int[] getFieldFlags(String classPath, String [] fieldNames) 263 throws JDOMetaDataUserException, JDOMetaDataFatalError; 264 265 266 273 274 public String [] getFieldType(String classname, 275 String [] fieldnames) 276 throws JDOMetaDataUserException, JDOMetaDataFatalError; 277 278 279 289 290 public int[] getFieldNo(String classPath, String [] fieldNames) 291 throws JDOMetaDataUserException, JDOMetaDataFatalError; 292 293 294 302 303 public String [] getKeyFields(String classPath) 304 throws JDOMetaDataUserException, JDOMetaDataFatalError; 305 306 307 319 320 public String getPersistenceCapableSuperClass(String classPath) 321 throws JDOMetaDataUserException, JDOMetaDataFatalError; 322 323 324 338 339 public String getSuperKeyClass(String classPath) 340 throws JDOMetaDataUserException, JDOMetaDataFatalError; 341 342 } 344 345 | Popular Tags |