com.google.code.facebookapi.schema
Class Connection

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

public class Connection
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 connection complex type.

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

 <complexType name="connection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="source_id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="target_id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="is_following" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  boolean isFollowing
           
protected  long sourceId
           
protected  long targetId
           
 
Constructor Summary
Connection()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 long getSourceId()
          Gets the value of the sourceId property.
 long getTargetId()
          Gets the value of the targetId property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 boolean isIsFollowing()
          Gets the value of the isFollowing property.
 void setIsFollowing(boolean value)
          Sets the value of the isFollowing property.
 void setSourceId(long value)
          Sets the value of the sourceId property.
 void setTargetId(long value)
          Sets the value of the targetId 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

sourceId

protected long sourceId

targetId

protected long targetId

isFollowing

protected boolean isFollowing
Constructor Detail

Connection

public Connection()
Method Detail

getSourceId

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


setSourceId

public void setSourceId(long value)
Sets the value of the sourceId 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.


isIsFollowing

public boolean isIsFollowing()
Gets the value of the isFollowing property.


setIsFollowing

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