|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.schema.Notification
public class Notification
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 |
|---|
protected long notificationId
protected long senderId
protected long recipientId
protected long createdTime
protected long updatedTime
protected java.lang.String titleHtml
protected java.lang.String titleText
protected java.lang.String bodyHtml
protected java.lang.String bodyText
protected java.lang.String href
protected long appId
protected int isUnread
protected int isHidden
| Constructor Detail |
|---|
public Notification()
| Method Detail |
|---|
public long getNotificationId()
public void setNotificationId(long value)
public long getSenderId()
public void setSenderId(long value)
public long getRecipientId()
public void setRecipientId(long value)
public long getCreatedTime()
public void setCreatedTime(long value)
public long getUpdatedTime()
public void setUpdatedTime(long value)
public java.lang.String getTitleHtml()
Stringpublic void setTitleHtml(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTitleText()
Stringpublic void setTitleText(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBodyHtml()
Stringpublic void setBodyHtml(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBodyText()
Stringpublic void setBodyText(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic long getAppId()
public void setAppId(long value)
public int getIsUnread()
public void setIsUnread(int value)
public int getIsHidden()
public void setIsHidden(int value)
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
toString in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.String toString()
toString in class java.lang.Object
public void equals(java.lang.Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||