Package edu.wisc.library.ocfl.core.util
Class ResponseMapper
- java.lang.Object
-
- edu.wisc.library.ocfl.core.util.ResponseMapper
-
public class ResponseMapper extends Object
Used to map Inventory objects to API response objects
-
-
Constructor Summary
Constructors Constructor Description ResponseMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileChangeHistoryfileChangeHistory(Inventory inventory, String logicalPath)ObjectDetailsmapInventory(Inventory inventory)VersionDetailsmapVersion(Inventory inventory, VersionNum versionNum, Version version)
-
-
-
Method Detail
-
mapInventory
public ObjectDetails mapInventory(Inventory inventory)
-
mapVersion
public VersionDetails mapVersion(Inventory inventory, VersionNum versionNum, Version version)
-
fileChangeHistory
public FileChangeHistory fileChangeHistory(Inventory inventory, String logicalPath)
-
-