com.google.code.facebookapi.schema
Class Comment

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

public class Comment
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 comment complex type.

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

 <complexType name="comment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="xid" type="{http://api.facebook.com/1.0/}xid"/>
         <element name="fromid" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="id" type="{http://api.facebook.com/1.0/}comment_id"/>
         <element name="username" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="reply_xid" type="{http://api.facebook.com/1.0/}xid"/>
         <element name="post_id" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  long fromid
           
protected  int id
           
protected  java.lang.String postId
           
protected  java.lang.String replyXid
           
protected  java.lang.String text
           
protected  long time
           
protected  java.lang.String username
           
protected  java.lang.String xid
           
 
Constructor Summary
Comment()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 long getFromid()
          Gets the value of the fromid property.
 int getId()
          Gets the value of the id property.
 java.lang.String getPostId()
          Gets the value of the postId property.
 java.lang.String getReplyXid()
          Gets the value of the replyXid property.
 java.lang.String getText()
          Gets the value of the text property.
 long getTime()
          Gets the value of the time property.
 java.lang.String getUsername()
          Gets the value of the username property.
 java.lang.String getXid()
          Gets the value of the xid property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setFromid(long value)
          Sets the value of the fromid property.
 void setId(int value)
          Sets the value of the id property.
 void setPostId(java.lang.String value)
          Sets the value of the postId property.
 void setReplyXid(java.lang.String value)
          Sets the value of the replyXid property.
 void setText(java.lang.String value)
          Sets the value of the text property.
 void setTime(long value)
          Sets the value of the time property.
 void setUsername(java.lang.String value)
          Sets the value of the username property.
 void setXid(java.lang.String value)
          Sets the value of the xid 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

xid

protected java.lang.String xid

fromid

protected long fromid

time

protected long time

text

protected java.lang.String text

id

protected int id

username

protected java.lang.String username

replyXid

protected java.lang.String replyXid

postId

protected java.lang.String postId
Constructor Detail

Comment

public Comment()
Method Detail

getXid

public java.lang.String getXid()
Gets the value of the xid property.

Returns:
possible object is String

setXid

public void setXid(java.lang.String value)
Sets the value of the xid property.

Parameters:
value - allowed object is String

getFromid

public long getFromid()
Gets the value of the fromid property.


setFromid

public void setFromid(long value)
Sets the value of the fromid property.


getTime

public long getTime()
Gets the value of the time property.


setTime

public void setTime(long value)
Sets the value of the time property.


getText

public java.lang.String getText()
Gets the value of the text property.

Returns:
possible object is String

setText

public void setText(java.lang.String value)
Sets the value of the text property.

Parameters:
value - allowed object is String

getId

public int getId()
Gets the value of the id property.


setId

public void setId(int value)
Sets the value of the id property.


getUsername

public java.lang.String getUsername()
Gets the value of the username property.

Returns:
possible object is String

setUsername

public void setUsername(java.lang.String value)
Sets the value of the username property.

Parameters:
value - allowed object is String

getReplyXid

public java.lang.String getReplyXid()
Gets the value of the replyXid property.

Returns:
possible object is String

setReplyXid

public void setReplyXid(java.lang.String value)
Sets the value of the replyXid property.

Parameters:
value - allowed object is String

getPostId

public java.lang.String getPostId()
Gets the value of the postId property.

Returns:
possible object is String

setPostId

public void setPostId(java.lang.String value)
Sets the value of the postId property.

Parameters:
value - allowed object is String

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.