Module Mal4J

Class Character

java.lang.Object
dev.katsute.mal4j.character.Character
All Implemented Interfaces:
ID

public abstract class Character extends Object implements ID
Represents a character.
Since:
3.1.0
Version:
3.4.0
Author:
Katsute
See Also:
  • Constructor Details

    • Character

      public Character()
  • Method Details

    • getFirstName

      public abstract String getFirstName()
      Returns the first name.
      Returns:
      first name
      Since:
      3.1.0
      See Also:
    • getLastName

      public abstract String getLastName()
      Returns the last name.
      Returns:
      last name
      Since:
      3.1.0
      See Also:
    • getAlternativeNames

      public abstract String[] getAlternativeNames()
      Returns a list of alternative names.
      Returns:
      alternative names
      Since:
      3.1.0
      See Also:
    • getMainPicture

      public abstract Picture getMainPicture()
      Returns the main picture.
      Returns:
      main picture
      Since:
      3.1.0
      See Also:
    • getFavorites

      public abstract Integer getFavorites()
      Returns the number of favorites.
      Returns:
      favorites
      Since:
      3.4.0
    • getPictures

      public abstract Picture[] getPictures()
      Returns the pictures for the character.
      Returns:
      pictures
      Since:
      3.3.0
      See Also:
    • getBiography

      public abstract String getBiography()
      Returns the biography.
      Returns:
      biography
      Since:
      3.1.0
      See Also:
    • getBiographyDetails

      public abstract Map<String,String> getBiographyDetails()
      Returns biography details as a map. Sorted in the same order as getBiography(), biography content is saved under the * key.
      Returns:
      details
      Since:
      3.4.0
      See Also:
    • getAnimeography

      public abstract Animeography[] getAnimeography()
      Returns a list of which Anime the character has appeared in.
      Returns:
      animeography
      Since:
      3.1.0
      See Also: