fi.foyt.foursquare.api.entities.notifications
类 Notification<T>

java.lang.Object
  继承者 fi.foyt.foursquare.api.entities.notifications.Notification<T>
类型参数:
T - type of notification entity

public class Notification<T>
extends Object

Class that represents single notification

作者:
Antti Leppä

构造方法摘要
Notification(NotificationType type, T item)
          Constructor
 
方法摘要
 T getItem()
          Returns notification entity
 NotificationType getType()
          Returns notification type
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Notification

public Notification(NotificationType type,
                    T item)
Constructor

参数:
type - type of notification
item - notification entity
方法详细信息

getType

public NotificationType getType()
Returns notification type

返回:
notification type

getItem

public T getItem()
Returns notification entity

返回:
notification entity


Copyright © 2013 Foyt. All Rights Reserved.