com.google.code.facebookapi.schema
Class Message

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

public class Message
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 message complex type.

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

 <complexType name="message">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="message_id" type="{http://api.facebook.com/1.0/}message_id"/>
         <element name="author_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="body" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="created_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="attachment" type="{http://api.facebook.com/1.0/}stream_attachment"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  StreamAttachment attachment
           
protected  long authorId
           
protected  java.lang.String body
           
protected  long createdTime
           
protected  java.lang.String messageId
           
 
Constructor Summary
Message()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 StreamAttachment getAttachment()
          Gets the value of the attachment property.
 long getAuthorId()
          Gets the value of the authorId property.
 java.lang.String getBody()
          Gets the value of the body property.
 long getCreatedTime()
          Gets the value of the createdTime property.
 java.lang.String getMessageId()
          Gets the value of the messageId property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setAttachment(StreamAttachment value)
          Sets the value of the attachment property.
 void setAuthorId(long value)
          Sets the value of the authorId property.
 void setBody(java.lang.String value)
          Sets the value of the body property.
 void setCreatedTime(long value)
          Sets the value of the createdTime property.
 void setMessageId(java.lang.String value)
          Sets the value of the messageId 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

messageId

protected java.lang.String messageId

authorId

protected long authorId

body

protected java.lang.String body

createdTime

protected long createdTime

attachment

protected StreamAttachment attachment
Constructor Detail

Message

public Message()
Method Detail

getMessageId

public java.lang.String getMessageId()
Gets the value of the messageId property.

Returns:
possible object is String

setMessageId

public void setMessageId(java.lang.String value)
Sets the value of the messageId property.

Parameters:
value - allowed object is String

getAuthorId

public long getAuthorId()
Gets the value of the authorId property.


setAuthorId

public void setAuthorId(long value)
Sets the value of the authorId property.


getBody

public java.lang.String getBody()
Gets the value of the body property.

Returns:
possible object is String

setBody

public void setBody(java.lang.String value)
Sets the value of the body property.

Parameters:
value - allowed object is String

getCreatedTime

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


setCreatedTime

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


getAttachment

public StreamAttachment getAttachment()
Gets the value of the attachment property.

Returns:
possible object is StreamAttachment

setAttachment

public void setAttachment(StreamAttachment value)
Sets the value of the attachment property.

Parameters:
value - allowed object is StreamAttachment

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.