Package cvut.fel.dto

# Interface DTOMapper

    public interface DTOMapper

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `AddressDTO` | `addressToDto​(Address address)` |
  `AuthorDTO` | `authorToDto​(Author author)` |
  `BookDTO` | `bookToDto​(Book book)` |
  `Address` | `DtoToAddress​(AddressDTO addressDTO)` |
  `Author` | `DtoToAuthor​(AuthorDTO authorDTO)` |
  `LinkDTO` | `entityToLink​(AbstractEntity entity)` |
  `LibraryDTO` | `libraryToDto​(Library library)` |
  `PublisherDTO` | `publisherToDto​(Publisher publisher)` |

- ## Method Details

  - ### authorToDto

    AuthorDTO authorToDto​(Author author)

  - ### DtoToAuthor

    Author DtoToAuthor​(AuthorDTO authorDTO)

  - ### addressToDto

    AddressDTO addressToDto​(Address address)

  - ### DtoToAddress

    Address DtoToAddress​(AddressDTO addressDTO)

  - ### entityToLink

    LinkDTO entityToLink​(AbstractEntity entity)

  - ### bookToDto

    BookDTO bookToDto​(Book book)

  - ### libraryToDto

    LibraryDTO libraryToDto​(Library library)

  - ### publisherToDto

    PublisherDTO publisherToDto​(Publisher publisher)