public class

RootClass

extends PersistentClass
implements TableOwner
java.lang.Object
   ↳ org.hibernate.mapping.PersistentClass
     ↳ org.hibernate.mapping.RootClass

Class Overview

The root class of an inheritance hierarchy

Summary

Constants
String DEFAULT_DISCRIMINATOR_COLUMN_NAME
String DEFAULT_IDENTIFIER_COLUMN_NAME
[Expand]
Inherited Constants
From class org.hibernate.mapping.PersistentClass
[Expand]
Inherited Fields
From class org.hibernate.mapping.PersistentClass
Public Constructors
RootClass()
Public Methods
Object accept(PersistentClassVisitor mv)
void addSubclass(Subclass subclass)
String getCacheConcurrencyStrategy()
String getCacheRegionName()
Property getDeclaredIdentifierProperty()
Property getDeclaredVersion()
Value getDiscriminator()
Class getEntityPersisterClass()
KeyValue getIdentifier()
Property getIdentifierProperty()
Set getIdentityTables()
KeyValue getKey()
Iterator getKeyClosureIterator()
int getOptimisticLockMode()
Iterator getPropertyClosureIterator()
RootClass getRootClass()
Table getRootTable()
int getSubclassId()
PersistentClass getSuperclass()
Set getSynchronizedTables()
Table getTable()
Iterator getTableClosureIterator()
Property getVersion()
String getWhere()
boolean hasEmbeddedIdentifier()
boolean hasIdentifierProperty()
boolean isDiscriminatorInsertable()
boolean isExplicitPolymorphism()
boolean isForceDiscriminator()
boolean isInherited()
boolean isJoinedSubclass()
boolean isLazyPropertiesCacheable()
boolean isMutable()
boolean isPolymorphic()
boolean isVersioned()
void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
void setCacheRegionName(String cacheRegionName)
void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
void setDeclaredVersion(Property declaredVersion)
void setDiscriminator(Value discriminator)
void setDiscriminatorInsertable(boolean insertable)
void setEmbeddedIdentifier(boolean embeddedIdentifier)
void setEntityPersisterClass(Class persister)
void setExplicitPolymorphism(boolean explicitPolymorphism)
void setForceDiscriminator(boolean forceDiscriminator)
void setIdentifier(KeyValue identifier)
void setIdentifierProperty(Property identifierProperty)
void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
void setMutable(boolean mutable)
void setPolymorphic(boolean polymorphic)
void setTable(Table table)
void setVersion(Property version)
void setWhere(String string)
void validate(Mapping mapping)
[Expand]
Inherited Methods
From class org.hibernate.mapping.PersistentClass
From class java.lang.Object
From interface org.hibernate.mapping.Filterable
From interface org.hibernate.mapping.MetaAttributable
From interface org.hibernate.mapping.TableOwner

Constants

public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME

Constant Value: "class"

public static final String DEFAULT_IDENTIFIER_COLUMN_NAME

Constant Value: "id"

Public Constructors

public RootClass ()

Public Methods

public Object accept (PersistentClassVisitor mv)

public void addSubclass (Subclass subclass)

public String getCacheConcurrencyStrategy ()

public String getCacheRegionName ()

public Property getDeclaredIdentifierProperty ()

public Property getDeclaredVersion ()

public Value getDiscriminator ()

public Class getEntityPersisterClass ()

public KeyValue getIdentifier ()

public Property getIdentifierProperty ()

public Set getIdentityTables ()

public KeyValue getKey ()

public Iterator getKeyClosureIterator ()

public int getOptimisticLockMode ()

public Iterator getPropertyClosureIterator ()

public RootClass getRootClass ()

public Table getRootTable ()

public int getSubclassId ()

public PersistentClass getSuperclass ()

public Set getSynchronizedTables ()

public Table getTable ()

public Iterator getTableClosureIterator ()

public Property getVersion ()

public String getWhere ()

public boolean hasEmbeddedIdentifier ()

public boolean hasIdentifierProperty ()

public boolean isDiscriminatorInsertable ()

public boolean isExplicitPolymorphism ()

public boolean isForceDiscriminator ()

public boolean isInherited ()

public boolean isJoinedSubclass ()

public boolean isLazyPropertiesCacheable ()

public boolean isMutable ()

public boolean isPolymorphic ()

public boolean isVersioned ()

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 setEntityPersisterClass (Class persister)

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 setTable (Table table)

public void setVersion (Property version)

public void setWhere (String string)

public void validate (Mapping mapping)