|
||||||||||
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.AnimeMask
public class AnimeMask
The anime mask for the ANIME
command.
With this mask you can specify which data fields are returned.
Field Summary | |
---|---|
static AnimeMask |
ALL
A mask with all fields set. |
Constructor Summary | |
---|---|
AnimeMask(boolean animeId,
boolean year,
boolean type,
boolean relatedAidList,
boolean relatedAidType,
boolean categoryList,
boolean categoryWeightList,
boolean romajiName,
boolean kanjiName,
boolean englishName,
boolean otherNames,
boolean shortNameList,
boolean synonymList,
boolean episodes,
boolean normalEpisodeCount,
boolean specialEpisodeCount,
boolean airDate,
boolean endDate,
boolean url,
boolean picname,
boolean categoryIdList,
boolean rating,
boolean voteCount,
boolean tempRating,
boolean tempVoteCount,
boolean averageReviewRating,
boolean reviewCount,
boolean awardList,
boolean is18PlusRestricted,
boolean animePlanetId,
boolean annId,
boolean allCinemaId,
boolean animeNfoId,
boolean dateRecordUpdated,
boolean characterIdList,
boolean creatorIdList,
boolean producerIdList,
boolean producerNameList,
boolean specialsCount,
boolean creditsCount,
boolean otherCount,
boolean trailerCount,
boolean parodyCount)
Creates an anime 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 |
is18PlusRestricted()
Returns the 'is 18+ restricted' flag. |
boolean |
isAirDate()
Returns the air date. |
boolean |
isAllCinemaId()
Return ths AllCinema Id. |
boolean |
isAnimeId()
Returns the anime Id. |
boolean |
isAnimeNfoId()
Returns the AnimeNfo Id. |
boolean |
isAnimePlanetId()
Returns the Anime Planet Id. |
boolean |
isAnnId()
Returns the Ann Id. |
boolean |
isAverageReviewRating()
Returns the average review rating. |
boolean |
isAwardList()
Returns the award list. |
boolean |
isCategoryIdList()
Returns the category Id list. |
boolean |
isCategoryList()
Returns the category list. |
boolean |
isCategoryWeightList()
Returns the category weight list. |
boolean |
isCharacterIdList()
Returns the character Id list. |
boolean |
isCreatorIdList()
Returns the creator Id list. |
boolean |
isCreditsCount()
Returns the credits count. |
boolean |
isDateRecordUpdated()
Returns the record update date. |
boolean |
isEndDate()
Returns the end date. |
boolean |
isEnglishName()
Returns the english name. |
boolean |
isEpisodes()
Returns the number of episodes. |
boolean |
isKanjiName()
Returns the kanji name. |
boolean |
isNormalEpisodeCount()
Returns the normal episode count. |
boolean |
isOtherCount()
Returns the other count. |
boolean |
isOtherNames()
Returns the other names list. |
boolean |
isParodyCount()
Returns the parody count. |
boolean |
isPicname()
Returns the picname. |
boolean |
isProducerIdList()
Returns the producer Id list. |
boolean |
isProducerNameList()
Returns the producer name list. |
boolean |
isRating()
Returns the rating. |
boolean |
isRelatedAidList()
Returns the related anime Id list. |
boolean |
isRelatedAidType()
Returns the related anime type. |
boolean |
isReviewCount()
Returns the review count. |
boolean |
isRomajiName()
Returns the romaji name. |
boolean |
isShortNameList()
Returns the short name list. |
boolean |
isSpecialEpisodeCount()
Returns the special episode count. |
boolean |
isSpecialsCount()
Returns the specials count. |
boolean |
isSynonymList()
Returns the synonym list. |
boolean |
isTempRating()
Returns the temporary rating. |
boolean |
isTempVoteCount()
Returns the temporary vote count. |
boolean |
isTrailerCount()
Returns the trailer count. |
boolean |
isType()
Returns the type. |
boolean |
isUrl()
Returns the url. |
boolean |
isVoteCount()
Returns the vote count. |
boolean |
isYear()
Returns the year. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AnimeMask ALL
Constructor Detail |
---|
public AnimeMask(boolean animeId, boolean year, boolean type, boolean relatedAidList, boolean relatedAidType, boolean categoryList, boolean categoryWeightList, boolean romajiName, boolean kanjiName, boolean englishName, boolean otherNames, boolean shortNameList, boolean synonymList, boolean episodes, boolean normalEpisodeCount, boolean specialEpisodeCount, boolean airDate, boolean endDate, boolean url, boolean picname, boolean categoryIdList, boolean rating, boolean voteCount, boolean tempRating, boolean tempVoteCount, boolean averageReviewRating, boolean reviewCount, boolean awardList, boolean is18PlusRestricted, boolean animePlanetId, boolean annId, boolean allCinemaId, boolean animeNfoId, boolean dateRecordUpdated, boolean characterIdList, boolean creatorIdList, boolean producerIdList, boolean producerNameList, boolean specialsCount, boolean creditsCount, boolean otherCount, boolean trailerCount, boolean parodyCount)
animeId
- The anime Id.year
- The year.type
- The type.relatedAidList
- The related anime Id list.relatedAidType
- The related anime type.categoryList
- The category list.categoryWeightList
- The category weight 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.episodes
- The number of episodes.normalEpisodeCount
- The normal episode count.specialEpisodeCount
- The special episode count.airDate
- The air date.endDate
- The end date.url
- The url.picname
- The picname.categoryIdList
- The category Id list.rating
- The rating.voteCount
- The vote count.tempRating
- The temporary rating.tempVoteCount
- The temporary vote count.averageReviewRating
- The average review rating.reviewCount
- The review count.awardList
- The award list.is18PlusRestricted
- The 'is 18+ restricted' flag.animePlanetId
- The Anime Planet Id.annId
- The Ann Id.allCinemaId
- The AllCinema Id.animeNfoId
- The AnimeNfo Id.dateRecordUpdated
- The record update date.characterIdList
- The character Id list.creatorIdList
- The creator Id list.producerIdList
- The producer Id list.producerNameList
- The producer name list.specialsCount
- The specials count.creditsCount
- The credits count.otherCount
- The other count.trailerCount
- The trailer count.parodyCount
- The parody count.Method Detail |
---|
public boolean isAnimeId()
public boolean isYear()
public boolean isType()
public boolean isRelatedAidList()
public boolean isRelatedAidType()
public boolean isCategoryList()
public boolean isCategoryWeightList()
public boolean isRomajiName()
public boolean isKanjiName()
public boolean isEnglishName()
public boolean isOtherNames()
public boolean isShortNameList()
public boolean isSynonymList()
public boolean isEpisodes()
public boolean isNormalEpisodeCount()
public boolean isSpecialEpisodeCount()
public boolean isAirDate()
public boolean isEndDate()
public boolean isUrl()
public boolean isPicname()
public boolean isCategoryIdList()
public boolean isRating()
public boolean isVoteCount()
public boolean isTempRating()
public boolean isTempVoteCount()
public boolean isAverageReviewRating()
public boolean isReviewCount()
public boolean isAwardList()
public boolean is18PlusRestricted()
public boolean isAnimePlanetId()
public boolean isAnnId()
public boolean isAllCinemaId()
public boolean isAnimeNfoId()
public boolean isDateRecordUpdated()
public boolean isCharacterIdList()
public boolean isCreatorIdList()
public boolean isProducerIdList()
public boolean isProducerNameList()
public boolean isSpecialsCount()
public boolean isCreditsCount()
public boolean isOtherCount()
public boolean isTrailerCount()
public boolean isParodyCount()
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 |