com.google.code.facebookapi.schema
Class IdPair

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

public class IdPair
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 idPair complex type.

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

 <complexType name="idPair">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>long">
       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}long" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  java.lang.Long key
           
protected  long value
           
 
Constructor Summary
IdPair()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.Long getKey()
          Gets the value of the key property.
 long getValue()
          Gets the value of the value property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setKey(java.lang.Long value)
          Sets the value of the key property.
 void setValue(long value)
          Sets the value of the value 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

value

protected long value

key

protected java.lang.Long key
Constructor Detail

IdPair

public IdPair()
Method Detail

getValue

public long getValue()
Gets the value of the value property.


setValue

public void setValue(long value)
Sets the value of the value property.


getKey

public java.lang.Long getKey()
Gets the value of the key property.

Returns:
possible object is Long

setKey

public void setKey(java.lang.Long value)
Sets the value of the key property.

Parameters:
value - allowed object is Long

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.