public interface AssociationVisitationStrategy
start() and finish() are called at the start and at the finish of the process.
 
 Walking might start with an entity or a collection depending on where the walker is asked to start.  When starting
 with an entity, startingEntity(org.hibernate.persister.walking.spi.EntityDefinition)/finishingEntity(org.hibernate.persister.walking.spi.EntityDefinition) ()} will be the outer set of calls.  When starting
 with a collection, startingCollection(org.hibernate.persister.walking.spi.CollectionDefinition)/finishingCollection(org.hibernate.persister.walking.spi.CollectionDefinition) will be the outer set of calls.| Modifier and Type | Method and Description | 
|---|---|
void | 
associationKeyRegistered(AssociationKey associationKey)  | 
void | 
finish()
Notification we are finished visitation. 
 | 
void | 
finishingAttribute(AttributeDefinition attributeDefinition)
Notification that we are finishing walking an attribute. 
 | 
void | 
finishingCollection(CollectionDefinition collectionDefinition)
Notification that we are finishing walking a collection 
 | 
void | 
finishingCollectionElements(CollectionElementDefinition elementDefinition)
Notification that we are finishing walking the elements of a collection (List/Map). 
 | 
void | 
finishingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
Notification that we are finishing walking the index of a collection (List/Map). 
 | 
void | 
finishingComposite(CompositionDefinition compositionDefinition)
Notification that we are done walking a composite. 
 | 
void | 
finishingEntity(EntityDefinition entityDefinition)
Notification we are finishing walking an entity. 
 | 
void | 
finishingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
Notification we are finishing walking an entity. 
 | 
void | 
foundAny(AnyMappingDefinition anyDefinition)  | 
void | 
foundCircularAssociation(AssociationAttributeDefinition attributeDefinition)  | 
boolean | 
isDuplicateAssociationKey(AssociationKey associationKey)  | 
FetchSource | 
registeredFetchSource(AssociationKey associationKey)  | 
void | 
start()
Notification we are preparing to start visitation. 
 | 
boolean | 
startingAttribute(AttributeDefinition attributeDefinition)
Notification that we are preparing to walk an attribute. 
 | 
void | 
startingCollection(CollectionDefinition collectionDefinition)
Notification that we are starting to walk a collection 
 | 
void | 
startingCollectionElements(CollectionElementDefinition elementDefinition)
Notification that we are starting to look at the element definition for the collection. 
 | 
void | 
startingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
Notification that we are starting to walk the index of a collection (List/Map). 
 | 
void | 
startingComposite(CompositionDefinition compositionDefinition)
Notification that we are preparing to walk a composite. 
 | 
void | 
startingEntity(EntityDefinition entityDefinition)
Notification we are starting to walk an entity. 
 | 
void | 
startingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
Notification we are starting to walk the identifier of an entity. 
 | 
void start()
void finish()
void startingEntity(EntityDefinition entityDefinition)
entityDefinition - The entity we are preparing to walkvoid finishingEntity(EntityDefinition entityDefinition)
entityDefinition - The entity we are finishing walking.void startingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
entityIdentifierDefinition - The identifier we are preparing to walkvoid finishingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
entityIdentifierDefinition - The identifier we are finishing walking.void startingCollection(CollectionDefinition collectionDefinition)
collectionDefinition - The collection we are preparing to walkvoid finishingCollection(CollectionDefinition collectionDefinition)
collectionDefinition - The collection we are finishingvoid startingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
startingEntity(org.hibernate.persister.walking.spi.EntityDefinition)collectionIndexDefinition - The collection index we are preparing to walk.void finishingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
collectionIndexDefinition - The collection index we are finishingvoid startingCollectionElements(CollectionElementDefinition elementDefinition)
startingEntity(org.hibernate.persister.walking.spi.EntityDefinition)elementDefinition - The collection element we are preparing to walk..void finishingCollectionElements(CollectionElementDefinition elementDefinition)
elementDefinition - The collection element we are finishingvoid startingComposite(CompositionDefinition compositionDefinition)
startingEntityIdentifier(org.hibernate.persister.walking.spi.EntityIdentifierDefinition) if you need to hook into walking the top-level cid composite.
     compositionDefinition - The composite we are preparing to walk.void finishingComposite(CompositionDefinition compositionDefinition)
startingComposite(org.hibernate.persister.walking.spi.CompositionDefinition)compositionDefinition - The composite we are finishingboolean startingAttribute(AttributeDefinition attributeDefinition)
startingEntity(org.hibernate.persister.walking.spi.EntityDefinition)
 (one-to-one, many-to-one), startingComposite(org.hibernate.persister.walking.spi.CompositionDefinition), or startingCollection(org.hibernate.persister.walking.spi.CollectionDefinition).attributeDefinition - The attribute we are preparing to walk.true if the walking should continue; false if walking should stop.void finishingAttribute(AttributeDefinition attributeDefinition)
attributeDefinition - The attribute we are done walkingvoid foundAny(AnyMappingDefinition anyDefinition)
void associationKeyRegistered(AssociationKey associationKey)
FetchSource registeredFetchSource(AssociationKey associationKey)
void foundCircularAssociation(AssociationAttributeDefinition attributeDefinition)
boolean isDuplicateAssociationKey(AssociationKey associationKey)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.