facebook4j.internal.json
Class QuestionJSONImpl.OptionJSONImpl

java.lang.Object
  extended by 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


Field Summary
private  java.util.Date createdTime
           
private  Category from
           
private  java.lang.String id
           
private  java.lang.String name
           
private static long serialVersionUID
           
private  java.lang.Integer voteCount
           
private  java.lang.Integer votes
           
 
Constructor Summary
QuestionJSONImpl.OptionJSONImpl(JSONObject json)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreatedTime()
           
 Category getFrom()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 java.lang.Integer getVoteCount()
           
 java.lang.Integer getVotes()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

QuestionJSONImpl.OptionJSONImpl

QuestionJSONImpl.OptionJSONImpl(JSONObject json)
                          throws FacebookException
Throws:
FacebookException
Method Detail

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