net.anidb
Class MyListFileState

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

public class MyListFileState
extends java.lang.Object

The file state of a MyList entry.

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

Field Summary
static MyListFileState CORRUPTED_VERSION
          Currupted version / invalid crc.
static MyListFileState IN_THEATERS
          In theaters.
static MyListFileState NORMAL
          Normal / original.
static MyListFileState ON_DVD
          On DVD.
static MyListFileState ON_TV
          On TV.
static MyListFileState ON_VHS
          On VHS.
static MyListFileState OTHER
          Other.
static MyListFileState SELF_EDITED
          Self edited.
static MyListFileState SELF_RIPPED
          Self ripped.
static MyListFileState STREAMED
          Streamed.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static MyListFileState 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

NORMAL

public static final MyListFileState NORMAL
Normal / original.


CORRUPTED_VERSION

public static final MyListFileState CORRUPTED_VERSION
Currupted version / invalid crc.


SELF_EDITED

public static final MyListFileState SELF_EDITED
Self edited.


SELF_RIPPED

public static final MyListFileState SELF_RIPPED
Self ripped.


ON_DVD

public static final MyListFileState ON_DVD
On DVD.


ON_VHS

public static final MyListFileState ON_VHS
On VHS.


ON_TV

public static final MyListFileState ON_TV
On TV.


IN_THEATERS

public static final MyListFileState IN_THEATERS
In theaters.


STREAMED

public static final MyListFileState STREAMED
Streamed.


OTHER

public static final MyListFileState OTHER
Other.

Method Detail

getInstance

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