public class EntityBinder extends Object
Constructor and Description |
---|
EntityBinder()
Use as a fake one for Collection of elements
|
EntityBinder(Entity ejb3Ann,
Entity hibAnn,
XClass annotatedClass,
PersistentClass persistentClass,
MetadataBuildingContext context) |
public EntityBinder()
public EntityBinder(Entity ejb3Ann, Entity hibAnn, XClass annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context)
public boolean wrapIdsInEmbeddedComponents()
public boolean isPropertyDefinedInSuperHierarchy(String name)
PersistentClass.isPropertyDefinedInHierarchy(java.lang.String)
,
after verifying that PersistentClass is indeed set here.name
- The name of the property to checktrue
if a property by that given name does already exist in the super hierarchy.public boolean isRootEntity()
public void setDiscriminatorValue(String discriminatorValue)
public void setForceDiscriminator(boolean forceDiscriminator)
public void setInsertableDiscriminator(boolean insertableDiscriminator)
public void bindEntity()
public void bindDiscriminatorValue()
public void setBatchSize(BatchSize sizeAnn)
public void setProxy(Proxy proxy)
public void setWhere(Where whereAnn)
public void setWrapIdsInEmbeddedComponents(boolean wrapIdsInEmbeddedComponents)
public void applyCaching(XClass clazzToProcess, SharedCacheMode sharedCacheMode, MetadataBuildingContext context)
public void bindTableForDiscriminatedSubclass(InFlightMetadataCollector.EntityTableXref superTableXref)
public void bindTable(String schema, String catalog, String tableName, List<UniqueConstraintHolder> uniqueConstraints, String constraints, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref)
public void finalSecondaryTableBinding(PropertyHolder propertyHolder)
public void firstLevelSecondaryTablesBinding(SecondaryTable secTable, SecondaryTables secTables)
public Join addJoin(JoinTable joinTable, PropertyHolder holder, boolean noDelayInPkColumnCreation)
public static String getCacheConcurrencyStrategy(CacheConcurrencyStrategy strategy)
public void addFilter(Filter filter)
public void setInheritanceState(InheritanceState inheritanceState)
public boolean isIgnoreIdAnnotations()
public void setIgnoreIdAnnotations(boolean ignoreIdAnnotations)
public void processComplementaryTableDefinitions(Table table)
public void processComplementaryTableDefinitions(Table table)
public void processComplementaryTableDefinitions(Tables tables)
public AccessType getPropertyAccessType()
public void setPropertyAccessType(AccessType propertyAccessor)
public AccessType getPropertyAccessor(XAnnotatedElement element)
public AccessType getExplicitAccessType(XAnnotatedElement element)
Copyright © 2021 JBoss by Red Hat. All rights reserved.