FileDocCategorySizeDatePackage
Notifications.javaAPI DocGoogle Facebook API v1.415347Tue Oct 23 20:16:10 BST 2007com.facebook.api.schema

Notifications

public class Notifications extends Object

Java class for notifications complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="notifications">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="messages" type="{http://api.facebook.com/1.0/}notification_count"/>
<element name="pokes" type="{http://api.facebook.com/1.0/}notification_count"/>
<element name="shares" type="{http://api.facebook.com/1.0/}notification_count"/>
<element name="friend_requests">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="uid" type="{http://api.facebook.com/1.0/}uid" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="group_invites">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="gid" type="{http://api.facebook.com/1.0/}gid" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="event_invites">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="eid" type="{http://api.facebook.com/1.0/}eid" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>

Fields Summary
protected NotificationCount
messages
protected NotificationCount
pokes
protected NotificationCount
shares
protected FriendRequests
friendRequests
protected GroupInvites
groupInvites
protected EventInvites
eventInvites
Constructors Summary
Methods Summary
public synchronized com.facebook.api.schema.Notifications$EventInvitesgetEventInvites()
Gets the value of the eventInvites property.

return
possible object is {@link Notifications.EventInvites }

        return eventInvites;
    
public synchronized com.facebook.api.schema.Notifications$FriendRequestsgetFriendRequests()
Gets the value of the friendRequests property.

return
possible object is {@link Notifications.FriendRequests }

        return friendRequests;
    
public synchronized com.facebook.api.schema.Notifications$GroupInvitesgetGroupInvites()
Gets the value of the groupInvites property.

return
possible object is {@link Notifications.GroupInvites }

        return groupInvites;
    
public synchronized com.facebook.api.schema.NotificationCountgetMessages()
Gets the value of the messages property.

return
possible object is {@link NotificationCount }

        return messages;
    
public synchronized com.facebook.api.schema.NotificationCountgetPokes()
Gets the value of the pokes property.

return
possible object is {@link NotificationCount }

        return pokes;
    
public synchronized com.facebook.api.schema.NotificationCountgetShares()
Gets the value of the shares property.

return
possible object is {@link NotificationCount }

        return shares;
    
public synchronized voidsetEventInvites(com.facebook.api.schema.Notifications$EventInvites value)
Sets the value of the eventInvites property.

param
value allowed object is {@link Notifications.EventInvites }

        this.eventInvites = value;
    
public synchronized voidsetFriendRequests(com.facebook.api.schema.Notifications$FriendRequests value)
Sets the value of the friendRequests property.

param
value allowed object is {@link Notifications.FriendRequests }

        this.friendRequests = value;
    
public synchronized voidsetGroupInvites(com.facebook.api.schema.Notifications$GroupInvites value)
Sets the value of the groupInvites property.

param
value allowed object is {@link Notifications.GroupInvites }

        this.groupInvites = value;
    
public synchronized voidsetMessages(com.facebook.api.schema.NotificationCount value)
Sets the value of the messages property.

param
value allowed object is {@link NotificationCount }

        this.messages = value;
    
public synchronized voidsetPokes(com.facebook.api.schema.NotificationCount value)
Sets the value of the pokes property.

param
value allowed object is {@link NotificationCount }

        this.pokes = value;
    
public synchronized voidsetShares(com.facebook.api.schema.NotificationCount value)
Sets the value of the shares property.

param
value allowed object is {@link NotificationCount }

        this.shares = value;