com.google.code.facebookapi.schema
Class StreamPost

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

public class StreamPost
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 stream_post complex type.

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

 <complexType name="stream_post">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="post_id" type="{http://api.facebook.com/1.0/}post_id"/>
         <element name="viewer_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="view" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="source_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="app_id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="attribution" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="actor_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="target_id" type="{http://api.facebook.com/1.0/}uid"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="attachment" type="{http://api.facebook.com/1.0/}stream_attachment"/>
         <element name="app_data" type="{http://api.facebook.com/1.0/}stream_app_data"/>
         <element name="action_links">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="stream_action_link" type="{http://api.facebook.com/1.0/}stream_action_link" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="comments" type="{http://api.facebook.com/1.0/}stream_comments"/>
         <element name="likes" type="{http://api.facebook.com/1.0/}stream_likes"/>
         <element name="privacy" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="updated_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="created_time" type="{http://api.facebook.com/1.0/}time"/>
         <element name="tagged_ids">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence maxOccurs="unbounded" minOccurs="0">
                   <element name="id" type="{http://api.facebook.com/1.0/}id" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="is_hidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class StreamPost.ActionLinks
          Java class for anonymous complex type.
static class StreamPost.TaggedIds
          Java class for anonymous complex type.
 
Field Summary
protected  StreamPost.ActionLinks actionLinks
           
protected  long actorId
           
protected  StreamAppData appData
           
protected  long appId
           
protected  StreamAttachment attachment
           
protected  java.lang.String attribution
           
protected  StreamComments comments
           
protected  long createdTime
           
protected  boolean isHidden
           
protected  StreamLikes likes
           
protected  java.lang.String message
           
protected  java.lang.String postId
           
protected  java.lang.String privacy
           
protected  long sourceId
           
protected  StreamPost.TaggedIds taggedIds
           
protected  long targetId
           
protected  java.lang.String type
           
protected  long updatedTime
           
protected  java.lang.String view
           
protected  long viewerId
           
 
Constructor Summary
StreamPost()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 StreamPost.ActionLinks getActionLinks()
          Gets the value of the actionLinks property.
 long getActorId()
          Gets the value of the actorId property.
 StreamAppData getAppData()
          Gets the value of the appData property.
 long getAppId()
          Gets the value of the appId property.
 StreamAttachment getAttachment()
          Gets the value of the attachment property.
 java.lang.String getAttribution()
          Gets the value of the attribution property.
 StreamComments getComments()
          Gets the value of the comments property.
 long getCreatedTime()
          Gets the value of the createdTime property.
 StreamLikes getLikes()
          Gets the value of the likes property.
 java.lang.String getMessage()
          Gets the value of the message property.
 java.lang.String getPostId()
          Gets the value of the postId property.
 java.lang.String getPrivacy()
          Gets the value of the privacy property.
 long getSourceId()
          Gets the value of the sourceId property.
 StreamPost.TaggedIds getTaggedIds()
          Gets the value of the taggedIds property.
 long getTargetId()
          Gets the value of the targetId property.
 java.lang.String getType()
          Gets the value of the type property.
 long getUpdatedTime()
          Gets the value of the updatedTime property.
 java.lang.String getView()
          Gets the value of the view property.
 long getViewerId()
          Gets the value of the viewerId property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 boolean isIsHidden()
          Gets the value of the isHidden property.
 void setActionLinks(StreamPost.ActionLinks value)
          Sets the value of the actionLinks property.
 void setActorId(long value)
          Sets the value of the actorId property.
 void setAppData(StreamAppData value)
          Sets the value of the appData property.
 void setAppId(long value)
          Sets the value of the appId property.
 void setAttachment(StreamAttachment value)
          Sets the value of the attachment property.
 void setAttribution(java.lang.String value)
          Sets the value of the attribution property.
 void setComments(StreamComments value)
          Sets the value of the comments property.
 void setCreatedTime(long value)
          Sets the value of the createdTime property.
 void setIsHidden(boolean value)
          Sets the value of the isHidden property.
 void setLikes(StreamLikes value)
          Sets the value of the likes property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setPostId(java.lang.String value)
          Sets the value of the postId property.
 void setPrivacy(java.lang.String value)
          Sets the value of the privacy property.
 void setSourceId(long value)
          Sets the value of the sourceId property.
 void setTaggedIds(StreamPost.TaggedIds value)
          Sets the value of the taggedIds property.
 void setTargetId(long value)
          Sets the value of the targetId property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setUpdatedTime(long value)
          Sets the value of the updatedTime property.
 void setView(java.lang.String value)
          Sets the value of the view property.
 void setViewerId(long value)
          Sets the value of the viewerId 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

postId

protected java.lang.String postId

viewerId

protected long viewerId

view

protected java.lang.String view

sourceId

protected long sourceId

type

protected java.lang.String type

appId

protected long appId

attribution

protected java.lang.String attribution

actorId

protected long actorId

targetId

protected long targetId

message

protected java.lang.String message

attachment

protected StreamAttachment attachment

appData

protected StreamAppData appData

actionLinks

protected StreamPost.ActionLinks actionLinks

comments

protected StreamComments comments

likes

protected StreamLikes likes

privacy

protected java.lang.String privacy

updatedTime

protected long updatedTime

createdTime

protected long createdTime

taggedIds

protected StreamPost.TaggedIds taggedIds

isHidden

protected boolean isHidden
Constructor Detail

StreamPost

public StreamPost()
Method Detail

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

getViewerId

public long getViewerId()
Gets the value of the viewerId property.


setViewerId

public void setViewerId(long value)
Sets the value of the viewerId property.


getView

public java.lang.String getView()
Gets the value of the view property.

Returns:
possible object is String

setView

public void setView(java.lang.String value)
Sets the value of the view property.

Parameters:
value - allowed object is String

getSourceId

public long getSourceId()
Gets the value of the sourceId property.


setSourceId

public void setSourceId(long value)
Sets the value of the sourceId property.


getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getAppId

public long getAppId()
Gets the value of the appId property.


setAppId

public void setAppId(long value)
Sets the value of the appId property.


getAttribution

public java.lang.String getAttribution()
Gets the value of the attribution property.

Returns:
possible object is String

setAttribution

public void setAttribution(java.lang.String value)
Sets the value of the attribution property.

Parameters:
value - allowed object is String

getActorId

public long getActorId()
Gets the value of the actorId property.


setActorId

public void setActorId(long value)
Sets the value of the actorId property.


getTargetId

public long getTargetId()
Gets the value of the targetId property.


setTargetId

public void setTargetId(long value)
Sets the value of the targetId property.


getMessage

public java.lang.String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(java.lang.String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

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

getAppData

public StreamAppData getAppData()
Gets the value of the appData property.

Returns:
possible object is StreamAppData

setAppData

public void setAppData(StreamAppData value)
Sets the value of the appData property.

Parameters:
value - allowed object is StreamAppData

getActionLinks

public StreamPost.ActionLinks getActionLinks()
Gets the value of the actionLinks property.

Returns:
possible object is StreamPost.ActionLinks

setActionLinks

public void setActionLinks(StreamPost.ActionLinks value)
Sets the value of the actionLinks property.

Parameters:
value - allowed object is StreamPost.ActionLinks

getComments

public StreamComments getComments()
Gets the value of the comments property.

Returns:
possible object is StreamComments

setComments

public void setComments(StreamComments value)
Sets the value of the comments property.

Parameters:
value - allowed object is StreamComments

getLikes

public StreamLikes getLikes()
Gets the value of the likes property.

Returns:
possible object is StreamLikes

setLikes

public void setLikes(StreamLikes value)
Sets the value of the likes property.

Parameters:
value - allowed object is StreamLikes

getPrivacy

public java.lang.String getPrivacy()
Gets the value of the privacy property.

Returns:
possible object is String

setPrivacy

public void setPrivacy(java.lang.String value)
Sets the value of the privacy property.

Parameters:
value - allowed object is String

getUpdatedTime

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


setUpdatedTime

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


getCreatedTime

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


setCreatedTime

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


getTaggedIds

public StreamPost.TaggedIds getTaggedIds()
Gets the value of the taggedIds property.

Returns:
possible object is StreamPost.TaggedIds

setTaggedIds

public void setTaggedIds(StreamPost.TaggedIds value)
Sets the value of the taggedIds property.

Parameters:
value - allowed object is StreamPost.TaggedIds

isIsHidden

public boolean isIsHidden()
Gets the value of the isHidden property.


setIsHidden

public void setIsHidden(boolean value)
Sets the value of the isHidden property.


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 © 2010. All Rights Reserved.