1 24 package org.objectweb.jalisto.se.api; 25 26 import org.objectweb.jalisto.se.api.query.FieldDescription; 27 28 import java.util.Collection ; 29 30 public interface MetaRepository { 31 32 void defineClass(Session session, ClassDescription classMetaDescription); 33 34 ClassDescription getMetaData(String className); 35 36 void removeClass(Session session, String className); 37 38 void addField(Session session, String className, FieldDescription fieldDescription); 39 40 String [] getFieldNames(String className); 41 42 void renameField(Session session, String className, String oldFieldName, String newFieldName); 43 44 void removeField(Session session, String className, String fieldName); 45 46 Collection getAllClassNames(); 47 48 ClassDescription getPersistentClassMetaDescription(Object clid); 49 50 int getIndex(String className, String fieldName); 51 } 52 | Popular Tags |