com.sola.instagram.model
Class Location

java.lang.Object
  extended by com.sola.instagram.model.InstagramModel
      extended by com.sola.instagram.model.Location

public class Location
extends InstagramModel


Constructor Summary
Location(JSONObject obj, java.lang.String accessToken)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks if two location objects are equal
 int getId()
           
 java.lang.Double getLatitude()
           
 java.lang.Double getLongitude()
           
 java.lang.String getName()
           
 
Methods inherited from class com.sola.instagram.model.InstagramModel
toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(JSONObject obj,
                java.lang.String accessToken)
Method Detail

getId

public int getId()

getName

public java.lang.String getName()

getLongitude

public java.lang.Double getLongitude()

getLatitude

public java.lang.Double getLatitude()

equals

public boolean equals(java.lang.Object o)
Checks if two location objects are equal

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to be compared
Returns:
True of the two objects are equal, false otherwise