com.google.code.facebookapi.schema
Class Notifications

java.lang.Object
  extended by com.google.code.facebookapi.schema.Notifications

public class Notifications
extends java.lang.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>
 


Nested Class Summary
static class Notifications.EventInvites
          Java class for anonymous complex type.
static class Notifications.FriendRequests
          Java class for anonymous complex type.
static class Notifications.GroupInvites
          Java class for anonymous complex type.
 
Field Summary
protected  Notifications.EventInvites eventInvites
           
protected  Notifications.FriendRequests friendRequests
           
protected  Notifications.GroupInvites groupInvites
           
protected  NotificationCount messages
           
protected  NotificationCount pokes
           
protected  NotificationCount shares
           
 
Constructor Summary
Notifications()
           
 
Method Summary
 Notifications.EventInvites getEventInvites()
          Gets the value of the eventInvites property.
 Notifications.FriendRequests getFriendRequests()
          Gets the value of the friendRequests property.
 Notifications.GroupInvites getGroupInvites()
          Gets the value of the groupInvites property.
 NotificationCount getMessages()
          Gets the value of the messages property.
 NotificationCount getPokes()
          Gets the value of the pokes property.
 NotificationCount getShares()
          Gets the value of the shares property.
 void setEventInvites(Notifications.EventInvites value)
          Sets the value of the eventInvites property.
 void setFriendRequests(Notifications.FriendRequests value)
          Sets the value of the friendRequests property.
 void setGroupInvites(Notifications.GroupInvites value)
          Sets the value of the groupInvites property.
 void setMessages(NotificationCount value)
          Sets the value of the messages property.
 void setPokes(NotificationCount value)
          Sets the value of the pokes property.
 void setShares(NotificationCount value)
          Sets the value of the shares property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messages

protected NotificationCount messages

pokes

protected NotificationCount pokes

shares

protected NotificationCount shares

friendRequests

protected Notifications.FriendRequests friendRequests

groupInvites

protected Notifications.GroupInvites groupInvites

eventInvites

protected Notifications.EventInvites eventInvites
Constructor Detail

Notifications

public Notifications()
Method Detail

getMessages

public NotificationCount getMessages()
Gets the value of the messages property.

Returns:
possible object is NotificationCount

setMessages

public void setMessages(NotificationCount value)
Sets the value of the messages property.

Parameters:
value - allowed object is NotificationCount

getPokes

public NotificationCount getPokes()
Gets the value of the pokes property.

Returns:
possible object is NotificationCount

setPokes

public void setPokes(NotificationCount value)
Sets the value of the pokes property.

Parameters:
value - allowed object is NotificationCount

getShares

public NotificationCount getShares()
Gets the value of the shares property.

Returns:
possible object is NotificationCount

setShares

public void setShares(NotificationCount value)
Sets the value of the shares property.

Parameters:
value - allowed object is NotificationCount

getFriendRequests

public Notifications.FriendRequests getFriendRequests()
Gets the value of the friendRequests property.

Returns:
possible object is Notifications.FriendRequests

setFriendRequests

public void setFriendRequests(Notifications.FriendRequests value)
Sets the value of the friendRequests property.

Parameters:
value - allowed object is Notifications.FriendRequests

getGroupInvites

public Notifications.GroupInvites getGroupInvites()
Gets the value of the groupInvites property.

Returns:
possible object is Notifications.GroupInvites

setGroupInvites

public void setGroupInvites(Notifications.GroupInvites value)
Sets the value of the groupInvites property.

Parameters:
value - allowed object is Notifications.GroupInvites

getEventInvites

public Notifications.EventInvites getEventInvites()
Gets the value of the eventInvites property.

Returns:
possible object is Notifications.EventInvites

setEventInvites

public void setEventInvites(Notifications.EventInvites value)
Sets the value of the eventInvites property.

Parameters:
value - allowed object is Notifications.EventInvites


Copyright © 2008. All Rights Reserved.