net.anidb
Class GroupStatusState

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

public class GroupStatusState
extends java.lang.Object

The group status state.

Version:
1.0, 07.12.2009
Author:
grizzlyxp (http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935)
See Also:
GroupStatus.getCompletionState(), GroupStatus.setCompletionState(Integer)

Field Summary
static GroupStatusState COMPLETE
          Complete.
static GroupStatusState DROPPED
          Dropped.
static GroupStatusState FINISHED
          Finished.
static GroupStatusState ONGOING
          Ongoing.
static GroupStatusState SPECIALS_ONLY
          Specials only.
static GroupStatusState STALLED
          Stalled.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static GroupStatusState getInstance(int value)
          Returns an instance of the class for the given value.
 int getValue()
          Returns the value.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONGOING

public static final GroupStatusState ONGOING
Ongoing.


STALLED

public static final GroupStatusState STALLED
Stalled.


COMPLETE

public static final GroupStatusState COMPLETE
Complete.


DROPPED

public static final GroupStatusState DROPPED
Dropped.


FINISHED

public static final GroupStatusState FINISHED
Finished.


SPECIALS_ONLY

public static final GroupStatusState SPECIALS_ONLY
Specials only.

Method Detail

getInstance

public static GroupStatusState 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 int 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