net.anidb
Class NotificationType

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

public class NotificationType
extends java.lang.Object

The type of a notification.

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

Field Summary
static NotificationType MESSAGE
          Message.
static NotificationType NOTIFICATION
          Notification.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static NotificationType getInstance(java.lang.String value)
          Returns an instance of the class for the given value.
 java.lang.String getValue()
          Returns the value.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE

public static final NotificationType MESSAGE
Message.


NOTIFICATION

public static final NotificationType NOTIFICATION
Notification.

Method Detail

getInstance

public static NotificationType getInstance(java.lang.String 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 java.lang.String 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