|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |