| Modifier and Type | Field and Description |
|---|---|
| private AccessType | |
| private int | |
| private MetadataBuildingContext | |
| private String | |
| private String | |
| protected boolean | |
| private String | |
| protected Collection | |
| private XClass | |
| private SortComparator | |
| private XClass | |
| private boolean | |
| private Sort | deprecatedSort
Deprecated
as a consequence of
Sort being deprecated.
|
| private Ejb3Column[] | |
| private String | |
| private final Properties | |
| private Ejb3JoinColumn[] | |
| private boolean | |
| protected IndexColumn | |
| private static final List | |
| protected Map | |
| private boolean | |
| private Ejb3JoinColumn[] | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Ejb3JoinColumn[] | |
| private OrderBy | |
| protected HashMap | |
| private static final CoreMessageLogger | |
| private Ejb3Column[] | |
| private Ejb3JoinColumn[] | |
| protected String | |
| private String | |
| private SortNatural | |
| private NotFoundAction | |
| private boolean | |
| private XProperty | |
| pack-priv PropertyHolder | |
| protected String | |
| private OrderBy | |
| private TableBinder | |
| private XClass | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| private void | |
| public void | |
| private static void | bindCollectionSecondPass(Collection collValue, PersistentClass collectionEntity, Ejb3JoinColumn[] joinColumns, boolean cascadeDeleteEnabled, XProperty property, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext)
|
| private void | |
| public static void | bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)
bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithm |
| private void | bindManyToManySecondPass(Collection collValue, Map<String, PersistentClass> persistentClasses, Ejb3JoinColumn[] joinColumns, Ejb3JoinColumn[] inverseJoinColumns, Ejb3Column[] elementColumns, boolean isEmbedded, XClass collType, NotFoundAction notFoundAction, boolean unique, boolean cascadeDeleteEnabled, TableBinder associationTableBinder, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext buildingContext)
|
| protected void | bindOneToManySecondPass(Collection collection, Map<String, PersistentClass> persistentClasses, Ejb3JoinColumn[] fkJoinColumns, XClass collectionType, boolean cascadeDeleteEnabled, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext, Map<XClass, InheritanceState> inheritanceStatePerClass)
|
| protected boolean | bindStarToManySecondPass(Map<String, PersistentClass> persistentClasses, XClass collType, Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, XProperty property, boolean unique, TableBinder associationTableBinder, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext)
return true if it's a Fk, false if it's an association table |
| private static SimpleValue | buildCollectionKey(Collection collValue, Ejb3JoinColumn[] joinColumns, boolean cascadeDeleteEnabled, boolean noConstraintByDefault, XProperty property, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext)
|
| private AnnotationException | |
| private static String | |
| private static void | |
| protected abstract Collection | |
| private void | |
| private String | |
| private static CollectionBinder | getBinderFromBasicCollectionType(Class<?> clazz, XProperty property, String entityName, boolean isIndexed)
|
| protected MetadataBuildingContext | |
| public Collection | |
| public static CollectionBinder | getCollectionBinder(String entityName, XProperty property, boolean isIndexed, boolean isHibernateExtensionMapping, MetadataBuildingContext buildingContext)
collection binder factory |
| private XClass | |
| private String | |
| private String | |
| public NotFoundAction | |
| public SecondPass | getSecondPass(final Ejb3JoinColumn[] fkJoinColumns, final Ejb3JoinColumn[] keyColumns, final Ejb3JoinColumn[] inverseColumns, final Ejb3Column[] elementColumns, final Ejb3Column[] mapKeyColumns, final Ejb3JoinColumn[] mapKeyManyToManyColumns, final boolean isEmbedded, final XProperty property, final XClass collType, final NotFoundAction notFoundAction, final boolean unique, final TableBinder assocTableBinder, final MetadataBuildingContext buildingContext)
|
| private static Class | |
| protected boolean | |
| public boolean | |
| private String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| accessType | back to summary |
|---|---|
| private AccessType accessType | |
| batchSize | back to summary |
|---|---|
| private int batchSize | |
| buildingContext | back to summary |
|---|---|
| private MetadataBuildingContext buildingContext | |
| cacheConcurrencyStrategy | back to summary |
|---|---|
| private String cacheConcurrencyStrategy | |
| cacheRegionName | back to summary |
|---|---|
| private String cacheRegionName | |
| cascadeDeleteEnabled | back to summary |
|---|---|
| protected boolean cascadeDeleteEnabled | |
| cascadeStrategy | back to summary |
|---|---|
| private String cascadeStrategy | |
| collection | back to summary |
|---|---|
| protected Collection collection | |
| collectionType | back to summary |
|---|---|
| private XClass collectionType | |
| comparatorSort | back to summary |
|---|---|
| private SortComparator comparatorSort | |
| declaringClass | back to summary |
|---|---|
| private XClass declaringClass | |
| declaringClassSet | back to summary |
|---|---|
| private boolean declaringClassSet | |
| deprecatedSort | back to summary |
|---|---|
| private Sort deprecatedSort
Deprecated as a consequence of | |
| elementColumns | back to summary |
|---|---|
| private Ejb3Column[] elementColumns | |
| explicitType | back to summary |
|---|---|
| private String explicitType | |
| explicitTypeParameters | back to summary |
|---|---|
| private final Properties explicitTypeParameters | |
| fkJoinColumns | back to summary |
|---|---|
| private Ejb3JoinColumn[] fkJoinColumns | |
| hibernateExtensionMapping | back to summary |
|---|---|
| private boolean hibernateExtensionMapping | |
| indexColumn | back to summary |
|---|---|
| protected IndexColumn indexColumn | |
| INFERRED_CLASS_PRIORITY | back to summary |
|---|---|
| private static final List<Class<?>> INFERRED_CLASS_PRIORITY | |
| inheritanceStatePerClass | back to summary |
|---|---|
| protected Map<XClass, InheritanceState> inheritanceStatePerClass | |
| insertable | back to summary |
|---|---|
| private boolean insertable | |
| inverseJoinColumns | back to summary |
|---|---|
| private Ejb3JoinColumn[] inverseJoinColumns | |
| isEmbedded | back to summary |
|---|---|
| private boolean isEmbedded | |
| isExplicitAssociationTable | back to summary |
|---|---|
| private boolean isExplicitAssociationTable | |
| isSortedCollection | back to summary |
|---|---|
| private boolean isSortedCollection | |
| joinColumns | back to summary |
|---|---|
| private Ejb3JoinColumn[] joinColumns | |
| jpaOrderBy | back to summary |
|---|---|
| private OrderBy jpaOrderBy | |
| localGenerators | back to summary |
|---|---|
| protected HashMap<String, IdentifierGeneratorDefinition> localGenerators | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| mapKeyColumns | back to summary |
|---|---|
| private Ejb3Column[] mapKeyColumns | |
| mapKeyManyToManyColumns | back to summary |
|---|---|
| private Ejb3JoinColumn[] mapKeyManyToManyColumns | |
| mapKeyPropertyName | back to summary |
|---|---|
| protected String mapKeyPropertyName | |
| mappedBy | back to summary |
|---|---|
| private String mappedBy | |
| naturalSort | back to summary |
|---|---|
| private SortNatural naturalSort | |
| notFoundAction | back to summary |
|---|---|
| private NotFoundAction notFoundAction | |
| oneToMany | back to summary |
|---|---|
| private boolean oneToMany | |
| property | back to summary |
|---|---|
| private XProperty property | |
| propertyHolder | back to summary |
|---|---|
| pack-priv PropertyHolder propertyHolder | |
| propertyName | back to summary |
|---|---|
| protected String propertyName | |
| sqlOrderBy | back to summary |
|---|---|
| private OrderBy sqlOrderBy | |
| tableBinder | back to summary |
|---|---|
| private TableBinder tableBinder | |
| targetEntity | back to summary |
|---|---|
| private XClass targetEntity | |
| updatable | back to summary |
|---|---|
| private boolean updatable | |
| CollectionBinder | back to summary |
|---|---|
| protected CollectionBinder(boolean isSortedCollection) | |
| adjustUserSuppliedValueCollectionOrderingFragment | back to summary |
|---|---|
| public static String adjustUserSuppliedValueCollectionOrderingFragment(String orderByFragment) | |
| applySortingAndOrdering | back to summary |
|---|---|
| private void applySortingAndOrdering(Collection collection) | |
| bind | back to summary |
|---|---|
| public void bind() | |
| bindCollectionSecondPass | back to summary |
|---|---|
| private static void bindCollectionSecondPass(Collection collValue, PersistentClass collectionEntity, Ejb3JoinColumn[] joinColumns, boolean cascadeDeleteEnabled, XProperty property, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext) | |
| bindFilters | back to summary |
|---|---|
| private void bindFilters(boolean hasAssociationTable) | |
| bindManytoManyInverseFk | back to summary |
|---|---|
| public static void bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext) bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithm | |
| bindManyToManySecondPass | back to summary |
|---|---|
| private void bindManyToManySecondPass(Collection collValue, Map<String, PersistentClass> persistentClasses, Ejb3JoinColumn[] joinColumns, Ejb3JoinColumn[] inverseJoinColumns, Ejb3Column[] elementColumns, boolean isEmbedded, XClass collType, NotFoundAction notFoundAction, boolean unique, boolean cascadeDeleteEnabled, TableBinder associationTableBinder, XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext buildingContext) throws MappingException | |
| bindOneToManySecondPass | back to summary |
|---|---|
| protected void bindOneToManySecondPass(Collection collection, Map<String, PersistentClass> persistentClasses, Ejb3JoinColumn[] fkJoinColumns, XClass collectionType, boolean cascadeDeleteEnabled, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext, Map<XClass, InheritanceState> inheritanceStatePerClass) | |
| bindStarToManySecondPass | back to summary |
|---|---|
| protected boolean bindStarToManySecondPass(Map<String, PersistentClass> persistentClasses, XClass collType, Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, XProperty property, boolean unique, TableBinder associationTableBinder, NotFoundAction notFoundAction, MetadataBuildingContext buildingContext) return true if it's a Fk, false if it's an association table | |
| buildCollectionKey | back to summary |
|---|---|
| private static SimpleValue buildCollectionKey(Collection collValue, Ejb3JoinColumn[] joinColumns, boolean cascadeDeleteEnabled, boolean noConstraintByDefault, XProperty property, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext) | |
| buildIllegalSortCombination | back to summary |
|---|---|
| private AnnotationException buildIllegalSortCombination() | |
| buildOrderByClauseFromHql | back to summary |
|---|---|
| private static String buildOrderByClauseFromHql(String orderByFragment, PersistentClass associatedClass, String role) | |
| checkFilterConditions | back to summary |
|---|---|
| private static void checkFilterConditions(Collection collValue) | |
| createCollection | back to summary |
|---|---|
| protected abstract Collection createCollection(PersistentClass persistentClass) | |
| defineFetchingStrategy | back to summary |
|---|---|
| private void defineFetchingStrategy() | |
| extractHqlOrderBy | back to summary |
|---|---|
| private String extractHqlOrderBy(OrderBy jpaOrderBy) | |
| getBinderFromBasicCollectionType | back to summary |
|---|---|
| private static CollectionBinder getBinderFromBasicCollectionType(Class<?> clazz, XProperty property, String entityName, boolean isIndexed) | |
| getBuildingContext | back to summary |
|---|---|
| protected MetadataBuildingContext getBuildingContext() | |
| getCollection | back to summary |
|---|---|
| public Collection getCollection() | |
| getCollectionBinder | back to summary |
|---|---|
| public static CollectionBinder getCollectionBinder(String entityName, XProperty property, boolean isIndexed, boolean isHibernateExtensionMapping, MetadataBuildingContext buildingContext) collection binder factory | |
| getCollectionType | back to summary |
|---|---|
| private XClass getCollectionType() | |
| getCondition | back to summary |
|---|---|
| private String getCondition(Filter filter) | |
| getCondition | back to summary |
|---|---|
| private String getCondition(String cond, String name) | |
| getNotFoundAction | back to summary |
|---|---|
| public NotFoundAction getNotFoundAction() | |
| getSecondPass | back to summary |
|---|---|
| public SecondPass getSecondPass(final Ejb3JoinColumn[] fkJoinColumns, final Ejb3JoinColumn[] keyColumns, final Ejb3JoinColumn[] inverseColumns, final Ejb3Column[] elementColumns, final Ejb3Column[] mapKeyColumns, final Ejb3JoinColumn[] mapKeyManyToManyColumns, final boolean isEmbedded, final XProperty property, final XClass collType, final NotFoundAction notFoundAction, final boolean unique, final TableBinder assocTableBinder, final MetadataBuildingContext buildingContext) | |
| inferCollectionClassFromSubclass | back to summary |
|---|---|
| private static Class | |
| isHibernateExtensionMapping | back to summary |
|---|---|
| protected boolean isHibernateExtensionMapping() | |
| isMap | back to summary |
|---|---|
| public boolean isMap() | |
| safeCollectionRole | back to summary |
|---|---|
| private String safeCollectionRole() | |
| setAccessType | back to summary |
|---|---|
| public void setAccessType(AccessType accessType) | |
| setBatchSize | back to summary |
|---|---|
| public void setBatchSize(BatchSize batchSize) | |
| setBuildingContext | back to summary |
|---|---|
| public void setBuildingContext(MetadataBuildingContext buildingContext) | |
| setCache | back to summary |
|---|---|
| public void setCache(Cache cacheAnn) | |
| setCascadeDeleteEnabled | back to summary |
|---|---|
| public void setCascadeDeleteEnabled(boolean onDeleteCascade) | |
| setCascadeStrategy | back to summary |
|---|---|
| public void setCascadeStrategy(String cascadeStrategy) | |
| setCollectionType | back to summary |
|---|---|
| public void setCollectionType(XClass collectionType) | |
| setComparatorSort | back to summary |
|---|---|
| public void setComparatorSort(SortComparator comparatorSort) | |
| setDeclaringClass | back to summary |
|---|---|
| public void setDeclaringClass(XClass declaringClass) | |
| setElementColumns | back to summary |
|---|---|
| public void setElementColumns(Ejb3Column[] elementColumns) | |
| setEmbedded | back to summary |
|---|---|
| public void setEmbedded(boolean annotationPresent) | |
| setExplicitAssociationTable | back to summary |
|---|---|
| public void setExplicitAssociationTable(boolean explicitAssocTable) | |
| setFkJoinColumns | back to summary |
|---|---|
| public void setFkJoinColumns(Ejb3JoinColumn[] ejb3JoinColumns) | |
| setIgnoreNotFound | back to summary |
|---|---|
| public void setIgnoreNotFound(boolean ignoreNotFound) | |
| setIndexColumn | back to summary |
|---|---|
| public void setIndexColumn(IndexColumn indexColumn) | |
| setInheritanceStatePerClass | back to summary |
|---|---|
| public void setInheritanceStatePerClass(Map<XClass, InheritanceState> inheritanceStatePerClass) | |
| setInsertable | back to summary |
|---|---|
| public void setInsertable(boolean insertable) | |
| setInverseJoinColumns | back to summary |
|---|---|
| public void setInverseJoinColumns(Ejb3JoinColumn[] inverseJoinColumns) | |
| setIsHibernateExtensionMapping | back to summary |
|---|---|
| protected void setIsHibernateExtensionMapping(boolean hibernateExtensionMapping) | |
| setJoinColumns | back to summary |
|---|---|
| public void setJoinColumns(Ejb3JoinColumn[] joinColumns) | |
| setJpaOrderBy | back to summary |
|---|---|
| public void setJpaOrderBy(OrderBy jpaOrderBy) | |
| setLocalGenerators | back to summary |
|---|---|
| public void setLocalGenerators(HashMap<String, IdentifierGeneratorDefinition> localGenerators) | |
| setMapKey | back to summary |
|---|---|
| public void setMapKey(MapKey key) | |
| setMapKeyColumns | back to summary |
|---|---|
| public void setMapKeyColumns(Ejb3Column[] mapKeyColumns) | |
| setMapKeyManyToManyColumns | back to summary |
|---|---|
| public void setMapKeyManyToManyColumns(Ejb3JoinColumn[] mapJoinColumns) | |
| setMappedBy | back to summary |
|---|---|
| public void setMappedBy(String mappedBy) | |
| setNaturalSort | back to summary |
|---|---|
| public void setNaturalSort(SortNatural naturalSort) | |
| setNotFoundAction | back to summary |
|---|---|
| public void setNotFoundAction(NotFoundAction notFoundAction) | |
| setOneToMany | back to summary |
|---|---|
| public void setOneToMany(boolean oneToMany) | |
| setProperty | back to summary |
|---|---|
| public void setProperty(XProperty property) | |
| setPropertyHolder | back to summary |
|---|---|
| public void setPropertyHolder(PropertyHolder propertyHolder) | |
| setPropertyName | back to summary |
|---|---|
| public void setPropertyName(String propertyName) | |
| setSort | back to summary |
|---|---|
| public void setSort(Sort deprecatedSort)
Deprecated as a consequence of | |
| setSqlOrderBy | back to summary |
|---|---|
| public void setSqlOrderBy(OrderBy sqlOrderBy) | |
| setTableBinder | back to summary |
|---|---|
| public void setTableBinder(TableBinder tableBinder) | |
| setTargetEntity | back to summary |
|---|---|
| public void setTargetEntity(XClass targetEntity) | |
| setUpdatable | back to summary |
|---|---|
| public void setUpdatable(boolean updatable) | |