net.anidb
Class Character

java.lang.Object
  extended by net.anidb.Character

public class Character
extends java.lang.Object

An anime character.

Version:
1.0, 19.12.2009
Author:
grizzlyxp (http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935)

Constructor Summary
Character()
          Creates a character.
Character(java.lang.Long characterId, java.lang.String kanjiName, java.lang.String nameTranscription, java.lang.String picname, java.util.List<AnimeCharacter> animeList, java.util.List<java.lang.Integer> episodeList, java.lang.Long lastUpdateDate)
          Creates a character.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<AnimeCharacter> getAnimeList()
          Returns the anime list.
 java.lang.Long getCharacterId()
          Returns the character Id.
 java.util.List<java.lang.Integer> getEpisodeList()
          Returns the episode list.
 java.lang.String getKanjiName()
          Returns the kanji name.
 java.lang.Long getLastUpdateDate()
          Returns the date of the last update.
 java.lang.String getNameTranscription()
          Returns the name transcription.
 java.lang.String getPicname()
          Returns the picname.
 int hashCode()
           
 void setAnimeList(java.util.List<AnimeCharacter> animeList)
          Sets the anime list.
 void setCharacterId(java.lang.Long characterId)
          Sets the character Id.
 void setEpisodeList(java.util.List<java.lang.Integer> episodeList)
          Sets the episode list.
 void setKanjiName(java.lang.String kanjiName)
          Sets the kanji name.
 void setLastUpdateDate(java.lang.Long lastUpdateDate)
          Sets the date of the last update.
 void setNameTranscription(java.lang.String nameTranscription)
          Sets the name transcription.
 void setPicname(java.lang.String picname)
          Sets the picname.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Character

public Character()
Creates a character.


Character

public Character(java.lang.Long characterId,
                 java.lang.String kanjiName,
                 java.lang.String nameTranscription,
                 java.lang.String picname,
                 java.util.List<AnimeCharacter> animeList,
                 java.util.List<java.lang.Integer> episodeList,
                 java.lang.Long lastUpdateDate)
Creates a character.

Parameters:
characterId - The character Id.
kanjiName - The kanji name.
nameTranscription - The name transcription.
picname - The picname.
animeList - The anime list.
episodeList - The episode list.
lastUpdateDate - The date of the last update.
Method Detail

getCharacterId

public java.lang.Long getCharacterId()
Returns the character Id.

Returns:
The character Id or null, if the character Id isn't set.

setCharacterId

public void setCharacterId(java.lang.Long characterId)
Sets the character Id.

Parameters:
characterId - The character Id.

getKanjiName

public java.lang.String getKanjiName()
Returns the kanji name.

Returns:
The kanji name or null, if the kanji name isn't set.

setKanjiName

public void setKanjiName(java.lang.String kanjiName)
Sets the kanji name.

Parameters:
kanjiName - The kanji name.

getNameTranscription

public java.lang.String getNameTranscription()
Returns the name transcription.

Returns:
The name transcription or null, if the name transcription is null.

setNameTranscription

public void setNameTranscription(java.lang.String nameTranscription)
Sets the name transcription.

Parameters:
nameTranscription - The name transcription.

getPicname

public java.lang.String getPicname()
Returns the picname.

Returns:
The picname or null, if the picname isn't set.

setPicname

public void setPicname(java.lang.String picname)
Sets the picname.

Parameters:
picname - The picname.

getAnimeList

public java.util.List<AnimeCharacter> getAnimeList()
Returns the anime list.

Returns:
The anime list or null, if the anime list isn't set.

setAnimeList

public void setAnimeList(java.util.List<AnimeCharacter> animeList)
Sets the anime list.

Parameters:
animeList - The anime list.

getEpisodeList

public java.util.List<java.lang.Integer> getEpisodeList()
Returns the episode list.

Returns:
The episode list or null, if the episode list isn't set.

setEpisodeList

public void setEpisodeList(java.util.List<java.lang.Integer> episodeList)
Sets the episode list.

Parameters:
episodeList - The episode list.

getLastUpdateDate

public java.lang.Long getLastUpdateDate()
Returns the date of the last update.

Returns:
The date or null, if the date isn't set.

setLastUpdateDate

public void setLastUpdateDate(java.lang.Long lastUpdateDate)
Sets the date of the last update.

Parameters:
lastUpdateDate - The date.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object