public class RootEntitySourceImpl extends AbstractEntitySourceImpl implements RootEntitySource
| Modifier | Constructor and Description |
|---|---|
protected |
RootEntitySourceImpl(MappingDocument sourceMappingDocument,
JaxbHibernateMapping.JaxbClass entityElement) |
| Modifier and Type | Method and Description |
|---|---|
protected JaxbHibernateMapping.JaxbClass |
entityElement() |
Caching |
getCaching()
Obtain the caching configuration for this entity.
|
String |
getDiscriminatorMatchValue()
Get the actual discriminator value in case of a single table inheritance
|
DiscriminatorSource |
getDiscriminatorSource()
Obtain the source information about the discriminator attribute for single table inheritance
|
EntityMode |
getEntityMode()
Obtain the entity mode for this entity.
|
IdentifierSource |
getIdentifierSource()
Obtain source information about this entity's identifier.
|
OptimisticLockStyle |
getOptimisticLockStyle()
Obtain the optimistic locking style for this entity.
|
TableSource |
getPrimaryTable()
Obtain the primary table for this entity.
|
String |
getRowId()
Obtain the row-id name for this entity
|
SingularAttributeSource |
getVersioningAttributeSource()
Obtain the source information about the attribute used for versioning.
|
String |
getWhere()
Obtain the specified extra where condition to be applied to this entity.
|
boolean |
isExplicitPolymorphism()
Should explicit polymorphism (querying) be applied to this entity?
|
boolean |
isMutable()
Is this root entity mutable?
|
add, add, attributeSources, determineEntityMode, getBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getPath, getProxy, getSecondaryTables, getSynchronizedTableNames, injectHierarchy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributes, sourceMappingDocument, subclassEntitySourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getProxy, getSecondaryTables, getSynchronizedTableNames, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributesadd, subclassEntitySourcesattributeSources, getPathprotected RootEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHibernateMapping.JaxbClass entityElement)
protected JaxbHibernateMapping.JaxbClass entityElement()
entityElement in class AbstractEntitySourceImplpublic IdentifierSource getIdentifierSource()
RootEntitySourcegetIdentifierSource in interface RootEntitySourcepublic SingularAttributeSource getVersioningAttributeSource()
RootEntitySourcegetVersioningAttributeSource in interface RootEntitySourcepublic EntityMode getEntityMode()
RootEntitySourcegetEntityMode in interface RootEntitySourcepublic boolean isMutable()
RootEntitySourceisMutable in interface RootEntitySourcetrue indicates mutable; false non-mutable.public boolean isExplicitPolymorphism()
RootEntitySourceisExplicitPolymorphism in interface RootEntitySourcetrue indicates explicit polymorphism; false implicit.public String getWhere()
RootEntitySourcegetWhere in interface RootEntitySourcepublic String getRowId()
RootEntitySourcegetRowId in interface RootEntitySourcepublic OptimisticLockStyle getOptimisticLockStyle()
RootEntitySourcegetOptimisticLockStyle in interface RootEntitySourcepublic Caching getCaching()
RootEntitySourcegetCaching in interface RootEntitySourcepublic TableSource getPrimaryTable()
EntitySourcegetPrimaryTable in interface EntitySourcepublic String getDiscriminatorMatchValue()
EntitySourcegetDiscriminatorMatchValue in interface EntitySourcegetDiscriminatorMatchValue in class AbstractEntitySourceImplnull in case there is no
explicit value or a different inheritance schemepublic DiscriminatorSource getDiscriminatorSource()
RootEntitySourcegetDiscriminatorSource in interface RootEntitySourceCopyright © 2018 JBoss by Red Hat. All rights reserved.