|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.code.facebookapi.schema.Thread
public class Thread
Java class for thread complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="thread">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="thread_id" type="{http://api.facebook.com/1.0/}thread_id"/>
<element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="recipients">
<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="updated_time" type="{http://api.facebook.com/1.0/}time"/>
<element name="parent_message_id" type="{http://api.facebook.com/1.0/}message_id"/>
<element name="parent_thread_id" type="{http://api.facebook.com/1.0/}thread_id"/>
<element name="message_count" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="snippet" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="snippet_author" type="{http://api.facebook.com/1.0/}uid"/>
<element name="object_id" type="{http://api.facebook.com/1.0/}id"/>
<element name="unread" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="messages">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="message" type="{http://api.facebook.com/1.0/}message" 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 |
Thread.Messages
Java class for anonymous complex type. |
static class |
Thread.Recipients
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected int |
messageCount
|
protected Thread.Messages |
messages
|
protected long |
objectId
|
protected java.lang.String |
parentMessageId
|
protected long |
parentThreadId
|
protected Thread.Recipients |
recipients
|
protected java.lang.String |
snippet
|
protected long |
snippetAuthor
|
protected java.lang.String |
subject
|
protected long |
threadId
|
protected boolean |
unread
|
protected long |
updatedTime
|
| Constructor Summary | |
|---|---|
Thread()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
void |
equals(java.lang.Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
|
int |
getMessageCount()
Gets the value of the messageCount property. |
Thread.Messages |
getMessages()
Gets the value of the messages property. |
long |
getObjectId()
Gets the value of the objectId property. |
java.lang.String |
getParentMessageId()
Gets the value of the parentMessageId property. |
long |
getParentThreadId()
Gets the value of the parentThreadId property. |
Thread.Recipients |
getRecipients()
Gets the value of the recipients property. |
java.lang.String |
getSnippet()
Gets the value of the snippet property. |
long |
getSnippetAuthor()
Gets the value of the snippetAuthor property. |
java.lang.String |
getSubject()
Gets the value of the subject property. |
long |
getThreadId()
Gets the value of the threadId property. |
long |
getUpdatedTime()
Gets the value of the updatedTime property. |
int |
hashCode()
|
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
|
boolean |
isUnread()
Gets the value of the unread property. |
void |
setMessageCount(int value)
Sets the value of the messageCount property. |
void |
setMessages(Thread.Messages value)
Sets the value of the messages property. |
void |
setObjectId(long value)
Sets the value of the objectId property. |
void |
setParentMessageId(java.lang.String value)
Sets the value of the parentMessageId property. |
void |
setParentThreadId(long value)
Sets the value of the parentThreadId property. |
void |
setRecipients(Thread.Recipients value)
Sets the value of the recipients property. |
void |
setSnippet(java.lang.String value)
Sets the value of the snippet property. |
void |
setSnippetAuthor(long value)
Sets the value of the snippetAuthor property. |
void |
setSubject(java.lang.String value)
Sets the value of the subject property. |
void |
setThreadId(long value)
Sets the value of the threadId property. |
void |
setUnread(boolean value)
Sets the value of the unread 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 threadId
protected java.lang.String subject
protected Thread.Recipients recipients
protected long updatedTime
protected java.lang.String parentMessageId
protected long parentThreadId
protected int messageCount
protected java.lang.String snippet
protected long snippetAuthor
protected long objectId
protected boolean unread
protected Thread.Messages messages
| Constructor Detail |
|---|
public Thread()
| Method Detail |
|---|
public long getThreadId()
public void setThreadId(long value)
public java.lang.String getSubject()
Stringpublic void setSubject(java.lang.String value)
value - allowed object is
Stringpublic Thread.Recipients getRecipients()
Thread.Recipientspublic void setRecipients(Thread.Recipients value)
value - allowed object is
Thread.Recipientspublic long getUpdatedTime()
public void setUpdatedTime(long value)
public java.lang.String getParentMessageId()
Stringpublic void setParentMessageId(java.lang.String value)
value - allowed object is
Stringpublic long getParentThreadId()
public void setParentThreadId(long value)
public int getMessageCount()
public void setMessageCount(int value)
public java.lang.String getSnippet()
Stringpublic void setSnippet(java.lang.String value)
value - allowed object is
Stringpublic long getSnippetAuthor()
public void setSnippetAuthor(long value)
public long getObjectId()
public void setObjectId(long value)
public boolean isUnread()
public void setUnread(boolean value)
public Thread.Messages getMessages()
Thread.Messagespublic void setMessages(Thread.Messages value)
value - allowed object is
Thread.Messagespublic 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 | ||||||||