public class ReFetchTargetVisitor<T,K> extends java.lang.Object implements TransitionFactoryVisitor<T,T,K>
TransitionFactoryVisitor that performs a clean re-fetch of the
target. This is to allow the target to be re-fetched within a database transaction.
Note that this can (and usually does) destroy the original copy of the target.| Constructor and Description |
|---|
ReFetchTargetVisitor(T target) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearTarget() |
T |
visitPathTransitionProvider(PathTransitionProvider<K,T> prov) |
T |
visitTransitionProvider(TransitionProvider<K,T> prov) |
public ReFetchTargetVisitor(T target)
public T visitTransitionProvider(TransitionProvider<K,T> prov)
visitTransitionProvider in interface TransitionFactoryVisitor<T,T,K>public void clearTarget()
public T visitPathTransitionProvider(PathTransitionProvider<K,T> prov)
visitPathTransitionProvider in interface TransitionFactoryVisitor<T,T,K>