Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyInferredData
Retrieve all inferred data from an annnoted element
|
class |
PropertyPreloadedData |
class |
WrappedInferredData |
Modifier and Type | Method and Description |
---|---|
PropertyData |
Mappings.getPropertyAnnotatedWithIdAndToOne(XClass entityType,
String propertyName)
Return the property annotated with @ToOne and @Id if any.
|
PropertyData |
Configuration.MappingsImpl.getPropertyAnnotatedWithIdAndToOne(XClass entityType,
String propertyName) |
PropertyData |
Mappings.getPropertyAnnotatedWithMapsId(XClass entityType,
String propertyName)
Return the property annotated with @MapsId("propertyName") if any.
|
PropertyData |
Configuration.MappingsImpl.getPropertyAnnotatedWithMapsId(XClass entityType,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
Mappings.addPropertyAnnotatedWithMapsId(XClass entityType,
PropertyData property) |
void |
Configuration.MappingsImpl.addPropertyAnnotatedWithMapsId(XClass entityType,
PropertyData property) |
void |
Mappings.addPropertyAnnotatedWithMapsIdSpecj(XClass entityType,
PropertyData property,
String mapsIdValue) |
void |
Configuration.MappingsImpl.addPropertyAnnotatedWithMapsIdSpecj(XClass entityType,
PropertyData property,
String mapsIdValue) |
void |
Mappings.addToOneAndIdProperty(XClass entity,
PropertyData property) |
void |
Configuration.MappingsImpl.addToOneAndIdProperty(XClass entityType,
PropertyData property) |
static Any |
BinderHelper.buildAnyValue(String anyMetaDefName,
Ejb3JoinColumn[] columns,
Column metaColumn,
PropertyData inferredData,
boolean cascadeOnDelete,
Nullability nullability,
PropertyHolder propertyHolder,
EntityBinder entityBinder,
boolean optional,
Mappings mappings) |
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
Map<String,Join> secondaryTables,
Mappings mappings) |
static Ejb3Column[] |
Ejb3Column.buildColumnFromAnnotation(Column[] anns,
Formula formulaAnn,
Nullability nullability,
PropertyHolder propertyHolder,
PropertyData inferredData,
String suffixForDefaultColumnName,
Map<String,Join> secondaryTables,
Mappings mappings) |
static IndexColumn |
IndexColumn.buildColumnFromAnnotation(IndexColumn ann,
PropertyHolder propertyHolder,
PropertyData inferredData,
Mappings mappings) |
static IndexColumn |
IndexColumn.buildColumnFromAnnotation(OrderColumn ann,
PropertyHolder propertyHolder,
PropertyData inferredData,
Map<String,Join> secondaryTables,
Mappings mappings) |
static PropertyHolder |
PropertyHolderBuilder.buildPropertyHolder(Component component,
String path,
PropertyData inferredData,
PropertyHolder parent,
Mappings mappings)
build a component property holder
|
static void |
Ejb3JoinColumn.checkIfJoinColumn(Object columns,
PropertyHolder holder,
PropertyData property) |
static Component |
AnnotationBinder.createComponent(PropertyHolder propertyHolder,
PropertyData inferredData,
boolean isComponentEmbedded,
boolean isIdentifierMapper,
Mappings mappings) |
static Component |
AnnotationBinder.fillComponent(PropertyHolder propertyHolder,
PropertyData inferredData,
AccessType propertyAccessor,
boolean isNullable,
EntityBinder entityBinder,
boolean isComponentEmbedded,
boolean isIdentifierMapper,
boolean inSecondPass,
Mappings mappings,
Map<XClass,InheritanceState> inheritanceStatePerClass) |
static Component |
AnnotationBinder.fillComponent(PropertyHolder propertyHolder,
PropertyData inferredData,
PropertyData baseInferredData,
AccessType propertyAccessor,
boolean isNullable,
EntityBinder entityBinder,
boolean isComponentEmbedded,
boolean isIdentifierMapper,
boolean inSecondPass,
Mappings mappings,
Map<XClass,InheritanceState> inheritanceStatePerClass) |
static String |
BinderHelper.getPath(PropertyHolder holder,
PropertyData property) |
static String |
ToOneBinder.getReferenceEntityName(PropertyData propertyData,
Mappings mappings) |
static String |
ToOneBinder.getReferenceEntityName(PropertyData propertyData,
XClass targetEntity,
Mappings mappings) |
static XClass |
ToOneBinder.getTargetEntity(PropertyData propertyData,
Mappings mappings) |
Constructor and Description |
---|
ComponentPropertyHolder(Component component,
String path,
PropertyData inferredData,
PropertyHolder parent,
Mappings mappings) |
OneToOneSecondPass(String mappedBy,
String ownerEntity,
String ownerProperty,
PropertyHolder propertyHolder,
PropertyData inferredData,
XClass targetEntity,
boolean ignoreNotFound,
boolean cascadeOnDelete,
boolean optional,
String cascadeStrategy,
Ejb3JoinColumn[] columns,
Mappings mappings) |
WrappedInferredData(PropertyData inferredData,
String suffix) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.