public class EntityHierarchySourceImpl extends Object implements EntityHierarchySource
hbm.xml
documentsConstructor and Description |
---|
EntityHierarchySourceImpl(RootEntitySourceImpl rootEntitySource) |
Modifier and Type | Method and Description |
---|---|
protected JaxbHbmRootEntityType |
entityElement() |
Caching |
getCaching()
Obtain the caching configuration for this entity.
|
Set<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.
|
String |
getRowId()
Obtain the row-id name for this entity
|
VersionAttributeSource |
getVersionAttributeSource()
Obtain the source information about the attribute used for optimistic locking.
|
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()
EntityHierarchySource
getHierarchyInheritanceType
in interface EntityHierarchySource
public RootEntitySourceImpl getRoot()
EntityHierarchySource
getRoot
in interface EntityHierarchySource
public void processSubclass(SubclassEntitySourceImpl subclassEntitySource)
protected JaxbHbmRootEntityType entityElement()
public IdentifierSource getIdentifierSource()
EntityHierarchySource
getIdentifierSource
in interface EntityHierarchySource
public VersionAttributeSource getVersionAttributeSource()
EntityHierarchySource
getVersionAttributeSource
in interface EntityHierarchySource
public EntityMode getEntityMode()
EntityHierarchySource
getEntityMode
in interface EntityHierarchySource
public boolean isMutable()
EntityHierarchySource
isMutable
in interface EntityHierarchySource
true
indicates mutable; false
non-mutable.public boolean isExplicitPolymorphism()
EntityHierarchySource
isExplicitPolymorphism
in interface EntityHierarchySource
true
indicates explicit polymorphism; false
implicit.public String getWhere()
EntityHierarchySource
getWhere
in interface EntityHierarchySource
public String getRowId()
EntityHierarchySource
getRowId
in interface EntityHierarchySource
public OptimisticLockStyle getOptimisticLockStyle()
EntityHierarchySource
getOptimisticLockStyle
in interface EntityHierarchySource
public Caching getCaching()
EntityHierarchySource
getCaching
in interface EntityHierarchySource
public Caching getNaturalIdCaching()
EntityHierarchySource
getNaturalIdCaching
in interface EntityHierarchySource
public DiscriminatorSource getDiscriminatorSource()
EntityHierarchySource
getDiscriminatorSource
in interface EntityHierarchySource
public MultiTenancySource getMultiTenancySource()
EntityHierarchySource
getMultiTenancySource
in interface EntityHierarchySource
Copyright © 2020 JBoss by Red Hat. All rights reserved.