facebook4j.internal.json
Class QuestionJSONImpl.OptionJSONImpl
java.lang.Object
facebook4j.internal.json.QuestionJSONImpl.OptionJSONImpl
- All Implemented Interfaces:
- Question.Option, java.io.Serializable
- Enclosing class:
- QuestionJSONImpl
static class QuestionJSONImpl.OptionJSONImpl
- extends java.lang.Object
- implements Question.Option, java.io.Serializable
| 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
private java.lang.String id
from
private Category from
name
private java.lang.String name
voteCount
private java.lang.Integer voteCount
createdTime
private java.util.Date createdTime
votes
private java.lang.Integer votes
QuestionJSONImpl.OptionJSONImpl
QuestionJSONImpl.OptionJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Question.Option
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Question.Option
getName
public java.lang.String getName()
- Specified by:
getName in interface Question.Option
getVoteCount
public java.lang.Integer getVoteCount()
- Specified by:
getVoteCount in interface Question.Option
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Question.Option
getVotes
public java.lang.Integer getVotes()
- Specified by:
getVotes in interface Question.Option
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