com.google.code.facebookapi.schema
Class StreamLikes

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

public class StreamLikes
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_likes complex type.

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

 <complexType name="stream_likes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="href" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="count" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="sample">
           <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="friends">
           <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="user_likes" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class StreamLikes.Friends
          Java class for anonymous complex type.
static class StreamLikes.Sample
          Java class for anonymous complex type.
 
Field Summary
protected  int count
           
protected  StreamLikes.Friends friends
           
protected  java.lang.String href
           
protected  StreamLikes.Sample sample
           
protected  boolean userLikes
           
 
Constructor Summary
StreamLikes()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 int getCount()
          Gets the value of the count property.
 StreamLikes.Friends getFriends()
          Gets the value of the friends property.
 java.lang.String getHref()
          Gets the value of the href property.
 StreamLikes.Sample getSample()
          Gets the value of the sample property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 boolean isUserLikes()
          Gets the value of the userLikes property.
 void setCount(int value)
          Sets the value of the count property.
 void setFriends(StreamLikes.Friends value)
          Sets the value of the friends property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setSample(StreamLikes.Sample value)
          Sets the value of the sample property.
 void setUserLikes(boolean value)
          Sets the value of the userLikes 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

href

protected java.lang.String href

count

protected int count

sample

protected StreamLikes.Sample sample

friends

protected StreamLikes.Friends friends

userLikes

protected boolean userLikes
Constructor Detail

StreamLikes

public StreamLikes()
Method Detail

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getCount

public int getCount()
Gets the value of the count property.


setCount

public void setCount(int value)
Sets the value of the count property.


getSample

public StreamLikes.Sample getSample()
Gets the value of the sample property.

Returns:
possible object is StreamLikes.Sample

setSample

public void setSample(StreamLikes.Sample value)
Sets the value of the sample property.

Parameters:
value - allowed object is StreamLikes.Sample

getFriends

public StreamLikes.Friends getFriends()
Gets the value of the friends property.

Returns:
possible object is StreamLikes.Friends

setFriends

public void setFriends(StreamLikes.Friends value)
Sets the value of the friends property.

Parameters:
value - allowed object is StreamLikes.Friends

isUserLikes

public boolean isUserLikes()
Gets the value of the userLikes property.


setUserLikes

public void setUserLikes(boolean value)
Sets the value of the userLikes 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.