public class Subclass extends PersistentClass
| Type | Property and Description |
|---|---|
boolean |
hasIdentifier |
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables| Constructor and Description |
|---|
Subclass(PersistentClass superclass,
MetadataBuildingContext metadataBuildingContext) |
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, getNonDuplicatedPropertyIterator, getOptimisticLockMode, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getServiceRegistry, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getUnjoinedPropertyIterator, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, setAbstract, setBatchSize, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockMode, setOptimisticLockStyle, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate, validatepublic boolean hasIdentifierProperty
hasIdentifierProperty in class PersistentClasspublic Subclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
public int getSubclassId()
getSubclassId in class PersistentClasspublic java.lang.String getNaturalIdCacheRegionName()
getNaturalIdCacheRegionName in class PersistentClasspublic java.lang.String getCacheConcurrencyStrategy()
getCacheConcurrencyStrategy in class PersistentClasspublic RootClass getRootClass()
getRootClass in class PersistentClasspublic PersistentClass getSuperclass()
getSuperclass in class PersistentClasspublic Property getIdentifierProperty()
getIdentifierProperty in class PersistentClasspublic Property getDeclaredIdentifierProperty()
getDeclaredIdentifierProperty in class PersistentClasspublic KeyValue getIdentifier()
getIdentifier in class PersistentClasspublic boolean hasIdentifierProperty()
hasIdentifierProperty in class PersistentClasspublic Value getDiscriminator()
getDiscriminator in class PersistentClasspublic boolean isMutable()
isMutable in class PersistentClasspublic boolean isInherited()
isInherited in class PersistentClasspublic boolean isPolymorphic()
isPolymorphic in class PersistentClasspublic void addProperty(Property p)
addProperty in interface AttributeContaineraddProperty in class PersistentClasspublic void addMappedsuperclassProperty(Property p)
addMappedsuperclassProperty in class PersistentClasspublic void addJoin(Join j)
addJoin in class PersistentClasspublic java.util.Iterator getPropertyClosureIterator()
getPropertyClosureIterator in class PersistentClasspublic java.util.Iterator getTableClosureIterator()
getTableClosureIterator in class PersistentClasspublic java.util.Iterator getKeyClosureIterator()
getKeyClosureIterator in class PersistentClassprotected void addSubclassProperty(Property p)
addSubclassProperty in class PersistentClassprotected void addSubclassJoin(Join j)
addSubclassJoin in class PersistentClassprotected void addSubclassTable(Table table)
addSubclassTable in class PersistentClasspublic boolean isVersioned()
isVersioned in class PersistentClasspublic Property getVersion()
getVersion in class PersistentClasspublic Property getDeclaredVersion()
getDeclaredVersion in class PersistentClasspublic boolean hasEmbeddedIdentifier()
hasEmbeddedIdentifier in class PersistentClasspublic java.lang.Class getEntityPersisterClass()
getEntityPersisterClass in class PersistentClasspublic Table getRootTable()
getRootTable in class PersistentClasspublic KeyValue getKey()
getKey in class PersistentClasspublic boolean isExplicitPolymorphism()
isExplicitPolymorphism in class PersistentClasspublic void setSuperclass(PersistentClass superclass)
public java.lang.String getWhere()
getWhere in class PersistentClasspublic boolean isJoinedSubclass()
isJoinedSubclass in class PersistentClasspublic void createForeignKey()
public void setEntityPersisterClass(java.lang.Class classPersisterClass)
setEntityPersisterClass in class PersistentClasspublic boolean isLazyPropertiesCacheable()
isLazyPropertiesCacheable in class PersistentClasspublic int getJoinClosureSpan()
getJoinClosureSpan in class PersistentClasspublic int getPropertyClosureSpan()
getPropertyClosureSpan in class PersistentClasspublic java.util.Iterator getJoinClosureIterator()
getJoinClosureIterator in class PersistentClasspublic boolean isClassOrSuperclassJoin(Join join)
isClassOrSuperclassJoin in class PersistentClasspublic boolean isClassOrSuperclassTable(Table table)
isClassOrSuperclassTable in class PersistentClasspublic Table getTable()
getTable in class PersistentClasspublic boolean isForceDiscriminator()
isForceDiscriminator in class PersistentClasspublic boolean isDiscriminatorInsertable()
isDiscriminatorInsertable in class PersistentClasspublic java.util.Set getSynchronizedTables()
getSynchronizedTables in class PersistentClasspublic java.lang.Object accept(PersistentClassVisitor mv)
accept in class PersistentClasspublic java.util.List getFilters()
getFilters in interface FilterablegetFilters in class PersistentClasspublic boolean hasSubselectLoadableCollections()
hasSubselectLoadableCollections in class PersistentClasspublic java.lang.String getTuplizerImplClassName(EntityMode mode)
getTuplizerImplClassName in class PersistentClasspublic java.util.Map getTuplizerMap()
getTuplizerMap in class PersistentClasspublic Component getIdentifierMapper()
getIdentifierMapper in class PersistentClasspublic OptimisticLockStyle getOptimisticLockStyle()
getOptimisticLockStyle in class PersistentClassCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.