Deprecated
for removal since 6.
Replaced by EntityMappingType. EntityMetamodel
was a first attempt at what has become EntityMappingType
| Modifier and Type | Field and Description |
|---|---|
| private final BytecodeEnhancementMetadata | |
| private final CascadeStyle[] | |
| private final boolean | |
| private final boolean | |
| private final Map | |
| private EntityType | |
| private final boolean | |
| private final Generator[] | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final boolean | |
| private final IdentifierProperty | identifierAttribute
Deprecated
as a consequence of
IdentifierProperty being deprecated.
|
| private final boolean | |
| private final boolean | |
| private boolean | |
| private static final CoreMessageLogger | |
| private final boolean | |
| private final BitSet | |
| private final String | |
| private final int[] | |
| public static final int | |
| private final boolean[] | |
| private final OptimisticLockStyle | |
| private final boolean | |
| private final NonIdentifierAttribute[] | properties
Deprecated
as a consequence of
NonIdentifierAttribute being deprecated.
|
| private final boolean[] | |
| private final Map | |
| private final boolean[] | |
| private final boolean[] | |
| private final String[] | |
| private final boolean[] | |
| private final int | |
| private final Type[] | |
| private final boolean[] | |
| private final boolean[] | |
| private final String | |
| private final boolean | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final Set | |
| private final int | |
| private final String | |
| private final boolean | |
| private final BeforeExecutionGenerator | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, PersisterCreationContext creationContext)
Deprecated
since 6.0.
|
| public | EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext)
Deprecated
as a consequence of
RuntimeModelCreationContext being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private static Generator | buildGenerator(final String entityName, final Property mappingProperty, final RuntimeModelCreationContext context)
Deprecated
as a consequence of
RuntimeModelCreationContext being deprecated.
|
| public String | Returns: The mapped entity-name, or null if no such mapping was found.The class for which to resolve the entity-name. inheritanceClass)Return the entity-name mapped to the given class within our inheritance hierarchy, if any. |
| private static boolean | |
| public BytecodeEnhancementMetadata | |
| public CascadeStyle[] | |
| public EntityType | |
| public Generator[] | |
| public IdentifierProperty | |
| public BitSet | |
| public String | |
| public int[] | |
| public boolean[] | |
| public OptimisticLockStyle | |
| public NonIdentifierAttribute[] | |
| public boolean[] | |
| public int | |
| public Integer | |
| public boolean[] | |
| public boolean[] | |
| public String[] | |
| public boolean[] | |
| public int | |
| public Type[] | |
| public boolean[] | |
| public boolean[] | |
| public String | |
| public SessionFactoryImplementor | |
| public Set | |
| public int | |
| public String | |
| public BeforeExecutionGenerator | |
| public VersionProperty | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private static boolean | |
| private static boolean | indicatesOwnedCollection(Type type, MetadataImplementor metadata)
Deprecated
as a consequence of
MetadataImplementor being deprecated.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if one of the properties belonging to the natural id
is generated during the execution of an insert statement
|
| public boolean | |
| public boolean | |
| public boolean | |
| private void | |
| private String | |
| public void | |
| public String | |
| private void |
| bytecodeEnhancementMetadata | back to summary |
|---|---|
| private final BytecodeEnhancementMetadata bytecodeEnhancementMetadata | |
| cascadeStyles | back to summary |
|---|---|
| private final CascadeStyle[] cascadeStyles | |
| dynamicInsert | back to summary |
|---|---|
| private final boolean dynamicInsert | |
| dynamicUpdate | back to summary |
|---|---|
| private final boolean dynamicUpdate | |
| entityNameByInheritanceClassMap | back to summary |
|---|---|
| private final Map<Class<?>, String> entityNameByInheritanceClassMap | |
| entityType | back to summary |
|---|---|
| private EntityType entityType | |
| explicitPolymorphism | back to summary |
|---|---|
| private final boolean explicitPolymorphism | |
| generators | back to summary |
|---|---|
| private final Generator[] generators | |
| hasCacheableNaturalId | back to summary |
|---|---|
| private final boolean hasCacheableNaturalId | |
| hasCascadeDelete | back to summary |
|---|---|
| private final boolean hasCascadeDelete | |
| hasCascades | back to summary |
|---|---|
| private final boolean hasCascades | |
| hasCollections | back to summary |
|---|---|
| private final boolean hasCollections | |
| hasImmutableNaturalId | back to summary |
|---|---|
| private final boolean hasImmutableNaturalId | |
| hasInsertGeneratedValues | back to summary |
|---|---|
| private final boolean hasInsertGeneratedValues | |
| hasLazyProperties | back to summary |
|---|---|
| private final boolean hasLazyProperties | |
| hasNonIdentifierPropertyNamedId | back to summary |
|---|---|
| private final boolean hasNonIdentifierPropertyNamedId | |
| hasOwnedCollections | back to summary |
|---|---|
| private final boolean hasOwnedCollections | |
| hasPreInsertGeneratedValues | back to summary |
|---|---|
| private final boolean hasPreInsertGeneratedValues | |
| hasPreUpdateGeneratedValues | back to summary |
|---|---|
| private final boolean hasPreUpdateGeneratedValues | |
| hasSubclasses | back to summary |
|---|---|
| private final boolean hasSubclasses | |
| hasUpdateGeneratedValues | back to summary |
|---|---|
| private final boolean hasUpdateGeneratedValues | |
| identifierAttribute | back to summary |
|---|---|
| private final IdentifierProperty identifierAttribute
Deprecated as a consequence of | |
| inherited | back to summary |
|---|---|
| private final boolean inherited | |
| isAbstract | back to summary |
|---|---|
| private final boolean isAbstract | |
| lazy | back to summary |
|---|---|
| private boolean lazy | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| mutable | back to summary |
|---|---|
| private final boolean mutable | |
| mutablePropertiesIndexes | back to summary |
|---|---|
| private final BitSet mutablePropertiesIndexes | |
| name | back to summary |
|---|---|
| private final String name | |
| naturalIdPropertyNumbers | back to summary |
|---|---|
| private final int[] naturalIdPropertyNumbers | |
| NO_VERSION_INDX | back to summary |
|---|---|
| public static final int NO_VERSION_INDX | |
| nonlazyPropertyUpdateability | back to summary |
|---|---|
| private final boolean[] nonlazyPropertyUpdateability | |
| optimisticLockStyle | back to summary |
|---|---|
| private final OptimisticLockStyle optimisticLockStyle | |
| polymorphic | back to summary |
|---|---|
| private final boolean polymorphic | |
| properties | back to summary |
|---|---|
| private final NonIdentifierAttribute[] properties
Deprecated as a consequence of | |
| propertyCheckability | back to summary |
|---|---|
| private final boolean[] propertyCheckability | |
| propertyIndexes | back to summary |
|---|---|
| private final Map<String, Integer> propertyIndexes | |
| propertyInsertability | back to summary |
|---|---|
| private final boolean[] propertyInsertability | |
| propertyLaziness | back to summary |
|---|---|
| private final boolean[] propertyLaziness | |
| propertyNames | back to summary |
|---|---|
| private final String[] propertyNames | |
| propertyNullability | back to summary |
|---|---|
| private final boolean[] propertyNullability | |
| propertySpan | back to summary |
|---|---|
| private final int propertySpan | |
| propertyTypes | back to summary |
|---|---|
| private final Type[] propertyTypes | |
| propertyUpdateability | back to summary |
|---|---|
| private final boolean[] propertyUpdateability | |
| propertyVersionability | back to summary |
|---|---|
| private final boolean[] propertyVersionability | |
| rootName | back to summary |
|---|---|
| private final String rootName | |
| selectBeforeUpdate | back to summary |
|---|---|
| private final boolean selectBeforeUpdate | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| subclassEntityNames | back to summary |
|---|---|
| private final Set<String> subclassEntityNames | |
| subclassId | back to summary |
|---|---|
| private final int subclassId | |
| superclass | back to summary |
|---|---|
| private final String superclass | |
| versioned | back to summary |
|---|---|
| private final boolean versioned | |
| versionGenerator | back to summary |
|---|---|
| private final BeforeExecutionGenerator versionGenerator | |
| versionPropertyIndex | back to summary |
|---|---|
| private final int versionPropertyIndex | |
| EntityMetamodel | back to summary |
|---|---|
| public EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, PersisterCreationContext creationContext)
Deprecated since 6.0.
| |
| EntityMetamodel | back to summary |
|---|---|
| public EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext)
Deprecated as a consequence of | |
| buildGenerator | back to summary |
|---|---|
| private static Generator buildGenerator(final String entityName, final Property mappingProperty, final RuntimeModelCreationContext context)
Deprecated as a consequence of | |
| findEntityNameByEntityClass | back to summary |
|---|---|
| public String findEntityNameByEntityClass(Class<?> inheritanceClass) Return the entity-name mapped to the given class within our inheritance hierarchy, if any. | |
| generatedWithNoParameter | back to summary |
|---|---|
| private static boolean generatedWithNoParameter(Generator generator) | |
| getBytecodeEnhancementMetadata | back to summary |
|---|---|
| public BytecodeEnhancementMetadata getBytecodeEnhancementMetadata() | |
| getCascadeStyles | back to summary |
|---|---|
| public CascadeStyle[] getCascadeStyles() | |
| getEntityType | back to summary |
|---|---|
| public EntityType getEntityType() | |
| getGenerators | back to summary |
|---|---|
| public Generator[] getGenerators() | |
| getIdentifierProperty | back to summary |
|---|---|
| public IdentifierProperty getIdentifierProperty()
Deprecated as a consequence of | |
| getMutablePropertiesIndexes | back to summary |
|---|---|
| public BitSet getMutablePropertiesIndexes() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getNaturalIdentifierProperties | back to summary |
|---|---|
| public int[] getNaturalIdentifierProperties() | |
| getNonlazyPropertyUpdateability | back to summary |
|---|---|
| public boolean[] getNonlazyPropertyUpdateability() | |
| getOptimisticLockStyle | back to summary |
|---|---|
| public OptimisticLockStyle getOptimisticLockStyle() | |
| getProperties | back to summary |
|---|---|
| public NonIdentifierAttribute[] getProperties()
Deprecated as a consequence of | |
| getPropertyCheckability | back to summary |
|---|---|
| public boolean[] getPropertyCheckability() | |
| getPropertyIndex | back to summary |
|---|---|
| public int getPropertyIndex(String propertyName) | |
| getPropertyIndexOrNull | back to summary |
|---|---|
| public Integer getPropertyIndexOrNull(String propertyName) | |
| getPropertyInsertability | back to summary |
|---|---|
| public boolean[] getPropertyInsertability() | |
| getPropertyLaziness | back to summary |
|---|---|
| public boolean[] getPropertyLaziness() | |
| getPropertyNames | back to summary |
|---|---|
| public String[] getPropertyNames() | |
| getPropertyNullability | back to summary |
|---|---|
| public boolean[] getPropertyNullability() | |
| getPropertySpan | back to summary |
|---|---|
| public int getPropertySpan() | |
| getPropertyTypes | back to summary |
|---|---|
| public Type[] getPropertyTypes() | |
| getPropertyUpdateability | back to summary |
|---|---|
| public boolean[] getPropertyUpdateability() | |
| getPropertyVersionability | back to summary |
|---|---|
| public boolean[] getPropertyVersionability() | |
| getRootName | back to summary |
|---|---|
| public String getRootName() | |
| getSessionFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getSessionFactory()
Deprecated as a consequence of | |
| getSubclassEntityNames | back to summary |
|---|---|
| public Set | |
| getSubclassId | back to summary |
|---|---|
| public int getSubclassId() | |
| getSuperclass | back to summary |
|---|---|
| public String getSuperclass() | |
| getVersionGenerator | back to summary |
|---|---|
| public BeforeExecutionGenerator getVersionGenerator() | |
| getVersionProperty | back to summary |
|---|---|
| public VersionProperty getVersionProperty()
Deprecated as a consequence of | |
| getVersionPropertyIndex | back to summary |
|---|---|
| public int getVersionPropertyIndex() | |
| hasCascadeDelete | back to summary |
|---|---|
| public boolean hasCascadeDelete() | |
| hasCascades | back to summary |
|---|---|
| public boolean hasCascades() | |
| hasCollections | back to summary |
|---|---|
| public boolean hasCollections() | |
| hasImmutableNaturalId | back to summary |
|---|---|
| public boolean hasImmutableNaturalId() | |
| hasInsertGeneratedValues | back to summary |
|---|---|
| public boolean hasInsertGeneratedValues() | |
| hasLazyProperties | back to summary |
|---|---|
| public boolean hasLazyProperties() | |
| hasMutableProperties | back to summary |
|---|---|
| public boolean hasMutableProperties() | |
| hasNaturalIdentifier | back to summary |
|---|---|
| public boolean hasNaturalIdentifier() | |
| hasNonIdentifierPropertyNamedId | back to summary |
|---|---|
| public boolean hasNonIdentifierPropertyNamedId() | |
| hasOwnedCollections | back to summary |
|---|---|
| public boolean hasOwnedCollections() | |
| hasPreInsertGeneratedValues | back to summary |
|---|---|
| public boolean hasPreInsertGeneratedValues() | |
| hasPreUpdateGeneratedValues | back to summary |
|---|---|
| public boolean hasPreUpdateGeneratedValues() | |
| hasSubclasses | back to summary |
|---|---|
| public boolean hasSubclasses() | |
| hasUpdateGeneratedValues | back to summary |
|---|---|
| public boolean hasUpdateGeneratedValues() | |
| indicatesCollection | back to summary |
|---|---|
| private static boolean indicatesCollection(Type type) | |
| indicatesOwnedCollection | back to summary |
|---|---|
| private static boolean indicatesOwnedCollection(Type type, MetadataImplementor metadata)
Deprecated as a consequence of | |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() | |
| isDynamicInsert | back to summary |
|---|---|
| public boolean isDynamicInsert() | |
| isDynamicUpdate | back to summary |
|---|---|
| public boolean isDynamicUpdate() | |
| isExplicitPolymorphism | back to summary |
|---|---|
| public boolean isExplicitPolymorphism() | |
| isInherited | back to summary |
|---|---|
| public boolean isInherited() | |
| isInstrumented | back to summary |
|---|---|
| public boolean isInstrumented() Whether this class can be lazy (ie intercepted) | |
| isLazy | back to summary |
|---|---|
| public boolean isLazy() | |
| isMutable | back to summary |
|---|---|
| public boolean isMutable() | |
| isNaturalIdentifierCached | back to summary |
|---|---|
| public boolean isNaturalIdentifierCached() | |
| isNaturalIdentifierInsertGenerated | back to summary |
|---|---|
public boolean isNaturalIdentifierInsertGenerated()
| |
| isPolymorphic | back to summary |
|---|---|
| public boolean isPolymorphic() | |
| isSelectBeforeUpdate | back to summary |
|---|---|
| public boolean isSelectBeforeUpdate() | |
| isVersioned | back to summary |
|---|---|
| public boolean isVersioned() | |
| mapPropertyToIndex | back to summary |
|---|---|
| private void mapPropertyToIndex(Property property, int i) | |
| propertyName | back to summary |
|---|---|
| private String propertyName(Property property) | |
| setLazy | back to summary |
|---|---|
| public void setLazy(boolean lazy) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| verifyNaturalIdProperty | back to summary |
|---|---|
| private void verifyNaturalIdProperty(Property property) | |