com.sleepycat.persist.impl
Class StoredModel
java.lang.Object
com.sleepycat.persist.model.EntityModel
com.sleepycat.persist.impl.StoredModel
class StoredModel
- extends EntityModel
The EntityModel used when a RawStore is opened. The metadata and raw type
information comes from the catalog directly, without using the current
class definitions.
- Author:
- Mark Hayes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoredModel
StoredModel(PersistCatalog catalog)
getClassMetadata
public ClassMetadata getClassMetadata(String className)
- Description copied from class:
EntityModel
- Returns the metadata for a given persistent class name, including proxy
classes and entity classes.
- Specified by:
getClassMetadata
in class EntityModel
- Returns:
- the metadata or null if the class is not persistent or does not
exist.
getEntityMetadata
public EntityMetadata getEntityMetadata(String className)
- Description copied from class:
EntityModel
- Returns the metadata for a given entity class name.
- Specified by:
getEntityMetadata
in class EntityModel
- Returns:
- the metadata or null if the class is not an entity class or does
not exist.
getKnownClasses
public Set<String> getKnownClasses()
- Description copied from class:
EntityModel
- Returns the names of all known persistent classes. A type becomes known
when an instance of the type is stored for the first time or metadata or
type information is queried for a specific class name.
- Specified by:
getKnownClasses
in class EntityModel
- Returns:
- an unmodifiable set of class names.
Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.