public class EntityHierarchySourceImpl extends java.lang.Object implements EntityHierarchySource
hbm.xml documents| Constructor and Description |
|---|
EntityHierarchySourceImpl(RootEntitySourceImpl rootEntitySource) |
| Modifier and Type | Method and Description |
|---|---|
protected JaxbHbmRootEntityType |
entityElement() |
Caching |
getCaching()
Obtain the caching configuration for this entity.
|
java.util.Set<java.lang.String> |
getContainedEntityNames() |
DiscriminatorSource |
getDiscriminatorSource()
Obtain the source information about the discriminator attribute for single table inheritance
|
EntityMode |
getEntityMode()
Obtain the entity mode for this entity.
|
InheritanceType |
getHierarchyInheritanceType()
The inheritance type/strategy for the hierarchy.
|
IdentifierSource |
getIdentifierSource()
Obtain source information about this entity's identifier.
|
MultiTenancySource |
getMultiTenancySource()
Obtain the source information about the multi-tenancy discriminator for this entity
|
Caching |
getNaturalIdCaching()
Obtain the natural id caching configuration for this entity.
|
OptimisticLockStyle |
getOptimisticLockStyle()
Obtain the optimistic locking style for this entity.
|
RootEntitySourceImpl |
getRoot()
Obtain the hierarchy's root type source.
|
java.lang.String |
getRowId()
Obtain the row-id name for this entity
|
VersionAttributeSource |
getVersionAttributeSource()
Obtain the source information about the attribute used for optimistic locking.
|
java.lang.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?
|
void |
processSubclass(SubclassEntitySourceImpl subclassEntitySource) |
public EntityHierarchySourceImpl(RootEntitySourceImpl rootEntitySource)
public InheritanceType getHierarchyInheritanceType()
EntityHierarchySourcegetHierarchyInheritanceType in interface EntityHierarchySourcepublic RootEntitySourceImpl getRoot()
EntityHierarchySourcegetRoot in interface EntityHierarchySourcepublic void processSubclass(SubclassEntitySourceImpl subclassEntitySource)
protected JaxbHbmRootEntityType entityElement()
public IdentifierSource getIdentifierSource()
EntityHierarchySourcegetIdentifierSource in interface EntityHierarchySourcepublic VersionAttributeSource getVersionAttributeSource()
EntityHierarchySourcegetVersionAttributeSource in interface EntityHierarchySourcepublic EntityMode getEntityMode()
EntityHierarchySourcegetEntityMode in interface EntityHierarchySourcepublic boolean isMutable()
EntityHierarchySourceisMutable in interface EntityHierarchySourcetrue indicates mutable; false non-mutable.public boolean isExplicitPolymorphism()
EntityHierarchySourceisExplicitPolymorphism in interface EntityHierarchySourcetrue indicates explicit polymorphism; false implicit.public java.lang.String getWhere()
EntityHierarchySourcegetWhere in interface EntityHierarchySourcepublic java.lang.String getRowId()
EntityHierarchySourcegetRowId in interface EntityHierarchySourcepublic OptimisticLockStyle getOptimisticLockStyle()
EntityHierarchySourcegetOptimisticLockStyle in interface EntityHierarchySourcepublic Caching getCaching()
EntityHierarchySourcegetCaching in interface EntityHierarchySourcepublic Caching getNaturalIdCaching()
EntityHierarchySourcegetNaturalIdCaching in interface EntityHierarchySourcepublic DiscriminatorSource getDiscriminatorSource()
EntityHierarchySourcegetDiscriminatorSource in interface EntityHierarchySourcepublic MultiTenancySource getMultiTenancySource()
EntityHierarchySourcegetMultiTenancySource in interface EntityHierarchySourcepublic java.util.Set<java.lang.String> getContainedEntityNames()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.