Klasse ProductArchiveRestMapper

java.lang.Object
de.dlr.proseo.archivemgr.rest.model.ProductArchiveRestMapper

public class ProductArchiveRestMapper extends Object
Rest - Model Mapper for Product Archive
Autor:
Denys Chaykovskiy
  • Felddetails

    • mission

      String mission
      Mission
  • Konstruktordetails

    • ProductArchiveRestMapper

      public ProductArchiveRestMapper(RestProductArchive restArchive, String mission)
      Constructor with restArchive parameter
      Parameter:
      restArchive - rest archive
      mission - the mission code
  • Methodendetails

    • get

      public RestProductArchive get()
      Gets checked in constructor rest product archive
      Gibt zurück:
      rest product archive
    • toModel

      public ProductArchive toModel() throws IllegalArgumentException
      Convert a REST ProductArchive into a prosEO model ProductArchive AvailableProductClasses will not be set here, the field will be null
      Gibt zurück:
      model Product Archive
      Löst aus:
      IllegalArgumentException - if the REST Product Archive has a wrong archive type