net.anidb
Class AnimeCharacterType

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

public class AnimeCharacterType
extends java.lang.Object

The type of the character in a specific anime.

Version:
1.0, 25.12.2009
Author:
grizzlyxp (http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935)
See Also:
AnimeCharacter.getType(), AnimeCharacter.setType(Integer)

Field Summary
static AnimeCharacterType APPEARS_IN
          Appears in.
static AnimeCharacterType CAMEO_APPEARANCE_IN
          Cameo appearance in.
static AnimeCharacterType MAIN_CHARACTER_IN
          Main character in.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static AnimeCharacterType getInstance(int value)
          Returns an instance of the class for the given value.
 long getValue()
          Returns the value.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPEARS_IN

public static final AnimeCharacterType APPEARS_IN
Appears in.


CAMEO_APPEARANCE_IN

public static final AnimeCharacterType CAMEO_APPEARANCE_IN
Cameo appearance in.


MAIN_CHARACTER_IN

public static final AnimeCharacterType MAIN_CHARACTER_IN
Main character in.

Method Detail

getInstance

public static AnimeCharacterType getInstance(int value)
Returns an instance of the class for the given value.

Parameters:
value - The value.
Returns:
The instance of null, if there is no instance for the given value.

getValue

public long getValue()
Returns the value.

Returns:
The value.

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