Package com.attribyte.parser.model
Class Author.Builder
java.lang.Object
com.attribyte.parser.model.Author.Builder
- Enclosing class:
Author
Builds immutable authors.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an immutable author.Gets the description.Gets the display name.getEmail()Gets the email.getId()Gets the id.getImage()Gets the image.getLink()Gets the link.getName()Gets the name.setDescription(String description) Sets the description.setDisplayName(String displayName) Sets the display name.Sets the email.Sets the id.Sets the image.Sets the link.
-
Method Details
-
getId
Gets the id.- Returns:
- The id.
-
setId
Sets the id.- Parameters:
id- The id.- Returns:
- A self-reference.
-
getName
Gets the name.- Returns:
- The name.
-
getEmail
Gets the email.- Returns:
- The email.
-
setEmail
Sets the email.- Parameters:
email- The Email.- Returns:
- A self-reference.
-
getLink
Gets the link.- Returns:
- The link.
-
setLink
Sets the link.- Parameters:
link- The link.- Returns:
- A self-reference.
-
getDisplayName
Gets the display name.- Returns:
- The display name.
-
setDisplayName
Sets the display name.- Parameters:
displayName- The display name.- Returns:
- A self-reference.
-
getDescription
Gets the description.- Returns:
- The description.
-
setDescription
Sets the description.- Parameters:
description- The description.- Returns:
- A self-reference.
-
getImage
Gets the image.- Returns:
- the image.
-
setImage
Sets the image.- Parameters:
image- The image.- Returns:
- A self-reference.
-
build
Builds an immutable author.- Returns:
- The author.
-