Class ProductArchiveRestMapper
java.lang.Object
de.dlr.proseo.archivemgr.rest.model.ProductArchiveRestMapper
Rest - Model Mapper for Product Archive
- Author:
- Denys Chaykovskiy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductArchiveRestMapper(RestProductArchive restArchive, String mission) Constructor with restArchive parameter -
Method Summary
-
Field Details
-
mission
String missionMission
-
-
Constructor Details
-
ProductArchiveRestMapper
Constructor with restArchive parameter- Parameters:
restArchive- rest archivemission- the mission code
-
-
Method Details
-
get
Gets checked in constructor rest product archive- Returns:
- rest product archive
-
toModel
Convert a REST ProductArchive into a prosEO model ProductArchive AvailableProductClasses will not be set here, the field will be null- Returns:
- model Product Archive
- Throws:
IllegalArgumentException- if the REST Product Archive has a wrong archive type
-