|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.Notification
net.anidb.AnimeNotification
public class AnimeNotification
An anime notification.
Constructor Summary | |
---|---|
AnimeNotification(NotificationListEntry entry,
long relId,
long type,
int count,
long date,
java.lang.String relIdName,
java.util.List<java.lang.Long> fileIdList)
Creates an anime notification. |
Method Summary | |
---|---|
int |
getCount()
Returns the number of events pending for this subscription. |
long |
getDate()
Returns the time of the event. |
java.util.List<java.lang.Long> |
getFileIdList()
Returns the list of the affected file Ids. |
long |
getRelId()
Returns the id of the related anime. |
java.lang.String |
getRelIdName()
Returns the name of the related anime. |
long |
getType()
Returns the type of the notification. |
Methods inherited from class net.anidb.Notification |
---|
equals, getEntry, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnimeNotification(NotificationListEntry entry, long relId, long type, int count, long date, java.lang.String relIdName, java.util.List<java.lang.Long> fileIdList)
entry
- The notification list entry.relId
- The id of the related anime.type
- The type of the notification.count
- The number of events pending for this subscription.date
- The time of the event.relIdName
- The name of the related anime.fileIdList
- The list of the affected file Ids.
java.lang.IllegalArgumentException
- If the notification list entry is
null
.
java.lang.IllegalArgumentException
- If the name is null
.
java.lang.IllegalArgumentException
- If the list is null
.Method Detail |
---|
public long getRelId()
public long getType()
AnimeNotificationType
public int getCount()
public long getDate()
public java.lang.String getRelIdName()
public java.util.List<java.lang.Long> getFileIdList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |