com.google.code.facebookapi.schema
Class Thread

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

public class Thread
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 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

threadId

protected long threadId

subject

protected java.lang.String subject

recipients

protected Thread.Recipients recipients

updatedTime

protected long updatedTime

parentMessageId

protected java.lang.String parentMessageId

parentThreadId

protected long parentThreadId

messageCount

protected int messageCount

snippet

protected java.lang.String snippet

snippetAuthor

protected long snippetAuthor

objectId

protected long objectId

unread

protected boolean unread

messages

protected Thread.Messages messages
Constructor Detail

Thread

public Thread()
Method Detail

getThreadId

public long getThreadId()
Gets the value of the threadId property.


setThreadId

public void setThreadId(long value)
Sets the value of the threadId property.


getSubject

public java.lang.String getSubject()
Gets the value of the subject property.

Returns:
possible object is String

setSubject

public void setSubject(java.lang.String value)
Sets the value of the subject property.

Parameters:
value - allowed object is String

getRecipients

public Thread.Recipients getRecipients()
Gets the value of the recipients property.

Returns:
possible object is Thread.Recipients

setRecipients

public void setRecipients(Thread.Recipients value)
Sets the value of the recipients property.

Parameters:
value - allowed object is Thread.Recipients

getUpdatedTime

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


setUpdatedTime

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


getParentMessageId

public java.lang.String getParentMessageId()
Gets the value of the parentMessageId property.

Returns:
possible object is String

setParentMessageId

public void setParentMessageId(java.lang.String value)
Sets the value of the parentMessageId property.

Parameters:
value - allowed object is String

getParentThreadId

public long getParentThreadId()
Gets the value of the parentThreadId property.


setParentThreadId

public void setParentThreadId(long value)
Sets the value of the parentThreadId property.


getMessageCount

public int getMessageCount()
Gets the value of the messageCount property.


setMessageCount

public void setMessageCount(int value)
Sets the value of the messageCount property.


getSnippet

public java.lang.String getSnippet()
Gets the value of the snippet property.

Returns:
possible object is String

setSnippet

public void setSnippet(java.lang.String value)
Sets the value of the snippet property.

Parameters:
value - allowed object is String

getSnippetAuthor

public long getSnippetAuthor()
Gets the value of the snippetAuthor property.


setSnippetAuthor

public void setSnippetAuthor(long value)
Sets the value of the snippetAuthor property.


getObjectId

public long getObjectId()
Gets the value of the objectId property.


setObjectId

public void setObjectId(long value)
Sets the value of the objectId property.


isUnread

public boolean isUnread()
Gets the value of the unread property.


setUnread

public void setUnread(boolean value)
Sets the value of the unread property.


getMessages

public Thread.Messages getMessages()
Gets the value of the messages property.

Returns:
possible object is Thread.Messages

setMessages

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

Parameters:
value - allowed object is Thread.Messages

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.