java.lang.Object
dev.katsute.mal4j.character.Character
- All Implemented Interfaces:
ID
Represents a character.
- Since:
- 3.1.0
- Version:
- 3.4.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String[]
Returns a list of alternative names.abstract Animeography[]
Returns a list of which Anime the character has appeared in.abstract String
Returns the biography.Returns biography details as a map.abstract Integer
Returns the number of favorites.abstract String
Returns the first name.abstract String
Returns the last name.abstract Picture
Returns the main picture.abstract Picture[]
Returns the pictures for the character.
-
Constructor Details
-
Character
public Character()
-
-
Method Details
-
getFirstName
Returns the first name.- Returns:
- first name
- Since:
- 3.1.0
- See Also:
-
getLastName
Returns the last name.- Returns:
- last name
- Since:
- 3.1.0
- See Also:
-
getAlternativeNames
Returns a list of alternative names.- Returns:
- alternative names
- Since:
- 3.1.0
- See Also:
-
getMainPicture
Returns the main picture.- Returns:
- main picture
- Since:
- 3.1.0
- See Also:
-
getFavorites
Returns the number of favorites.- Returns:
- favorites
- Since:
- 3.4.0
-
getPictures
Returns the pictures for the character.- Returns:
- pictures
- Since:
- 3.3.0
- See Also:
-
getBiography
Returns the biography.- Returns:
- biography
- Since:
- 3.1.0
- See Also:
-
getBiographyDetails
Returns biography details as a map. Sorted in the same order asgetBiography()
, biography content is saved under the*
key.- Returns:
- details
- Since:
- 3.4.0
- See Also:
-
getAnimeography
Returns a list of which Anime the character has appeared in.- Returns:
- animeography
- Since:
- 3.1.0
- See Also:
-