Class ResourceEraseRecordAdapter


  • public class ResourceEraseRecordAdapter
    extends Object
    Adapts the ResourceEraseRecord and EraseDTO to a Parameters object
    • Constructor Detail

      • ResourceEraseRecordAdapter

        public ResourceEraseRecordAdapter()
    • Method Detail

      • adapt

        public Parameters adapt​(ResourceEraseRecord eraseRecord,
                                EraseDTO eraseDto)
        Adapts from an eraseRecord and eraseDto to the Parameters resource and wraps in an output parameters object.
        Parameters:
        eraseRecord - the output from the erase dao
        eraseDto - the input from the user send to the erase dao
        Returns: