net.anidb
Class RelatedType

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

public class RelatedType
extends java.lang.Object

The related type.

Version:
1.0, 07.12.2009
Author:
grizzlyxp (http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=63935)
See Also:
Anime.getRelatedAidType(), Anime.setRelatedAidType(java.util.List)

Field Summary
static RelatedType ALTERNATIVE_SETTING
          Alternative setting.
static RelatedType ALTERNATIVE_VERSION
          Alternative version.
static RelatedType CHARACTER
          Character.
static RelatedType FULL_STORY
          Full story.
static RelatedType MUSIC_VIDEO
          Music video.
static RelatedType OTHER
          Other.
static RelatedType PARENT_STORY
          Parent story.
static RelatedType PREQUEL
          Prequel.
static RelatedType SAME_SETTING
          Same setting.
static RelatedType SEQUAL
          Sequal.
static RelatedType SIDE_STORY
          Side story.
static RelatedType SUMMARY
          Summary.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static RelatedType getInstance(long 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

SEQUAL

public static final RelatedType SEQUAL
Sequal.


PREQUEL

public static final RelatedType PREQUEL
Prequel.


SAME_SETTING

public static final RelatedType SAME_SETTING
Same setting.


ALTERNATIVE_SETTING

public static final RelatedType ALTERNATIVE_SETTING
Alternative setting.


ALTERNATIVE_VERSION

public static final RelatedType ALTERNATIVE_VERSION
Alternative version.


MUSIC_VIDEO

public static final RelatedType MUSIC_VIDEO
Music video.


CHARACTER

public static final RelatedType CHARACTER
Character.


SIDE_STORY

public static final RelatedType SIDE_STORY
Side story.


PARENT_STORY

public static final RelatedType PARENT_STORY
Parent story.


SUMMARY

public static final RelatedType SUMMARY
Summary.


FULL_STORY

public static final RelatedType FULL_STORY
Full story.


OTHER

public static final RelatedType OTHER
Other.

Method Detail

getInstance

public static RelatedType getInstance(long 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