org.hibernate.tuple.entity
Class EntityMetamodel
java.lang.Object
org.hibernate.tuple.entity.EntityMetamodel
- All Implemented Interfaces:
- java.io.Serializable
public class EntityMetamodel
- extends java.lang.Object
- implements java.io.Serializable
Centralizes metamodel information about an entity.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntityMetamodel
public EntityMetamodel(PersistentClass persistentClass,
SessionFactoryImplementor sessionFactory)
getTuplizer
public EntityTuplizer getTuplizer(EntityMode entityMode)
getTuplizerOrNull
public EntityTuplizer getTuplizerOrNull(EntityMode entityMode)
guessEntityMode
public EntityMode guessEntityMode(java.lang.Object object)
getNaturalIdentifierProperties
public int[] getNaturalIdentifierProperties()
hasNaturalIdentifier
public boolean hasNaturalIdentifier()
hasImmutableNaturalId
public boolean hasImmutableNaturalId()
getSubclassEntityNames
public java.util.Set getSubclassEntityNames()
getSessionFactory
public SessionFactoryImplementor getSessionFactory()
getName
public java.lang.String getName()
getRootName
public java.lang.String getRootName()
getEntityType
public EntityType getEntityType()
getIdentifierProperty
public IdentifierProperty getIdentifierProperty()
getPropertySpan
public int getPropertySpan()
getVersionPropertyIndex
public int getVersionPropertyIndex()
getVersionProperty
public VersionProperty getVersionProperty()
getProperties
public StandardProperty[] getProperties()
getPropertyIndex
public int getPropertyIndex(java.lang.String propertyName)
getPropertyIndexOrNull
public java.lang.Integer getPropertyIndexOrNull(java.lang.String propertyName)
hasCollections
public boolean hasCollections()
hasMutableProperties
public boolean hasMutableProperties()
hasNonIdentifierPropertyNamedId
public boolean hasNonIdentifierPropertyNamedId()
hasLazyProperties
public boolean hasLazyProperties()
hasCascades
public boolean hasCascades()
isMutable
public boolean isMutable()
isSelectBeforeUpdate
public boolean isSelectBeforeUpdate()
isDynamicUpdate
public boolean isDynamicUpdate()
isDynamicInsert
public boolean isDynamicInsert()
getOptimisticLockMode
public int getOptimisticLockMode()
isPolymorphic
public boolean isPolymorphic()
getSuperclass
public java.lang.String getSuperclass()
isExplicitPolymorphism
public boolean isExplicitPolymorphism()
isInherited
public boolean isInherited()
hasSubclasses
public boolean hasSubclasses()
isLazy
public boolean isLazy()
setLazy
public void setLazy(boolean lazy)
isVersioned
public boolean isVersioned()
isAbstract
public boolean isAbstract()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPropertyNames
public java.lang.String[] getPropertyNames()
getPropertyTypes
public Type[] getPropertyTypes()
getPropertyLaziness
public boolean[] getPropertyLaziness()
getPropertyUpdateability
public boolean[] getPropertyUpdateability()
getPropertyCheckability
public boolean[] getPropertyCheckability()
getNonlazyPropertyUpdateability
public boolean[] getNonlazyPropertyUpdateability()
getPropertyInsertability
public boolean[] getPropertyInsertability()
getPropertyInsertGenerationInclusions
public ValueInclusion[] getPropertyInsertGenerationInclusions()
getPropertyUpdateGenerationInclusions
public ValueInclusion[] getPropertyUpdateGenerationInclusions()
getPropertyNullability
public boolean[] getPropertyNullability()
getPropertyVersionability
public boolean[] getPropertyVersionability()
getCascadeStyles
public CascadeStyle[] getCascadeStyles()
hasInsertGeneratedValues
public boolean hasInsertGeneratedValues()
hasUpdateGeneratedValues
public boolean hasUpdateGeneratedValues()
Copyright © 2008 Hibernate.org. All Rights Reserved.