Module Mal4J

Class Person

java.lang.Object
dev.katsute.mal4j.people.Person
All Implemented Interfaces:
ID

public abstract class Person extends Object implements ID
Represents a person.
Since:
3.2.0
Version:
3.4.0
Author:
Katsute
See Also:
  • Constructor Details

    • Person

      public Person()
  • Method Details

    • getFirstName

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

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

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

      public abstract Date getBirthday()
      Returns the birthday.
      Returns:
      birthday
      Since:
      3.2.0
    • getMainPicture

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

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

      public abstract String getMore()
      Returns the more field.
      Returns:
      more fields
      Since:
      3.4.0
      See Also:
    • getMoreDetails

      public abstract Map<String,String> getMoreDetails()
      Returns more details as a map. Sorted in the same order as getMore(), more content is saved under the * key.
      Returns:
      more fields
      Since:
      3.4.0
      See Also: