|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.EpisodeType
public class EpisodeType
The type of an episode.
Episode.getEpisodeNumber()
,
Episode.setEpisodeNumber(String)
Field Summary | |
---|---|
static EpisodeType |
CREDITS
Credits. |
static EpisodeType |
OTHER
Other. |
static EpisodeType |
PARODY
Parody. |
static EpisodeType |
SPECIAL
Special. |
static EpisodeType |
TRAILER
Trailer. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static EpisodeType |
getInstance(char value)
Returns an instance of the class for the given value. |
static EpisodeType |
getInstance(java.lang.String episodeNumber)
Returns an instance of the class for the given episode number. |
char |
getValue()
Returns the value. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EpisodeType SPECIAL
public static final EpisodeType CREDITS
public static final EpisodeType TRAILER
public static final EpisodeType PARODY
public static final EpisodeType OTHER
Method Detail |
---|
public static EpisodeType getInstance(char value)
value
- The value.
null
, if there is no instance for
the given value.public static EpisodeType getInstance(java.lang.String episodeNumber)
episodeNumber
- The episode number.
null
, if there is no instance for
the episode number or the episode number is null
or an empty
String
.public char getValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |