public class RootEntitySourceImpl extends EntitySourceImpl implements RootEntitySource
Constructor and Description |
---|
RootEntitySourceImpl(EntityClass entityClass) |
Modifier and Type | Method and Description |
---|---|
Caching |
getCaching()
Obtain the caching configuration for this entity.
|
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.
|
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, attributeSources, getBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getDiscriminatorMatchValue, getEntityClass, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getPath, getPrimaryTable, getProxy, getSecondaryTables, getSynchronizedTableNames, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributes, subclassEntitySources
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getDiscriminatorMatchValue, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getPrimaryTable, getProxy, getSecondaryTables, getSynchronizedTableNames, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributes
add, subclassEntitySources
attributeSources, getPath
public RootEntitySourceImpl(EntityClass entityClass)
public IdentifierSource getIdentifierSource()
RootEntitySource
getIdentifierSource
in interface RootEntitySource
public SingularAttributeSource getVersioningAttributeSource()
RootEntitySource
getVersioningAttributeSource
in interface RootEntitySource
public DiscriminatorSource getDiscriminatorSource()
RootEntitySource
getDiscriminatorSource
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
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.