|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.udp.mask.Mask
net.anidb.udp.mask.AnimeFileMask
public class AnimeFileMask
The anime mask for the FILE
command.
With this mask you can specify which data fields are returned.
Field Summary | |
---|---|
static AnimeFileMask |
ALL
A mask with all fields set. |
static AnimeFileMask |
NONE
A mask with no field set. |
Constructor Summary | |
---|---|
AnimeFileMask(boolean animeTotalEpisode,
boolean highestEpisodeNumber,
boolean year,
boolean type,
boolean relatedAidList,
boolean relatedAidType,
boolean categoryList,
boolean romajiName,
boolean kanjiName,
boolean englishName,
boolean otherNames,
boolean shortNameList,
boolean synonymList,
boolean episodeNumber,
boolean episodeName,
boolean episodeRomajiName,
boolean episodeKanjiName,
boolean episodeRating,
boolean episodeVoteCount,
boolean groupName,
boolean groupShortName,
boolean dateAnimeIdRecordUpdate)
Creates an anime file mask. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getFlagCount()
Returns the count how many flags are set. |
java.lang.String |
getHexMask()
Returns the mask as a hex value. |
long |
getMask()
Returns the mask as a value. |
int |
hashCode()
|
boolean |
isAnimeTotalEpisode()
Returns the total episodes of the anime. |
boolean |
isCategoryList()
Returns the category list. |
boolean |
isDateAnimeIdRecordUpdate()
Returns the date of the anime Id record update. |
boolean |
isEnglishName()
Returns the english name. |
boolean |
isEpisodeKanjiName()
Returns the episode kanji name. |
boolean |
isEpisodeName()
Returns the episode name. |
boolean |
isEpisodeNumber()
Returns the episode number. |
boolean |
isEpisodeRating()
Returns the episode rating. |
boolean |
isEpisodeRomajiName()
Returns the episode romaji name. |
boolean |
isEpisodeVoteCount()
Returns the episode vote count. |
boolean |
isGroupName()
Returns the group name. |
boolean |
isGroupShortName()
Returns the group short name. |
boolean |
isHighestEpisodeNumber()
Returns the highest episode number. |
boolean |
isKanjiName()
Returns the kanji name. |
boolean |
isOtherNames()
Returns the other names list. |
boolean |
isRelatedAidList()
Returns the related anime Id list. |
boolean |
isRelatedAidType()
Returns the related anime Id type. |
boolean |
isRomajiName()
Returns the romaji name. |
boolean |
isShortNameList()
Returns the short name list. |
boolean |
isSynonymList()
Returns the synonym list. |
boolean |
isType()
Returns the type. |
boolean |
isYear()
Returns the year. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AnimeFileMask ALL
public static final AnimeFileMask NONE
Constructor Detail |
---|
public AnimeFileMask(boolean animeTotalEpisode, boolean highestEpisodeNumber, boolean year, boolean type, boolean relatedAidList, boolean relatedAidType, boolean categoryList, boolean romajiName, boolean kanjiName, boolean englishName, boolean otherNames, boolean shortNameList, boolean synonymList, boolean episodeNumber, boolean episodeName, boolean episodeRomajiName, boolean episodeKanjiName, boolean episodeRating, boolean episodeVoteCount, boolean groupName, boolean groupShortName, boolean dateAnimeIdRecordUpdate)
animeTotalEpisode
- The total episodes of the anime.highestEpisodeNumber
- The highest episode number.year
- The year.type
- The type.relatedAidList
- The related anime Id list.relatedAidType
- The related anime Id type.categoryList
- The category list.romajiName
- The romaji name.kanjiName
- The kanji name.englishName
- The english name.otherNames
- The other names list.shortNameList
- The short name list.synonymList
- The synonym list.episodeNumber
- The episode number.episodeName
- The episode name.episodeRomajiName
- The episode romaji name.episodeKanjiName
- The episode kanji name.episodeRating
- The episode rating.episodeVoteCount
- The episode vote count.groupName
- The group name.groupShortName
- The group short name.dateAnimeIdRecordUpdate
- The date of the anime Id record update.Method Detail |
---|
public boolean isAnimeTotalEpisode()
public boolean isHighestEpisodeNumber()
public boolean isYear()
public boolean isType()
public boolean isRelatedAidList()
public boolean isRelatedAidType()
public boolean isCategoryList()
public boolean isRomajiName()
public boolean isKanjiName()
public boolean isEnglishName()
public boolean isOtherNames()
public boolean isShortNameList()
public boolean isSynonymList()
public boolean isEpisodeNumber()
public boolean isEpisodeName()
public boolean isEpisodeRomajiName()
public boolean isEpisodeKanjiName()
public boolean isEpisodeRating()
public boolean isEpisodeVoteCount()
public boolean isGroupName()
public boolean isGroupShortName()
public boolean isDateAnimeIdRecordUpdate()
public long getMask()
Mask
getMask
in class Mask
public java.lang.String getHexMask()
Mask
Returns the mask as a hex value.
The hex value will allways have the constant and full length.
getHexMask
in class Mask
public int getFlagCount()
Mask
getFlagCount
in class Mask
public int hashCode()
hashCode
in class Mask
public boolean equals(java.lang.Object obj)
equals
in class Mask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |