Package cvut.fel.entity

# Class Author

java.lang.Object
cvut.fel.entity.AbstractEntity
cvut.fel.entity.Author

All Implemented Interfaces:
  `java.io.Serializable`

    @Entity
    public class Author
    extends AbstractEntity

See Also:
  Serialized Form

- ## Field Summary

  ### Fields inherited from class cvut.fel.entity.AbstractEntity

  `id, name`

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `Author()` |
  `Author​(java.lang.String firstname, java.lang.String surname)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `void` | `setFirstname​(java.lang.String firstname)` |
  `void` | `setSurname​(java.lang.String surname)` |
  `java.lang.String` | `toString()` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Author

    public Author()

  - ### Author

    public Author​(java.lang.String firstname, java.lang.String surname)

- ## Method Details

  - ### setFirstname

    public void setFirstname​(java.lang.String firstname)

  - ### setSurname

    public void setSurname​(java.lang.String surname)

  - ### toString

    public java.lang.String toString()
    Overrides:
      `toString` in class `java.lang.Object`