| java.lang.Object com.bm.introspectors.relations.GlobalPrimaryKeyStore
GlobalPrimaryKeyStore | public class GlobalPrimaryKeyStore (Code) | | Global store for storing the primary key properties of entity classes.
Such a global store is necessary to avoid cyclic dependencies while processing relations.
author: Peter Doornbosch |
getPrimaryKeyInfo | public Set<Property> getPrimaryKeyInfo(Class entityClass)(Code) | | Retrieves primary key info.
Parameters: entityClass - one or more (in case of a composite primary key) properties that specify theprimary key(s), or null if no primary key info is registered for the given class. |
put | public void put(Class entityClass, Map<Property, PrimaryKeyInfo> pkFieldInfo)(Code) | | Stores primary key info of a given entity class.
Parameters: entityClass - the entity class Parameters: pkFieldInfo - the primary key property and field info; usually the map will containjust one entry, but it might contain more entries in case of a composite primary key. |
|
|