org.hibernate.mapping
Class RootClass
java.lang.Object
   org.hibernate.mapping.PersistentClass
org.hibernate.mapping.PersistentClass
       org.hibernate.mapping.RootClass
org.hibernate.mapping.RootClass
- All Implemented Interfaces: 
- Serializable, Filterable, MetaAttributable, TableOwner
- public class RootClass 
- extends PersistentClass- implements TableOwner
The root class of an inheritance hierarchy
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class org.hibernate.mapping.PersistentClass | 
| addFilter, addJoin, addMappedsuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getFilterMap, getIdentifierMapper, getIdentityTable, getJoinClosureIterator, getJoinClosureSpan, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNodeName, getNonDuplicatedPropertyIterator, getProperty, getPropertyClosureSpan, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getTemporaryIdTableDDL, getTemporaryIdTableName, getTuplizerImplClassName, getTuplizerMap, getUnjoinedPropertyIterator, hasDom4jRepresentation, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasSelectBeforeUpdate, hasSubclasses, hasSubselectLoadableCollections, isAbstract, isClassOrSuperclassJoin, isClassOrSuperclassTable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, prepareTemporaryTables, setAbstract, setBatchSize, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setNodeName, setOptimisticLockMode, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate | 
 
 
DEFAULT_IDENTIFIER_COLUMN_NAME
public static final String DEFAULT_IDENTIFIER_COLUMN_NAME
- See Also:
- Constant Field Values
DEFAULT_DISCRIMINATOR_COLUMN_NAME
public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
- See Also:
- Constant Field Values
RootClass
public RootClass()
getSubclassId
public int getSubclassId()
- 
- Specified by:
- getSubclassIdin class- PersistentClass
 
- 
 
setTable
public void setTable(Table table)
- 
- Specified by:
- setTablein interface- TableOwner
 
- 
 
getTable
public Table getTable()
- 
- Specified by:
- getTablein class- PersistentClass
 
- 
 
getIdentifierProperty
public Property getIdentifierProperty()
- 
- Specified by:
- getIdentifierPropertyin class- PersistentClass
 
- 
 
getDeclaredIdentifierProperty
public Property getDeclaredIdentifierProperty()
- 
- Specified by:
- getDeclaredIdentifierPropertyin class- PersistentClass
 
- 
 
setDeclaredIdentifierProperty
public void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
- 
 
- 
 
getIdentifier
public KeyValue getIdentifier()
- 
- Specified by:
- getIdentifierin class- PersistentClass
 
- 
 
hasIdentifierProperty
public boolean hasIdentifierProperty()
- 
- Specified by:
- hasIdentifierPropertyin class- PersistentClass
 
- 
 
getDiscriminator
public Value getDiscriminator()
- 
- Specified by:
- getDiscriminatorin class- PersistentClass
 
- 
 
isInherited
public boolean isInherited()
- 
- Specified by:
- isInheritedin class- PersistentClass
 
- 
 
isPolymorphic
public boolean isPolymorphic()
- 
- Specified by:
- isPolymorphicin class- PersistentClass
 
- 
 
setPolymorphic
public void setPolymorphic(boolean polymorphic)
- 
 
- 
 
getRootClass
public RootClass getRootClass()
- 
- Specified by:
- getRootClassin class- PersistentClass
 
- 
 
getPropertyClosureIterator
public Iterator getPropertyClosureIterator()
- 
- Specified by:
- getPropertyClosureIteratorin class- PersistentClass
 
- 
 
getTableClosureIterator
public Iterator getTableClosureIterator()
- 
- Specified by:
- getTableClosureIteratorin class- PersistentClass
 
- 
 
getKeyClosureIterator
public Iterator getKeyClosureIterator()
- 
- Specified by:
- getKeyClosureIteratorin class- PersistentClass
 
- 
 
addSubclass
public void addSubclass(Subclass subclass)
                 throws MappingException
- 
- Overrides:
- addSubclassin class- PersistentClass
 
- 
- Throws:
- MappingException
 
isExplicitPolymorphism
public boolean isExplicitPolymorphism()
- 
- Specified by:
- isExplicitPolymorphismin class- PersistentClass
 
- 
 
getVersion
public Property getVersion()
- 
- Specified by:
- getVersionin class- PersistentClass
 
- 
 
getDeclaredVersion
public Property getDeclaredVersion()
- 
- Specified by:
- getDeclaredVersionin class- PersistentClass
 
- 
 
setDeclaredVersion
public void setDeclaredVersion(Property declaredVersion)
- 
 
- 
 
setVersion
public void setVersion(Property version)
- 
 
- 
 
isVersioned
public boolean isVersioned()
- 
- Specified by:
- isVersionedin class- PersistentClass
 
- 
 
isMutable
public boolean isMutable()
- 
- Specified by:
- isMutablein class- PersistentClass
 
- 
 
hasEmbeddedIdentifier
public boolean hasEmbeddedIdentifier()
- 
- Specified by:
- hasEmbeddedIdentifierin class- PersistentClass
 
- 
 
getEntityPersisterClass
public Class getEntityPersisterClass()
- 
- Specified by:
- getEntityPersisterClassin class- PersistentClass
 
- 
 
getRootTable
public Table getRootTable()
- 
- Specified by:
- getRootTablein class- PersistentClass
 
- 
 
setEntityPersisterClass
public void setEntityPersisterClass(Class persister)
- 
- Specified by:
- setEntityPersisterClassin class- PersistentClass
 
- 
 
getSuperclass
public PersistentClass getSuperclass()
- 
- Specified by:
- getSuperclassin class- PersistentClass
 
- 
 
getKey
public KeyValue getKey()
- 
- Specified by:
- getKeyin class- PersistentClass
 
- 
 
setDiscriminator
public void setDiscriminator(Value discriminator)
- 
 
- 
 
setEmbeddedIdentifier
public void setEmbeddedIdentifier(boolean embeddedIdentifier)
- 
 
- 
 
setExplicitPolymorphism
public void setExplicitPolymorphism(boolean explicitPolymorphism)
- 
 
- 
 
setIdentifier
public void setIdentifier(KeyValue identifier)
- 
 
- 
 
setIdentifierProperty
public void setIdentifierProperty(Property identifierProperty)
- 
 
- 
 
setMutable
public void setMutable(boolean mutable)
- 
 
- 
 
isDiscriminatorInsertable
public boolean isDiscriminatorInsertable()
- 
- Specified by:
- isDiscriminatorInsertablein class- PersistentClass
 
- 
 
setDiscriminatorInsertable
public void setDiscriminatorInsertable(boolean insertable)
- 
 
- 
 
isForceDiscriminator
public boolean isForceDiscriminator()
- 
- Overrides:
- isForceDiscriminatorin class- PersistentClass
 
- 
 
setForceDiscriminator
public void setForceDiscriminator(boolean forceDiscriminator)
- 
 
- 
 
getWhere
public String getWhere()
- 
- Specified by:
- getWherein class- PersistentClass
 
- 
 
setWhere
public void setWhere(String string)
- 
 
- 
 
validate
public void validate(Mapping mapping)
              throws MappingException
- 
- Overrides:
- validatein class- PersistentClass
 
- 
- Throws:
- MappingException
 
getCacheConcurrencyStrategy
public String getCacheConcurrencyStrategy()
- 
- Specified by:
- getCacheConcurrencyStrategyin class- PersistentClass
 
- 
 
setCacheConcurrencyStrategy
public void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
- 
 
- 
 
getCacheRegionName
public String getCacheRegionName()
- 
 
- 
 
setCacheRegionName
public void setCacheRegionName(String cacheRegionName)
- 
 
- 
 
getNaturalIdCacheRegionName
public String getNaturalIdCacheRegionName()
- 
- Specified by:
- getNaturalIdCacheRegionNamein class- PersistentClass
 
- 
 
setNaturalIdCacheRegionName
public void setNaturalIdCacheRegionName(String naturalIdCacheRegionName)
- 
 
- 
 
isLazyPropertiesCacheable
public boolean isLazyPropertiesCacheable()
- 
- Specified by:
- isLazyPropertiesCacheablein class- PersistentClass
 
- 
 
setLazyPropertiesCacheable
public void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
- 
 
- 
 
isJoinedSubclass
public boolean isJoinedSubclass()
- 
- Specified by:
- isJoinedSubclassin class- PersistentClass
 
- 
 
getSynchronizedTables
public Set getSynchronizedTables()
- 
- Specified by:
- getSynchronizedTablesin class- PersistentClass
 
- 
 
getIdentityTables
public Set getIdentityTables()
- 
 
- 
 
accept
public Object accept(PersistentClassVisitor mv)
- 
- Specified by:
- acceptin class- PersistentClass
 
- 
 
getOptimisticLockMode
public int getOptimisticLockMode()
- 
- Specified by:
- getOptimisticLockModein class- PersistentClass
 
- 
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.