Lines Matching refs:model
50 import com.sleepycat.persist.model.ClassMetadata;
51 import com.sleepycat.persist.model.DeleteAction;
52 import com.sleepycat.persist.model.EntityMetadata;
53 import com.sleepycat.persist.model.EntityModel;
54 import com.sleepycat.persist.model.FieldMetadata;
55 import com.sleepycat.persist.model.ModelInternal;
56 import com.sleepycat.persist.model.PrimaryKeyMetadata;
57 import com.sleepycat.persist.model.Relationship;
58 import com.sleepycat.persist.model.SecondaryKeyMetadata;
87 private EntityModel model;
118 model = config.getModel();
140 /* Open a read-only catalog that uses the stored model. */
141 if (model != null) {
143 ("A model may not be specified when opening a RawStore");
151 model, mutations, rawAccess, this);
153 /* Open the shared catalog that uses the current model. */
179 dbConfig, model, mutations, rawAccess, this);
199 * If there is no model parameter, use the default or stored model
202 model = catalog.getResolvedModel();
205 * Give the model a reference to the catalog to fully initialize the
206 * model. Only then may we initialize the Converter mutations, which
207 * themselves may call model methods and expect the model to be fully
210 ModelInternal.setCatalog(model, catalog);
212 converter.getConversion().initialize(model);
265 return model;
536 entityMeta = model.getEntityMetadata(entityClassName);
559 entityMeta = model.getEntityMetadata(entityClassName);
1109 EntityMetadata meta = model.getEntityMetadata(clsName);
1149 ClassMetadata meta = model.getClassMetadata(clsName);
1225 EntityMetadata meta = model.getEntityMetadata(entityClassName);