facebook4j.internal.json
Class IdNameJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.IdNameJSONImpl
- All Implemented Interfaces:
- FacebookResponse, IdName, java.io.Serializable
- Direct Known Subclasses:
- DomainJSONImpl
class IdNameJSONImpl
- extends FacebookResponseImpl
- implements IdName, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
|
Field Summary |
protected java.lang.String |
id
|
protected java.lang.String |
name
|
private static long |
serialVersionUID
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
protected java.lang.String id
name
protected java.lang.String name
IdNameJSONImpl
IdNameJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
IdNameJSONImpl
IdNameJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface IdName
getName
public java.lang.String getName()
- Specified by:
getName in interface IdName
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object