public class Subclass extends PersistentClass
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, validate
public Subclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
public int getSubclassId()
getSubclassId
in class PersistentClass
public String getNaturalIdCacheRegionName()
getNaturalIdCacheRegionName
in class PersistentClass
public String getCacheConcurrencyStrategy()
getCacheConcurrencyStrategy
in class PersistentClass
public RootClass getRootClass()
getRootClass
in class PersistentClass
public PersistentClass getSuperclass()
getSuperclass
in class PersistentClass
public Property getIdentifierProperty()
getIdentifierProperty
in class PersistentClass
public Property getDeclaredIdentifierProperty()
getDeclaredIdentifierProperty
in class PersistentClass
public KeyValue getIdentifier()
getIdentifier
in class PersistentClass
public boolean hasIdentifierProperty()
hasIdentifierProperty
in class PersistentClass
public Value getDiscriminator()
getDiscriminator
in class PersistentClass
public boolean isMutable()
isMutable
in class PersistentClass
public boolean isInherited()
isInherited
in class PersistentClass
public boolean isPolymorphic()
isPolymorphic
in class PersistentClass
public void addProperty(Property p)
addProperty
in interface AttributeContainer
addProperty
in class PersistentClass
public void addMappedsuperclassProperty(Property p)
addMappedsuperclassProperty
in class PersistentClass
public void addJoin(Join j)
addJoin
in class PersistentClass
public Iterator getPropertyClosureIterator()
getPropertyClosureIterator
in class PersistentClass
public Iterator getTableClosureIterator()
getTableClosureIterator
in class PersistentClass
public Iterator getKeyClosureIterator()
getKeyClosureIterator
in class PersistentClass
protected void addSubclassProperty(Property p)
addSubclassProperty
in class PersistentClass
protected void addSubclassJoin(Join j)
addSubclassJoin
in class PersistentClass
protected void addSubclassTable(Table table)
addSubclassTable
in class PersistentClass
public boolean isVersioned()
isVersioned
in class PersistentClass
public Property getVersion()
getVersion
in class PersistentClass
public Property getDeclaredVersion()
getDeclaredVersion
in class PersistentClass
public boolean hasEmbeddedIdentifier()
hasEmbeddedIdentifier
in class PersistentClass
public Class getEntityPersisterClass()
getEntityPersisterClass
in class PersistentClass
public Table getRootTable()
getRootTable
in class PersistentClass
public KeyValue getKey()
getKey
in class PersistentClass
public boolean isExplicitPolymorphism()
isExplicitPolymorphism
in class PersistentClass
public void setSuperclass(PersistentClass superclass)
public String getWhere()
getWhere
in class PersistentClass
public boolean isJoinedSubclass()
isJoinedSubclass
in class PersistentClass
public void createForeignKey()
public void setEntityPersisterClass(Class classPersisterClass)
setEntityPersisterClass
in class PersistentClass
public boolean isLazyPropertiesCacheable()
isLazyPropertiesCacheable
in class PersistentClass
public int getJoinClosureSpan()
getJoinClosureSpan
in class PersistentClass
public int getPropertyClosureSpan()
getPropertyClosureSpan
in class PersistentClass
public Iterator getJoinClosureIterator()
getJoinClosureIterator
in class PersistentClass
public boolean isClassOrSuperclassJoin(Join join)
isClassOrSuperclassJoin
in class PersistentClass
public boolean isClassOrSuperclassTable(Table table)
isClassOrSuperclassTable
in class PersistentClass
public Table getTable()
getTable
in class PersistentClass
public boolean isForceDiscriminator()
isForceDiscriminator
in class PersistentClass
public boolean isDiscriminatorInsertable()
isDiscriminatorInsertable
in class PersistentClass
public Set getSynchronizedTables()
getSynchronizedTables
in class PersistentClass
public Object accept(PersistentClassVisitor mv)
accept
in class PersistentClass
public List getFilters()
getFilters
in interface Filterable
getFilters
in class PersistentClass
public boolean hasSubselectLoadableCollections()
hasSubselectLoadableCollections
in class PersistentClass
public String getTuplizerImplClassName(EntityMode mode)
getTuplizerImplClassName
in class PersistentClass
public Map getTuplizerMap()
getTuplizerMap
in class PersistentClass
public Component getIdentifierMapper()
getIdentifierMapper
in class PersistentClass
public OptimisticLockStyle getOptimisticLockStyle()
getOptimisticLockStyle
in class PersistentClass
Copyright © 2017 JBoss by Red Hat. All rights reserved.