public interface EntitySource extends IdentifiableTypeSource, ToolingHintContextContainer, EntityNamingSourceContributor
| Modifier and Type | Method and Description | 
|---|---|
int | 
getBatchSize()
Obtain the batch-size to be applied when initializing proxies of this entity. 
 | 
String | 
getCustomLoaderName()
Obtain the name of a named-query that will be used for loading this entity 
 | 
String | 
getCustomPersisterClassName()
Obtain the name of a custom persister class to be used. 
 | 
CustomSql | 
getCustomSqlDelete()
Obtain the custom SQL to be used for deletes for this entity 
 | 
CustomSql | 
getCustomSqlInsert()
Obtain the custom SQL to be used for inserts for this entity 
 | 
CustomSql | 
getCustomSqlUpdate()
Obtain the custom SQL to be used for updates for this entity 
 | 
String | 
getDiscriminatorMatchValue()
Get the actual discriminator value in case of a single table inheritance 
 | 
FilterSource[] | 
getFilterSources()
Obtain the filters for this entity. 
 | 
List<JaxbHbmNamedNativeQueryType> | 
getNamedNativeQueries()  | 
List<JaxbHbmNamedQueryType> | 
getNamedQueries()  | 
TableSpecificationSource | 
getPrimaryTable()
Obtain the primary table for this entity. 
 | 
String | 
getProxy()
For  
lazy entities, obtain the interface to use in constructing its proxies. | 
Map<String,SecondaryTableSource> | 
getSecondaryTableMap()
Obtain the secondary tables for this entity 
 | 
String[] | 
getSynchronizedTableNames()
Obtain any additional table names on which to synchronize (auto flushing) this entity. 
 | 
Map<EntityMode,String> | 
getTuplizerClassMap()
Obtain the named custom tuplizer classes to be used. 
 | 
String | 
getXmlNodeName()  | 
Boolean | 
isAbstract()
Is the entity abstract?
 
 The implication is whether the entity maps to a database table. 
 | 
boolean | 
isDynamicInsert()
Did the source specify dynamic inserts? 
 | 
boolean | 
isDynamicUpdate()
Did the source specify dynamic updates? 
 | 
boolean | 
isLazy()
Is this entity lazy (proxyable)? 
 | 
boolean | 
isSelectBeforeUpdate()
Did the source specify to perform selects to decide whether to perform (detached) updates? 
 | 
TruthValue | 
quoteIdentifiersLocalToEntity()  | 
getHierarchy, getJpaCallbackClasses, getLocalMetadataBuildingContext, getOrigin, getSubTypes, getSuperType, getTypeNameattributeSources, getAttributePathBase, getAttributeRoleBasegetToolingHintContextgetEntityNamingSourceTableSpecificationSource getPrimaryTable()
Map<String,SecondaryTableSource> getSecondaryTableMap()
String getXmlNodeName()
Map<EntityMode,String> getTuplizerClassMap()
String getCustomPersisterClassName()
boolean isLazy()
true indicates the entity is lazy; false non-lazy.String getProxy()
lazy entities, obtain the interface to use in constructing its proxies.int getBatchSize()
Boolean isAbstract()
true indicates the entity is abstract; false non-abstract; null
 indicates that a reflection check should be done when building the persister.boolean isDynamicInsert()
true indicates dynamic inserts will be used; false otherwise.boolean isDynamicUpdate()
true indicates dynamic updates will be used; false otherwise.boolean isSelectBeforeUpdate()
true indicates selects will be done; false otherwise.String getCustomLoaderName()
CustomSql getCustomSqlInsert()
CustomSql getCustomSqlUpdate()
CustomSql getCustomSqlDelete()
String[] getSynchronizedTableNames()
String getDiscriminatorMatchValue()
null in case there is no
         explicit value or a different inheritance schemeFilterSource[] getFilterSources()
List<JaxbHbmNamedQueryType> getNamedQueries()
List<JaxbHbmNamedNativeQueryType> getNamedNativeQueries()
TruthValue quoteIdentifiersLocalToEntity()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.