org.hibernate.mapping
Class Subclass
java.lang.Object
   org.hibernate.mapping.PersistentClass
org.hibernate.mapping.PersistentClass
       org.hibernate.mapping.Subclass
org.hibernate.mapping.Subclass
- All Implemented Interfaces: 
- Serializable, Filterable, MetaAttributable
- Direct Known Subclasses: 
- JoinedSubclass, SingleTableSubclass, UnionSubclass
- public class Subclass 
- extends PersistentClass
A sublass in a table-per-class-hierarchy mapping
- Author:
- Gavin King
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class org.hibernate.mapping.PersistentClass | 
| addFilter, addSubclass, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getIdentityTable, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNodeName, getNonDuplicatedPropertyIterator, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getTemporaryIdTableDDL, getTemporaryIdTableName, getUnjoinedPropertyIterator, hasDom4jRepresentation, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasSelectBeforeUpdate, hasSubclasses, isAbstract, 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, validate | 
 
 
Subclass
public Subclass(PersistentClass superclass)
getSubclassId
public int getSubclassId()
- 
- Specified by:
- getSubclassIdin class- PersistentClass
 
- 
 
getCacheConcurrencyStrategy
public String getCacheConcurrencyStrategy()
- 
- Specified by:
- getCacheConcurrencyStrategyin class- PersistentClass
 
- 
 
getRootClass
public RootClass getRootClass()
- 
- Specified by:
- getRootClassin class- PersistentClass
 
- 
 
getSuperclass
public PersistentClass getSuperclass()
- 
- Specified by:
- getSuperclassin class- PersistentClass
 
- 
 
getIdentifierProperty
public Property getIdentifierProperty()
- 
- Specified by:
- getIdentifierPropertyin class- PersistentClass
 
- 
 
getDeclaredIdentifierProperty
public Property getDeclaredIdentifierProperty()
- 
- Specified by:
- getDeclaredIdentifierPropertyin class- PersistentClass
 
- 
 
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
 
- 
 
isMutable
public boolean isMutable()
- 
- Specified by:
- isMutablein class- PersistentClass
 
- 
 
isInherited
public boolean isInherited()
- 
- Specified by:
- isInheritedin class- PersistentClass
 
- 
 
isPolymorphic
public boolean isPolymorphic()
- 
- Specified by:
- isPolymorphicin class- PersistentClass
 
- 
 
addProperty
public void addProperty(Property p)
- 
- Overrides:
- addPropertyin class- PersistentClass
 
- 
 
addMappedsuperclassProperty
public void addMappedsuperclassProperty(Property p)
- 
- Overrides:
- addMappedsuperclassPropertyin class- PersistentClass
 
- 
 
addJoin
public void addJoin(Join j)
- 
- Overrides:
- addJoinin 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
 
- 
 
addSubclassProperty
protected void addSubclassProperty(Property p)
- 
- Overrides:
- addSubclassPropertyin class- PersistentClass
 
- 
 
addSubclassJoin
protected void addSubclassJoin(Join j)
- 
- Overrides:
- addSubclassJoinin class- PersistentClass
 
- 
 
addSubclassTable
protected void addSubclassTable(Table table)
- 
- Overrides:
- addSubclassTablein class- PersistentClass
 
- 
 
isVersioned
public boolean isVersioned()
- 
- Specified by:
- isVersionedin class- PersistentClass
 
- 
 
getVersion
public Property getVersion()
- 
- Specified by:
- getVersionin class- PersistentClass
 
- 
 
getDeclaredVersion
public Property getDeclaredVersion()
- 
- Specified by:
- getDeclaredVersionin 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
 
- 
 
getKey
public KeyValue getKey()
- 
- Specified by:
- getKeyin class- PersistentClass
 
- 
 
isExplicitPolymorphism
public boolean isExplicitPolymorphism()
- 
- Specified by:
- isExplicitPolymorphismin class- PersistentClass
 
- 
 
setSuperclass
public void setSuperclass(PersistentClass superclass)
- 
 
getWhere
public String getWhere()
- 
- Specified by:
- getWherein class- PersistentClass
 
- 
 
isJoinedSubclass
public boolean isJoinedSubclass()
- 
- Specified by:
- isJoinedSubclassin class- PersistentClass
 
- 
 
createForeignKey
public void createForeignKey()
- 
 
setEntityPersisterClass
public void setEntityPersisterClass(Class classPersisterClass)
- 
- Specified by:
- setEntityPersisterClassin class- PersistentClass
 
- 
 
isLazyPropertiesCacheable
public boolean isLazyPropertiesCacheable()
- 
- Specified by:
- isLazyPropertiesCacheablein class- PersistentClass
 
- 
 
getJoinClosureSpan
public int getJoinClosureSpan()
- 
- Overrides:
- getJoinClosureSpanin class- PersistentClass
 
- 
 
getPropertyClosureSpan
public int getPropertyClosureSpan()
- 
- Overrides:
- getPropertyClosureSpanin class- PersistentClass
 
- 
 
getJoinClosureIterator
public Iterator getJoinClosureIterator()
- 
- Overrides:
- getJoinClosureIteratorin class- PersistentClass
 
- 
 
isClassOrSuperclassJoin
public boolean isClassOrSuperclassJoin(Join join)
- 
- Overrides:
- isClassOrSuperclassJoinin class- PersistentClass
 
- 
 
isClassOrSuperclassTable
public boolean isClassOrSuperclassTable(Table table)
- 
- Overrides:
- isClassOrSuperclassTablein class- PersistentClass
 
- 
 
getTable
public Table getTable()
- 
- Specified by:
- getTablein class- PersistentClass
 
- 
 
isForceDiscriminator
public boolean isForceDiscriminator()
- 
- Overrides:
- isForceDiscriminatorin class- PersistentClass
 
- 
 
isDiscriminatorInsertable
public boolean isDiscriminatorInsertable()
- 
- Specified by:
- isDiscriminatorInsertablein class- PersistentClass
 
- 
 
getSynchronizedTables
public Set getSynchronizedTables()
- 
- Specified by:
- getSynchronizedTablesin class- PersistentClass
 
- 
 
accept
public Object accept(PersistentClassVisitor mv)
- 
- Specified by:
- acceptin class- PersistentClass
 
- 
 
getFilterMap
public Map getFilterMap()
- 
- Specified by:
- getFilterMapin interface- Filterable
- Overrides:
- getFilterMapin class- PersistentClass
 
- 
 
hasSubselectLoadableCollections
public boolean hasSubselectLoadableCollections()
- 
- Overrides:
- hasSubselectLoadableCollectionsin class- PersistentClass
 
- 
 
getTuplizerImplClassName
public String getTuplizerImplClassName(EntityMode mode)
- 
- Overrides:
- getTuplizerImplClassNamein class- PersistentClass
 
- 
 
getTuplizerMap
public Map getTuplizerMap()
- 
- Overrides:
- getTuplizerMapin class- PersistentClass
 
- 
 
getIdentifierMapper
public Component getIdentifierMapper()
- 
- Overrides:
- getIdentifierMapperin class- PersistentClass
 
- 
 
getOptimisticLockMode
public int getOptimisticLockMode()
- 
- Specified by:
- getOptimisticLockModein class- PersistentClass
 
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.