com.google.code.facebookapi.schema
Class Notifications

java.lang.Object
  extended by com.google.code.facebookapi.schema.Notifications
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Notifications
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

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
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 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.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 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.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.