public class RootClass extends PersistentClass implements TableOwner
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DISCRIMINATOR_COLUMN_NAME |
static String |
DEFAULT_IDENTIFIER_COLUMN_NAME |
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables
Constructor and Description |
---|
RootClass(MetadataBuildingContext metadataBuildingContext) |
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, getFilters, getIdentifierMapper, getIdentityTable, getJoinClosureIterator, getJoinClosureSpan, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNonDuplicatedPropertyIterator, getOptimisticLockMode, getOptimisticLockStyle, getProperty, getPropertyClosureSpan, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getServiceRegistry, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getTuplizerImplClassName, getTuplizerMap, getUnjoinedPropertyIterator, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, hasSubselectLoadableCollections, isAbstract, isCached, isCachingExplicitlyRequested, isClassOrSuperclassJoin, isClassOrSuperclassTable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, setAbstract, setBatchSize, setCached, setCachingExplicitlyRequested, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockMode, setOptimisticLockStyle, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate
public static final String DEFAULT_IDENTIFIER_COLUMN_NAME
public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
public RootClass(MetadataBuildingContext metadataBuildingContext)
public int getSubclassId()
getSubclassId
in class PersistentClass
public void setTable(Table table)
setTable
in interface TableOwner
public Table getTable()
getTable
in class PersistentClass
public Property getIdentifierProperty()
getIdentifierProperty
in class PersistentClass
public Property getDeclaredIdentifierProperty()
getDeclaredIdentifierProperty
in class PersistentClass
public void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
public KeyValue getIdentifier()
getIdentifier
in class PersistentClass
public boolean hasIdentifierProperty()
hasIdentifierProperty
in class PersistentClass
public Value getDiscriminator()
getDiscriminator
in class PersistentClass
public boolean isInherited()
isInherited
in class PersistentClass
public boolean isPolymorphic()
isPolymorphic
in class PersistentClass
public void setPolymorphic(boolean polymorphic)
public RootClass getRootClass()
getRootClass
in class PersistentClass
public Iterator getPropertyClosureIterator()
getPropertyClosureIterator
in class PersistentClass
public Iterator getTableClosureIterator()
getTableClosureIterator
in class PersistentClass
public Iterator getKeyClosureIterator()
getKeyClosureIterator
in class PersistentClass
public void addSubclass(Subclass subclass) throws MappingException
addSubclass
in class PersistentClass
MappingException
public boolean isExplicitPolymorphism()
isExplicitPolymorphism
in class PersistentClass
public Property getVersion()
getVersion
in class PersistentClass
public Property getDeclaredVersion()
getDeclaredVersion
in class PersistentClass
public void setDeclaredVersion(Property declaredVersion)
public void setVersion(Property version)
public boolean isVersioned()
isVersioned
in class PersistentClass
public boolean isMutable()
isMutable
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 void setEntityPersisterClass(Class persister)
setEntityPersisterClass
in class PersistentClass
public PersistentClass getSuperclass()
getSuperclass
in class PersistentClass
public KeyValue getKey()
getKey
in class PersistentClass
public void setDiscriminator(Value discriminator)
public void setEmbeddedIdentifier(boolean embeddedIdentifier)
public void setExplicitPolymorphism(boolean explicitPolymorphism)
public void setIdentifier(KeyValue identifier)
public void setIdentifierProperty(Property identifierProperty)
public void setMutable(boolean mutable)
public boolean isDiscriminatorInsertable()
isDiscriminatorInsertable
in class PersistentClass
public void setDiscriminatorInsertable(boolean insertable)
public boolean isForceDiscriminator()
isForceDiscriminator
in class PersistentClass
public void setForceDiscriminator(boolean forceDiscriminator)
public String getWhere()
getWhere
in class PersistentClass
public void setWhere(String string)
public void validate(Mapping mapping) throws MappingException
validate
in class PersistentClass
MappingException
public String getCacheConcurrencyStrategy()
getCacheConcurrencyStrategy
in class PersistentClass
public void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
public String getCacheRegionName()
public void setCacheRegionName(String cacheRegionName)
public boolean isLazyPropertiesCacheable()
public void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
public String getNaturalIdCacheRegionName()
getNaturalIdCacheRegionName
in class PersistentClass
public void setNaturalIdCacheRegionName(String naturalIdCacheRegionName)
public boolean isJoinedSubclass()
isJoinedSubclass
in class PersistentClass
public Set getSynchronizedTables()
getSynchronizedTables
in class PersistentClass
public Object accept(PersistentClassVisitor mv)
accept
in class PersistentClass
Copyright © 2021 JBoss by Red Hat. All rights reserved.