Deprecated
since 6.0.
Use MappingMetamodel or
org.
instead. See org..
Metamodel contract.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public default CollectionPersister | Returns: The persisterThe role of the collection for which to retrieve the persister. role)
Deprecated
since 6.0. Use
Get the persister object for a collection role.
MappingMetamodel#getCollectionDescriptor instead
|
| public Map | Returns: The Map contains all collection persisters.
Deprecated
since 6.0. With no direct replacement; see
Get all collection persisters as a Map, which collection role as the key and the persister is the value.
MappingMetamodel#forEachCollectionDescriptor
and MappingMetamodel#streamCollectionDescriptors() instead
|
| public default EntityPersister | Returns: The entity persisterThe entity class entityClass)
Deprecated
since 6.0. Use
Locate the persister for an entity by the entity class.
MappingMetamodel#getEntityDescriptor instead
|
| public default EntityPersister | Returns: The persisterThe name of the entity for which to retrieve the persister. entityName)
Deprecated
since 6.0. Use
Locate the persister for an entity by the entity-name
MappingMetamodel#getEntityDescriptor instead
|
| public Map | Returns: The Map contains all entity persisters.
Deprecated
since 6.0. With no direct replacement; see
Get all entity persisters as a Map, which entity name its the key and the persister is the value.
MappingMetamodel#forEachEntityDescriptor
and MappingMetamodel#streamEntityDescriptors() instead
|
| public String[] | Returns: All the entity namesGet the names of all collections known to this Metamodel |
| public String[] | Returns: All the entity namesGet the names of all entities known to this Metamodel |
| public Set | Returns: set of all the collection roles in which the given entityName participates.The entity name for which to get the collection roles. entityName)
Deprecated
since 6.0. Use
Retrieves a set of all the collection roles in which the given entity is a participant, as either an
index or an element.
MappingMetamodelImplementor#getCollectionRolesByEntityParticipant
and MappingMetamodel#streamCollectionDescriptors() instead
|
| public Collection | getEntityNameResolvers()
Deprecated
since 6.0. Use
MappingMetamodelImplementor#getEntityNameResolvers instead
|
| close | back to summary |
|---|---|
| public void close() | |
| collectionPersister | back to summary |
|---|---|
| public default CollectionPersister collectionPersister(String role)
Get the persister object for a collection role.
| |
| collectionPersisters | back to summary |
|---|---|
| public Map Deprecated since 6.0. With no direct replacement; see Get all collection persisters as a Map, which collection role as the key and the persister is the value.
| |
| entityPersister | back to summary |
|---|---|
| public default EntityPersister entityPersister(Class<?> entityClass)
Locate the persister for an entity by the entity class.
| |
| entityPersister | back to summary |
|---|---|
| public default EntityPersister entityPersister(String entityName)
Locate the persister for an entity by the entity-name
| |
| entityPersisters | back to summary |
|---|---|
| public Map Deprecated since 6.0. With no direct replacement; see Get all entity persisters as a Map, which entity name its the key and the persister is the value.
| |
| getAllCollectionRoles | back to summary |
|---|---|
| public String[] getAllCollectionRoles() Get the names of all collections known to this Metamodel
| |
| getAllEntityNames | back to summary |
|---|---|
| public String[] getAllEntityNames() Get the names of all entities known to this Metamodel
| |
| getCollectionRolesByEntityParticipant | back to summary |
|---|---|
| public Set Deprecated since 6.0. Use Retrieves a set of all the collection roles in which the given entity is a participant, as either an index or an element.
| |
| getEntityNameResolvers | back to summary |
|---|---|
public Collection
| |