|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.metamodel.source.hbm.AbstractEntitySourceImpl
org.hibernate.metamodel.source.hbm.RootEntitySourceImpl
public class RootEntitySourceImpl
| Constructor Summary | |
|---|---|
protected |
RootEntitySourceImpl(MappingDocument sourceMappingDocument,
JaxbHibernateMapping.JaxbClass entityElement)
|
| Method Summary | |
|---|---|
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? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.metamodel.source.binder.EntitySource |
|---|
getBatchSize, getClassName, getConstraints, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getCustomTuplizerClassName, getEntityName, getJpaCallbackClasses, getJpaEntityName, getLocalBindingContext, getOrigin, getProxy, getSecondaryTables, getSynchronizedTableNames, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, metaAttributes |
| Methods inherited from interface org.hibernate.metamodel.source.binder.SubclassEntityContainer |
|---|
add, subclassEntitySources |
| Methods inherited from interface org.hibernate.metamodel.source.binder.AttributeSourceContainer |
|---|
attributeSources, getPath |
| Constructor Detail |
|---|
protected RootEntitySourceImpl(MappingDocument sourceMappingDocument,
JaxbHibernateMapping.JaxbClass entityElement)
| Method Detail |
|---|
protected JaxbHibernateMapping.JaxbClass entityElement()
entityElement in class AbstractEntitySourceImplpublic IdentifierSource getIdentifierSource()
RootEntitySource
getIdentifierSource in interface RootEntitySourcepublic SingularAttributeSource getVersioningAttributeSource()
RootEntitySource
getVersioningAttributeSource in interface RootEntitySourcepublic EntityMode getEntityMode()
RootEntitySource
getEntityMode in interface RootEntitySourcepublic boolean isMutable()
RootEntitySource
isMutable in interface RootEntitySourcetrue indicates mutable; false non-mutable.public boolean isExplicitPolymorphism()
RootEntitySource
isExplicitPolymorphism in interface RootEntitySourcetrue indicates explicit polymorphism; false implicit.public String getWhere()
RootEntitySource
getWhere in interface RootEntitySourcepublic String getRowId()
RootEntitySource
getRowId in interface RootEntitySourcepublic OptimisticLockStyle getOptimisticLockStyle()
RootEntitySource
getOptimisticLockStyle in interface RootEntitySourcepublic Caching getCaching()
RootEntitySource
getCaching in interface RootEntitySourcepublic TableSource getPrimaryTable()
EntitySource
getPrimaryTable in interface EntitySourcepublic String getDiscriminatorMatchValue()
EntitySource
getDiscriminatorMatchValue in interface EntitySourcegetDiscriminatorMatchValue in class AbstractEntitySourceImplnull in case there is no
explicit value or a different inheritance schemepublic DiscriminatorSource getDiscriminatorSource()
RootEntitySource
getDiscriminatorSource in interface RootEntitySource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||