Class Author.Builder

java.lang.Object
com.attribyte.parser.model.Author.Builder
Enclosing class:
Author

public static class Author.Builder extends Object
Builds immutable authors.
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      The id.
    • setId

      public Author.Builder setId(String id)
      Sets the id.
      Parameters:
      id - The id.
      Returns:
      A self-reference.
    • getName

      public String getName()
      Gets the name.
      Returns:
      The name.
    • getEmail

      public String getEmail()
      Gets the email.
      Returns:
      The email.
    • setEmail

      public Author.Builder setEmail(String email)
      Sets the email.
      Parameters:
      email - The Email.
      Returns:
      A self-reference.
    • getLink

      public String getLink()
      Gets the link.
      Returns:
      The link.
    • setLink

      public Author.Builder setLink(String link)
      Sets the link.
      Parameters:
      link - The link.
      Returns:
      A self-reference.
    • getDisplayName

      public String getDisplayName()
      Gets the display name.
      Returns:
      The display name.
    • setDisplayName

      public Author.Builder setDisplayName(String displayName)
      Sets the display name.
      Parameters:
      displayName - The display name.
      Returns:
      A self-reference.
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      The description.
    • setDescription

      public Author.Builder setDescription(String description)
      Sets the description.
      Parameters:
      description - The description.
      Returns:
      A self-reference.
    • getImage

      public Image getImage()
      Gets the image.
      Returns:
      the image.
    • setImage

      public Author.Builder setImage(Image image)
      Sets the image.
      Parameters:
      image - The image.
      Returns:
      A self-reference.
    • build

      public Author build()
      Builds an immutable author.
      Returns:
      The author.