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, subclassEntitySources
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getProxy, getSecondaryTables, getSynchronizedTableNames, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributes
add, subclassEntitySources
attributeSources, getPath
protected RootEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHibernateMapping.JaxbClass entityElement)
protected JaxbHibernateMapping.JaxbClass entityElement()
entityElement
in class AbstractEntitySourceImpl
public IdentifierSource getIdentifierSource()
RootEntitySource
getIdentifierSource
in interface RootEntitySource
public SingularAttributeSource getVersioningAttributeSource()
RootEntitySource
getVersioningAttributeSource
in interface RootEntitySource
public EntityMode getEntityMode()
RootEntitySource
getEntityMode
in interface RootEntitySource
public boolean isMutable()
RootEntitySource
isMutable
in interface RootEntitySource
true
indicates mutable; false
non-mutable.public boolean isExplicitPolymorphism()
RootEntitySource
isExplicitPolymorphism
in interface RootEntitySource
true
indicates explicit polymorphism; false
implicit.public String getWhere()
RootEntitySource
getWhere
in interface RootEntitySource
public String getRowId()
RootEntitySource
getRowId
in interface RootEntitySource
public OptimisticLockStyle getOptimisticLockStyle()
RootEntitySource
getOptimisticLockStyle
in interface RootEntitySource
public Caching getCaching()
RootEntitySource
getCaching
in interface RootEntitySource
public TableSource getPrimaryTable()
EntitySource
getPrimaryTable
in interface EntitySource
public String getDiscriminatorMatchValue()
EntitySource
getDiscriminatorMatchValue
in interface EntitySource
getDiscriminatorMatchValue
in class AbstractEntitySourceImpl
null
in case there is no
explicit value or a different inheritance schemepublic DiscriminatorSource getDiscriminatorSource()
RootEntitySource
getDiscriminatorSource
in interface RootEntitySource
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.