Top Description Fields Constructors Methods
org.hibernate.mapping

public Class RootClass

extends PersistentClass
implements TableOwner
Class Inheritance
All Implemented Interfaces
org.hibernate.mapping.TableOwner
Imports
java.io.Serializable, java.util.HashSet, .Iterator, .Set, org.slf4j.LoggerFactory, org.hibernate.MappingException, org.hibernate.engine.Mapping, org.hibernate.util.ReflectHelper, .SingletonIterator

The root class of an inheritance hierarchy
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private String
private String
private Property
private Property
public static final String
public static final String
private Value
private boolean
private boolean
private Class<T>
private boolean
private boolean
private KeyValue
private Property
private boolean
private boolean
private int
private boolean
private Table
private Property
private String
Inherited from org.hibernate.mapping.PersistentClass:
NOT_NULL_DISCRIMINATOR_MAPPINGNULL_DISCRIMINATOR_MAPPINGoptimisticLockModesynchronizedTables

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
public void
private void
public String
public String
public Property
public Property
public Value
public Class<T>
public KeyValue
public Property
public Set<E>
public KeyValue
public Iterator<E>
public int
public Iterator<E>
public RootClass
public Table
public int
public PersistentClass
public Set<E>
public Table
public Iterator<E>
public Property
public String
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
pack-priv int
public void
setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)

public void
setCacheRegionName(String cacheRegionName)

public void
setDeclaredIdentifierProperty(Property declaredIdentifierProperty)

public void
setDeclaredVersion(Property declaredVersion)

public void
setDiscriminator(Value discriminator)

public void
setDiscriminatorInsertable(boolean insertable)

public void
setEmbeddedIdentifier(boolean embeddedIdentifier)

public void
public void
setExplicitPolymorphism(boolean explicitPolymorphism)

public void
setForceDiscriminator(boolean forceDiscriminator)

public void
setIdentifier(KeyValue identifier)

public void
setIdentifierProperty(Property identifierProperty)

public void
setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)

public void
setMutable(boolean mutable)

public void
setPolymorphic(boolean polymorphic)

public void
public void
public void
setWhere(String string)

public void
Inherited from org.hibernate.mapping.PersistentClass:
addFilteraddJoinaddMappedsuperclassPropertyaddPropertyaddSubclassJoinaddSubclassPropertyaddSubclassTableaddSynchronizedTableaddTuplizercheckColumnDuplicationcheckColumnDuplicationcheckPropertyColumnDuplicationcreatePrimaryKeygetBatchSizegetClassNamegetCustomSQLDeletegetCustomSQLDeleteCheckStylegetCustomSQLInsertgetCustomSQLInsertCheckStylegetCustomSQLUpdategetCustomSQLUpdateCheckStylegetDeclaredIdentifierMappergetDeclaredPropertyIteratorgetDirectSubclassesgetDiscriminatorColumnIteratorgetDiscriminatorValuegetEntityNamegetFilterMapgetIdentifierMappergetIdentityTablegetJoinClosureIteratorgetJoinClosureSpangetJoinIteratorgetJoinNumbergetJpaEntityNamegetLoaderNamegetMappedClassgetMetaAttributegetMetaAttributesgetNodeNamegetNonDuplicatedPropertyIteratorgetPropertygetPropertyClosureSpangetPropertyIteratorgetProxyInterfacegetProxyInterfaceNamegetRecursivePropertygetReferenceablePropertyIteratorgetReferencedPropertygetSubclassClosureIteratorgetSubclassIteratorgetSubclassJoinClosureIteratorgetSubclassPropertyClosureIteratorgetSubclassSpangetSubclassTableClosureIteratorgetSuperMappedSuperclassgetTemporaryIdTableDDLgetTemporaryIdTableNamegetTuplizerImplClassNamegetTuplizerMapgetUnjoinedPropertyIteratorhasDom4jRepresentationhasIdentifierMapperhasNaturalIdhasPojoRepresentationhasSelectBeforeUpdatehasSubclasseshasSubselectLoadableCollectionsisAbstractisClassOrSuperclassJoinisClassOrSuperclassTableisCustomDeleteCallableisCustomInsertCallableisCustomUpdateCallableisDiscriminatorValueNotNullisDiscriminatorValueNullisLazyprepareTemporaryTablessetAbstractsetBatchSizesetClassNamesetCustomSQLDeletesetCustomSQLInsertsetCustomSQLUpdatesetDeclaredIdentifierMappersetDiscriminatorValuesetDynamicInsertsetDynamicUpdatesetEntityNamesetIdentifierMappersetJpaEntityNamesetLazysetLoaderNamesetMetaAttributessetNodeNamesetOptimisticLockModesetProxyInterfaceNamesetSelectBeforeUpdatesetSubselectLoadableCollectionssetSuperMappedSuperclasstoStringuseDynamicInsertuseDynamicUpdate

Field Detail

cacheConcurrencyStrategyback to summary
private String cacheConcurrencyStrategy
cacheRegionNameback to summary
private String cacheRegionName
declaredIdentifierPropertyback to summary
private Property declaredIdentifierProperty
declaredVersionback to summary
private Property declaredVersion
DEFAULT_DISCRIMINATOR_COLUMN_NAMEback to summary
public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
DEFAULT_IDENTIFIER_COLUMN_NAMEback to summary
public static final String DEFAULT_IDENTIFIER_COLUMN_NAME
discriminatorback to summary
private Value discriminator
discriminatorInsertableback to summary
private boolean discriminatorInsertable
embeddedIdentifierback to summary
private boolean embeddedIdentifier
entityPersisterClassback to summary
private Class<T> entityPersisterClass
explicitPolymorphismback to summary
private boolean explicitPolymorphism
forceDiscriminatorback to summary
private boolean forceDiscriminator
identifierback to summary
private KeyValue identifier
identifierPropertyback to summary
private Property identifierProperty
lazyPropertiesCacheableback to summary
private boolean lazyPropertiesCacheable
mutableback to summary
private boolean mutable
nextSubclassIdback to summary
private int nextSubclassId
polymorphicback to summary
private boolean polymorphic
tableback to summary
private Table table
versionback to summary
private Property version
whereback to summary
private String where

Constructor Detail

RootClassback to summary
public RootClass()

Method Detail

acceptback to summary
public Object accept(PersistentClassVisitor mv)

Implements abstract org.hibernate.mapping.PersistentClass.accept.

addSubclassback to summary
public void addSubclass(Subclass subclass) throws MappingException

Overrides org.hibernate.mapping.PersistentClass.addSubclass.

checkCompositeIdentifierback to summary
private void checkCompositeIdentifier()
getCacheConcurrencyStrategyback to summary
public String getCacheConcurrencyStrategy()

Implements abstract org.hibernate.mapping.PersistentClass.getCacheConcurrencyStrategy.

getCacheRegionNameback to summary
public String getCacheRegionName()
getDeclaredIdentifierPropertyback to summary
public Property getDeclaredIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.getDeclaredIdentifierProperty.

getDeclaredVersionback to summary
public Property getDeclaredVersion()

Implements abstract org.hibernate.mapping.PersistentClass.getDeclaredVersion.

getDiscriminatorback to summary
public Value getDiscriminator()

Implements abstract org.hibernate.mapping.PersistentClass.getDiscriminator.

getEntityPersisterClassback to summary
public Class<T> getEntityPersisterClass()

Implements abstract org.hibernate.mapping.PersistentClass.getEntityPersisterClass.

getIdentifierback to summary
public KeyValue getIdentifier()

Implements abstract org.hibernate.mapping.PersistentClass.getIdentifier.

getIdentifierPropertyback to summary
public Property getIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.getIdentifierProperty.

getIdentityTablesback to summary
public Set<E> getIdentityTables()
getKeyback to summary
public KeyValue getKey()

Implements abstract org.hibernate.mapping.PersistentClass.getKey.

getKeyClosureIteratorback to summary
public Iterator<E> getKeyClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getKeyClosureIterator.

getOptimisticLockModeback to summary
public int getOptimisticLockMode()

Implements abstract org.hibernate.mapping.PersistentClass.getOptimisticLockMode.

getPropertyClosureIteratorback to summary
public Iterator<E> getPropertyClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getPropertyClosureIterator.

getRootClassback to summary
public RootClass getRootClass()

Implements abstract org.hibernate.mapping.PersistentClass.getRootClass.

getRootTableback to summary
public Table getRootTable()

Implements abstract org.hibernate.mapping.PersistentClass.getRootTable.

getSubclassIdback to summary
public int getSubclassId()

Implements abstract org.hibernate.mapping.PersistentClass.getSubclassId.

getSuperclassback to summary
public PersistentClass getSuperclass()

Implements abstract org.hibernate.mapping.PersistentClass.getSuperclass.

getSynchronizedTablesback to summary
public Set<E> getSynchronizedTables()

Implements abstract org.hibernate.mapping.PersistentClass.getSynchronizedTables.

getTableback to summary
public Table getTable()

Implements abstract org.hibernate.mapping.PersistentClass.getTable.

getTableClosureIteratorback to summary
public Iterator<E> getTableClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getTableClosureIterator.

getVersionback to summary
public Property getVersion()

Implements abstract org.hibernate.mapping.PersistentClass.getVersion.

getWhereback to summary
public String getWhere()

Implements abstract org.hibernate.mapping.PersistentClass.getWhere.

hasEmbeddedIdentifierback to summary
public boolean hasEmbeddedIdentifier()

Implements abstract org.hibernate.mapping.PersistentClass.hasEmbeddedIdentifier.

hasIdentifierPropertyback to summary
public boolean hasIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.hasIdentifierProperty.

isDiscriminatorInsertableback to summary
public boolean isDiscriminatorInsertable()

Implements abstract org.hibernate.mapping.PersistentClass.isDiscriminatorInsertable.

isExplicitPolymorphismback to summary
public boolean isExplicitPolymorphism()

Implements abstract org.hibernate.mapping.PersistentClass.isExplicitPolymorphism.

isForceDiscriminatorback to summary
public boolean isForceDiscriminator()

Overrides org.hibernate.mapping.PersistentClass.isForceDiscriminator.

isInheritedback to summary
public boolean isInherited()

Implements abstract org.hibernate.mapping.PersistentClass.isInherited.

isJoinedSubclassback to summary
public boolean isJoinedSubclass()

Implements abstract org.hibernate.mapping.PersistentClass.isJoinedSubclass.

isLazyPropertiesCacheableback to summary
public boolean isLazyPropertiesCacheable()

Implements abstract org.hibernate.mapping.PersistentClass.isLazyPropertiesCacheable.

isMutableback to summary
public boolean isMutable()

Implements abstract org.hibernate.mapping.PersistentClass.isMutable.

isPolymorphicback to summary
public boolean isPolymorphic()

Implements abstract org.hibernate.mapping.PersistentClass.isPolymorphic.

isVersionedback to summary
public boolean isVersioned()

Implements abstract org.hibernate.mapping.PersistentClass.isVersioned.

nextSubclassIdback to summary
pack-priv int nextSubclassId()

Implements abstract org.hibernate.mapping.PersistentClass.nextSubclassId.

setCacheConcurrencyStrategyback to summary
public void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
setCacheRegionNameback to summary
public void setCacheRegionName(String cacheRegionName)
setDeclaredIdentifierPropertyback to summary
public void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
setDeclaredVersionback to summary
public void setDeclaredVersion(Property declaredVersion)
setDiscriminatorback to summary
public void setDiscriminator(Value discriminator)
setDiscriminatorInsertableback to summary
public void setDiscriminatorInsertable(boolean insertable)
setEmbeddedIdentifierback to summary
public void setEmbeddedIdentifier(boolean embeddedIdentifier)
setEntityPersisterClassback to summary
public void setEntityPersisterClass(Class<T> persister)

Implements abstract org.hibernate.mapping.PersistentClass.setEntityPersisterClass.

setExplicitPolymorphismback to summary
public void setExplicitPolymorphism(boolean explicitPolymorphism)
setForceDiscriminatorback to summary
public void setForceDiscriminator(boolean forceDiscriminator)
setIdentifierback to summary
public void setIdentifier(KeyValue identifier)
setIdentifierPropertyback to summary
public void setIdentifierProperty(Property identifierProperty)
setLazyPropertiesCacheableback to summary
public void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
setMutableback to summary
public void setMutable(boolean mutable)
setPolymorphicback to summary
public void setPolymorphic(boolean polymorphic)
setTableback to summary
public void setTable(Table table)

Implements org.hibernate.mapping.TableOwner.setTable.

setVersionback to summary
public void setVersion(Property version)
setWhereback to summary
public void setWhere(String string)
validateback to summary
public void validate(Mapping mapping) throws MappingException

Overrides org.hibernate.mapping.PersistentClass.validate.