public class ReferenceChangeTracker extends Object
Constructor and Description |
---|
ReferenceChangeTracker()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets all internal state.
|
QValue |
getMappedReference(QValue oldReference,
QValueFactory factory)
Returns the new UUID to which
oldUUID has been mapped
or null if no such mapping exists. |
Iterator<PropertyState> |
getReferences() |
void |
mappedUUIDs(String oldUUID,
String newUUID)
Store the given uuid mapping for later lookup using
#adjustReferences(UpdatableItemStateManager, ItemStateValidator) . |
void |
processedReference(PropertyState refPropertyState)
Store the given reference property for later resolution.
|
public void clear()
public void mappedUUIDs(String oldUUID, String newUUID)
#adjustReferences(UpdatableItemStateManager, ItemStateValidator)
.oldUUID
- newUUID
- public QValue getMappedReference(QValue oldReference, QValueFactory factory)
oldUUID
has been mapped
or null
if no such mapping exists.oldReference
- old uuid represented by the given QValue
.factory
- null
if no such mapping existsmappedUUIDs(String,String)
public void processedReference(PropertyState refPropertyState)
refPropertyState
- reference property statepublic Iterator<PropertyState> getReferences()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.