com.google.code.facebookapi.schema
Class Notification

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

public class Notification
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 notification complex type.

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

 <complexType name="notification">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="notification_id" type="{http://api.facebook.com/1.0/}id"/>
         <element name="sender_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="recipient_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="created_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="updated_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="title_html" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="title_text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="body_html" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="body_text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="href" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="app_id" type="{http://api.facebook.com/1.0/}id"/>
         <element name="is_unread" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="is_hidden" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  long appId
           
protected  java.lang.String bodyHtml
           
protected  java.lang.String bodyText
           
protected  long createdTime
           
protected  java.lang.String href
           
protected  int isHidden
           
protected  int isUnread
           
protected  long notificationId
           
protected  long recipientId
           
protected  long senderId
           
protected  java.lang.String titleHtml
           
protected  java.lang.String titleText
           
protected  long updatedTime
           
 
Constructor Summary
Notification()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 long getAppId()
          Gets the value of the appId property.
 java.lang.String getBodyHtml()
          Gets the value of the bodyHtml property.
 java.lang.String getBodyText()
          Gets the value of the bodyText property.
 long getCreatedTime()
          Gets the value of the createdTime property.
 java.lang.String getHref()
          Gets the value of the href property.
 int getIsHidden()
          Gets the value of the isHidden property.
 int getIsUnread()
          Gets the value of the isUnread property.
 long getNotificationId()
          Gets the value of the notificationId property.
 long getRecipientId()
          Gets the value of the recipientId property.
 long getSenderId()
          Gets the value of the senderId property.
 java.lang.String getTitleHtml()
          Gets the value of the titleHtml property.
 java.lang.String getTitleText()
          Gets the value of the titleText property.
 long getUpdatedTime()
          Gets the value of the updatedTime property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setAppId(long value)
          Sets the value of the appId property.
 void setBodyHtml(java.lang.String value)
          Sets the value of the bodyHtml property.
 void setBodyText(java.lang.String value)
          Sets the value of the bodyText property.
 void setCreatedTime(long value)
          Sets the value of the createdTime property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setIsHidden(int value)
          Sets the value of the isHidden property.
 void setIsUnread(int value)
          Sets the value of the isUnread property.
 void setNotificationId(long value)
          Sets the value of the notificationId property.
 void setRecipientId(long value)
          Sets the value of the recipientId property.
 void setSenderId(long value)
          Sets the value of the senderId property.
 void setTitleHtml(java.lang.String value)
          Sets the value of the titleHtml property.
 void setTitleText(java.lang.String value)
          Sets the value of the titleText property.
 void setUpdatedTime(long value)
          Sets the value of the updatedTime 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

notificationId

protected long notificationId

senderId

protected long senderId

recipientId

protected long recipientId

createdTime

protected long createdTime

updatedTime

protected long updatedTime

titleHtml

protected java.lang.String titleHtml

titleText

protected java.lang.String titleText

bodyHtml

protected java.lang.String bodyHtml

bodyText

protected java.lang.String bodyText

href

protected java.lang.String href

appId

protected long appId

isUnread

protected int isUnread

isHidden

protected int isHidden
Constructor Detail

Notification

public Notification()
Method Detail

getNotificationId

public long getNotificationId()
Gets the value of the notificationId property.


setNotificationId

public void setNotificationId(long value)
Sets the value of the notificationId property.


getSenderId

public long getSenderId()
Gets the value of the senderId property.


setSenderId

public void setSenderId(long value)
Sets the value of the senderId property.


getRecipientId

public long getRecipientId()
Gets the value of the recipientId property.


setRecipientId

public void setRecipientId(long value)
Sets the value of the recipientId property.


getCreatedTime

public long getCreatedTime()
Gets the value of the createdTime property.


setCreatedTime

public void setCreatedTime(long value)
Sets the value of the createdTime property.


getUpdatedTime

public long getUpdatedTime()
Gets the value of the updatedTime property.


setUpdatedTime

public void setUpdatedTime(long value)
Sets the value of the updatedTime property.


getTitleHtml

public java.lang.String getTitleHtml()
Gets the value of the titleHtml property.

Returns:
possible object is String

setTitleHtml

public void setTitleHtml(java.lang.String value)
Sets the value of the titleHtml property.

Parameters:
value - allowed object is String

getTitleText

public java.lang.String getTitleText()
Gets the value of the titleText property.

Returns:
possible object is String

setTitleText

public void setTitleText(java.lang.String value)
Sets the value of the titleText property.

Parameters:
value - allowed object is String

getBodyHtml

public java.lang.String getBodyHtml()
Gets the value of the bodyHtml property.

Returns:
possible object is String

setBodyHtml

public void setBodyHtml(java.lang.String value)
Sets the value of the bodyHtml property.

Parameters:
value - allowed object is String

getBodyText

public java.lang.String getBodyText()
Gets the value of the bodyText property.

Returns:
possible object is String

setBodyText

public void setBodyText(java.lang.String value)
Sets the value of the bodyText property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getAppId

public long getAppId()
Gets the value of the appId property.


setAppId

public void setAppId(long value)
Sets the value of the appId property.


getIsUnread

public int getIsUnread()
Gets the value of the isUnread property.


setIsUnread

public void setIsUnread(int value)
Sets the value of the isUnread property.


getIsHidden

public int getIsHidden()
Gets the value of the isHidden property.


setIsHidden

public void setIsHidden(int value)
Sets the value of the isHidden property.


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 © 2009. All Rights Reserved.