com.google.code.facebookapi.schema
Class IdMap

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

public class IdMap
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 id_map complex type.

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

 <complexType name="id_map">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="old_id" type="{http://api.facebook.com/1.0/}old_id"/>
         <element name="new_id" type="{http://api.facebook.com/1.0/}id"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  long newId
           
protected  java.lang.String oldId
           
 
Constructor Summary
IdMap()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 long getNewId()
          Gets the value of the newId property.
 java.lang.String getOldId()
          Gets the value of the oldId property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setNewId(long value)
          Sets the value of the newId property.
 void setOldId(java.lang.String value)
          Sets the value of the oldId 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

oldId

protected java.lang.String oldId

newId

protected long newId
Constructor Detail

IdMap

public IdMap()
Method Detail

getOldId

public java.lang.String getOldId()
Gets the value of the oldId property.

Returns:
possible object is String

setOldId

public void setOldId(java.lang.String value)
Sets the value of the oldId property.

Parameters:
value - allowed object is String

getNewId

public long getNewId()
Gets the value of the newId property.


setNewId

public void setNewId(long value)
Sets the value of the newId 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 © 2009. All Rights Reserved.