public class RootClass extends PersistentClass implements TableOwner
| Type | Property and Description |
|---|---|
boolean |
hasIdentifier |
| 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, optimisticLockMode, synchronizedTables| Constructor and Description |
|---|
RootClass() |
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, getNodeName, getNonDuplicatedPropertyIterator, getProperty, getPropertyClosureSpan, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getTemporaryIdTableDDL, getTemporaryIdTableName, getTuplizerImplClassName, getTuplizerMap, getUnjoinedPropertyIterator, hasDom4jRepresentation, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasSelectBeforeUpdate, hasSubclasses, hasSubselectLoadableCollections, isAbstract, isClassOrSuperclassJoin, isClassOrSuperclassTable, 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, useDynamicUpdatehasIdentifierProperty in class PersistentClasspublic static final String DEFAULT_IDENTIFIER_COLUMN_NAME
public static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
public int getSubclassId()
getSubclassId in class PersistentClasspublic void setTable(Table table)
setTable in interface TableOwnerpublic Table getTable()
getTable in class PersistentClasspublic Property getIdentifierProperty()
getIdentifierProperty in class PersistentClasspublic Property getDeclaredIdentifierProperty()
getDeclaredIdentifierProperty in class PersistentClasspublic void setDeclaredIdentifierProperty(Property declaredIdentifierProperty)
public KeyValue getIdentifier()
getIdentifier in class PersistentClasspublic boolean hasIdentifierProperty()
hasIdentifierProperty in class PersistentClasspublic Value getDiscriminator()
getDiscriminator in class PersistentClasspublic boolean isInherited()
isInherited in class PersistentClasspublic boolean isPolymorphic()
isPolymorphic in class PersistentClasspublic void setPolymorphic(boolean polymorphic)
public RootClass getRootClass()
getRootClass in class PersistentClasspublic Iterator getPropertyClosureIterator()
getPropertyClosureIterator in class PersistentClasspublic Iterator getTableClosureIterator()
getTableClosureIterator in class PersistentClasspublic Iterator getKeyClosureIterator()
getKeyClosureIterator in class PersistentClasspublic void addSubclass(Subclass subclass) throws MappingException
addSubclass in class PersistentClassMappingExceptionpublic boolean isExplicitPolymorphism()
isExplicitPolymorphism in class PersistentClasspublic Property getVersion()
getVersion in class PersistentClasspublic Property getDeclaredVersion()
getDeclaredVersion in class PersistentClasspublic void setDeclaredVersion(Property declaredVersion)
public void setVersion(Property version)
public boolean isVersioned()
isVersioned in class PersistentClasspublic boolean isMutable()
isMutable in class PersistentClasspublic boolean hasEmbeddedIdentifier()
hasEmbeddedIdentifier in class PersistentClasspublic Class getEntityPersisterClass()
getEntityPersisterClass in class PersistentClasspublic Table getRootTable()
getRootTable in class PersistentClasspublic void setEntityPersisterClass(Class persister)
setEntityPersisterClass in class PersistentClasspublic PersistentClass getSuperclass()
getSuperclass in class PersistentClasspublic KeyValue getKey()
getKey in class PersistentClasspublic 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 PersistentClasspublic void setDiscriminatorInsertable(boolean insertable)
public boolean isForceDiscriminator()
isForceDiscriminator in class PersistentClasspublic void setForceDiscriminator(boolean forceDiscriminator)
public String getWhere()
getWhere in class PersistentClasspublic void setWhere(String string)
public void validate(Mapping mapping) throws MappingException
validate in class PersistentClassMappingExceptionpublic String getCacheConcurrencyStrategy()
getCacheConcurrencyStrategy in class PersistentClasspublic void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy)
public String getCacheRegionName()
public void setCacheRegionName(String cacheRegionName)
public String getNaturalIdCacheRegionName()
getNaturalIdCacheRegionName in class PersistentClasspublic void setNaturalIdCacheRegionName(String naturalIdCacheRegionName)
public boolean isLazyPropertiesCacheable()
isLazyPropertiesCacheable in class PersistentClasspublic void setLazyPropertiesCacheable(boolean lazyPropertiesCacheable)
public boolean isJoinedSubclass()
isJoinedSubclass in class PersistentClasspublic Set getSynchronizedTables()
getSynchronizedTables in class PersistentClasspublic Set getIdentityTables()
public Object accept(PersistentClassVisitor mv)
accept in class PersistentClasspublic int getOptimisticLockMode()
getOptimisticLockMode in class PersistentClassCopyright © 2018 JBoss by Red Hat. All rights reserved.