@Service public class DataStructureCrossReferenceUpdaterEngineImpl extends ComponentCrossReferenceUpdater implements DataStructureCrossReferenceUpdaterEngine
Constructor and Description |
---|
DataStructureCrossReferenceUpdaterEngineImpl() |
Modifier and Type | Method and Description |
---|---|
DataStructureBean |
updateReferences(DataStructureBean maintianable,
java.util.Map<StructureReferenceBean,StructureReferenceBean> updateReferences,
java.lang.String newVersionNumber)
Updates the maintainable (T) by altering any references that exist in the key of the updateReferences Map, to the corresponding value in the Map, the version
of the maintainable is also changed to the newVersionNumber.
|
public DataStructureCrossReferenceUpdaterEngineImpl()
public DataStructureBean updateReferences(DataStructureBean maintianable, java.util.Map<StructureReferenceBean,StructureReferenceBean> updateReferences, java.lang.String newVersionNumber)
CrossReferenceUpdaterEngine
updateReferences
in interface CrossReferenceUpdaterEngine<DataStructureBean>
maintianable
- the maintainable to alterupdateReferences
- the references from/to mapnewVersionNumber
- the version number to give the new maintainable