net.anidb
Class AnimeNotificationType

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

public class AnimeNotificationType
extends java.lang.Object

The type of the anime notification.

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

Field Summary
static AnimeNotificationType ALL
          All.
static AnimeNotificationType COMPLETE
          Complete.
static AnimeNotificationType GROUP
          Group.
static AnimeNotificationType NEW
          New.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static AnimeNotificationType 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

ALL

public static final AnimeNotificationType ALL
All.


NEW

public static final AnimeNotificationType NEW
New.


GROUP

public static final AnimeNotificationType GROUP
Group.


COMPLETE

public static final AnimeNotificationType COMPLETE
Complete.

Method Detail

getInstance

public static AnimeNotificationType 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